| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2</artifactId> |
| <version>2.0.1-SNAPSHOT</version> |
| <relativePath>../../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>axis2-swagger-server</artifactId> |
| <name>Apache Axis2 - Swagger REST Server Sample</name> |
| <packaging>war</packaging> |
| <description> |
| Financial data services server using Axis2 REST services with OpenAPI/Swagger documentation. |
| Demonstrates Axis2 REST capabilities with comprehensive OpenAPI integration. |
| </description> |
| |
| <properties> |
| <maven.compiler.source>17</maven.compiler.source> |
| <maven.compiler.target>17</maven.compiler.target> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <moshi.version>1.15.0</moshi.version> |
| <swagger.version>2.2.18</swagger.version> |
| </properties> |
| |
| <dependencies> |
| <!-- Axis2 Core Dependencies --> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-kernel</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-transport-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-json</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- JSON Processing --> |
| <dependency> |
| <groupId>com.squareup.moshi</groupId> |
| <artifactId>moshi</artifactId> |
| <version>${moshi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.moshi</groupId> |
| <artifactId>moshi-adapters</artifactId> |
| <version>${moshi.version}</version> |
| </dependency> |
| |
| <!-- OpenAPI/Swagger Support --> |
| <dependency> |
| <groupId>io.swagger.core.v3</groupId> |
| <artifactId>swagger-core</artifactId> |
| <version>${swagger.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.swagger.core.v3</groupId> |
| <artifactId>swagger-annotations</artifactId> |
| <version>${swagger.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.swagger.core.v3</groupId> |
| <artifactId>swagger-models</artifactId> |
| <version>${swagger.version}</version> |
| </dependency> |
| |
| <!-- Servlet API --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>4.0.1</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.36</version> |
| </dependency> |
| |
| <!-- Testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.14.1</version> |
| <configuration> |
| <source>17</source> |
| <target>17</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.3.2</version> |
| <configuration> |
| <webXml>src/main/webapp/WEB-INF/web.xml</webXml> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |