| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed 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.baremaps</groupId> |
| <artifactId>baremaps</artifactId> |
| <version>0.7.2-SNAPSHOT</version> |
| </parent> |
| <artifactId>baremaps-ogcapi</artifactId> |
| <packaging>jar</packaging> |
| <name>baremaps-ogcapi</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.servicetalk</groupId> |
| <artifactId>servicetalk-data-jackson</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.servicetalk</groupId> |
| <artifactId>servicetalk-data-jackson-jersey</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.servicetalk</groupId> |
| <artifactId>servicetalk-http-netty</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.servicetalk</groupId> |
| <artifactId>servicetalk-http-router-jersey</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.servicetalk</groupId> |
| <artifactId>servicetalk-transport-netty</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!-- This dependency is the recommended artifact when using the openapi-generator. |
| See: https://openapi-generator.tech/docs/plugins/#dependencies--> |
| <dependency> |
| <groupId>io.swagger.parser.v3</groupId> |
| <artifactId>swagger-parser</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.baremaps</groupId> |
| <artifactId>baremaps-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-jackson</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-multipart</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-sse</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework</groupId> |
| <artifactId>jersey-test-framework-util</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| <artifactId>jersey-test-framework-provider-inmemory</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.vintage</groupId> |
| <artifactId>junit-vintage-engine</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <filtering>true</filtering> |
| <directory>src/main/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${version.plugin.maven-surefire-plugin}</version> |
| <configuration> |
| <excludes>**/ogcapi/*Test.java</excludes> |
| <excludedGroups>integration</excludedGroups> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.surefire</groupId> |
| <artifactId>surefire-junit4</artifactId> |
| <version>${version.plugin.maven-surefire-plugin}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.openapitools</groupId> |
| <artifactId>openapi-generator-maven-plugin</artifactId> |
| <version>${version.plugin.openapi-generator-maven-plugin}</version> |
| <executions> |
| <execution> |
| <id>ogcapi</id> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| <configuration> |
| <inputSpec>${project.basedir}/src/main/resources/ogcapi.yaml</inputSpec> |
| <generatorName>jaxrs-spec</generatorName> |
| <configOptions> |
| <apiPackage>org.apache.baremaps.ogcapi.api</apiPackage> |
| <interfaceOnly>true</interfaceOnly> |
| <modelPackage>org.apache.baremaps.ogcapi.model</modelPackage> |
| <returnResponse>true</returnResponse> |
| <sortModelPropertiesByRequiredFlag>false</sortModelPropertiesByRequiredFlag> |
| <sortParamsByRequiredFlag>false</sortParamsByRequiredFlag> |
| <disallowAdditionalPropertiesIfNotPresent>false</disallowAdditionalPropertiesIfNotPresent> |
| <sourceFolder>src/gen/java/main</sourceFolder> |
| <!-- defaults to true, which requires org.openapitools.jackson.nullable --> |
| <openApiNullable>false</openApiNullable> |
| </configOptions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |