| <?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 https://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.3-SNAPSHOT</version> | |
| <relativePath>../../../pom.xml</relativePath> | |
| </parent> | |
| <artifactId>axis2-swagger-server</artifactId> | |
| <packaging>war</packaging> | |
| <name>Apache Axis2 - Swagger REST Server Sample</name> | |
| <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> | |
| </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> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.swagger.core.v3</groupId> | |
| <artifactId>swagger-annotations</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.swagger.core.v3</groupId> | |
| <artifactId>swagger-models</artifactId> | |
| </dependency> | |
| <!-- Jakarta EE APIs (provided by container) --> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.ws.rs</groupId> | |
| <artifactId>jakarta.ws.rs-api</artifactId> | |
| <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> | |
| <!-- JAX-RS runtime for unit tests (container provides this in production) --> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.core</groupId> | |
| <artifactId>jersey-server</artifactId> | |
| <version>3.1.9</version> | |
| <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> | |
| <failOnMissingWebXml>false</failOnMissingWebXml> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |