| <?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.2-SNAPSHOT</version> | |
| <relativePath>../../pom.xml</relativePath> | |
| </parent> | |
| <artifactId>axis2-openapi</artifactId> | |
| <packaging>jar</packaging> | |
| <name>Apache Axis2 - OpenAPI Integration Module</name> | |
| <description> | |
| OpenAPI/Swagger integration module for Apache Axis2, providing automatic API documentation | |
| generation and Swagger UI support for REST services. | |
| </description> | |
| <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> | |
| <!-- OpenAPI/Swagger Support --> | |
| <dependency> | |
| <groupId>io.swagger.core.v3</groupId> | |
| <artifactId>swagger-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.swagger.core.v3</groupId> | |
| <artifactId>swagger-models</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.swagger.core.v3</groupId> | |
| <artifactId>swagger-annotations</artifactId> | |
| </dependency> | |
| <!-- No direct Jackson dependency: serialization delegates to swagger-core's | |
| Json/Yaml utilities (io.swagger.v3.core.util), which manage their own | |
| Jackson mapper internally. Jackson arrives transitively from swagger-core. --> | |
| <!-- Moshi for JSON serialization (preferred over Jackson where possible) --> | |
| <dependency> | |
| <groupId>com.squareup.moshi</groupId> | |
| <artifactId>moshi</artifactId> | |
| <version>1.15.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.squareup.moshi</groupId> | |
| <artifactId>moshi-adapters</artifactId> | |
| <version>1.15.2</version> | |
| </dependency> | |
| <!-- Axis2 JSON module for enhanced moshih2 performance metrics --> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-json</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <!-- Jakarta Servlet API --> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <!-- Logging (inherited from parent) --> | |
| <dependency> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </dependency> | |
| <!-- Testing --> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <configuration> | |
| <archive> | |
| <manifestEntries> | |
| <!-- AXIS2-6040: Stable module name for Java 9+ JPMS --> | |
| <Automatic-Module-Name>org.apache.axis2.openapi</Automatic-Module-Name> | |
| </manifestEntries> | |
| </archive> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |