| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| |
| <parent> |
| <artifactId>baremaps</artifactId> |
| <groupId>org.apache.baremaps</groupId> |
| <version>0.7.1-SNAPSHOT</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>baremaps-http</artifactId> |
| <name>baremaps-http</name> |
| <packaging>jar</packaging> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>${version.plugin.maven-surefire-plugin}</version> |
| <configuration> |
| <excludes>**/*IntegrationTest.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-openapi.yaml</inputSpec> |
| <generatorName>jaxrs-spec</generatorName> |
| <configOptions> |
| <apiPackage>org.apache.baremaps.api</apiPackage> |
| <interfaceOnly>true</interfaceOnly> |
| <modelPackage>org.apache.baremaps.model</modelPackage> |
| <returnResponse>true</returnResponse> |
| <sortModelPropertiesByRequiredFlag>false</sortModelPropertiesByRequiredFlag> |
| <sortParamsByRequiredFlag>false</sortParamsByRequiredFlag> |
| <disallowAdditionalPropertiesIfNotPresent>false</disallowAdditionalPropertiesIfNotPresent> |
| <sourceFolder>src/gen/java/main</sourceFolder> |
| </configOptions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- database --> |
| <dependency> |
| <artifactId>postgresql</artifactId> |
| <groupId>org.postgresql</groupId> |
| </dependency> |
| <dependency> |
| <groupId>org.jdbi</groupId> |
| <artifactId>jdbi3-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jdbi</groupId> |
| <artifactId>jdbi3-postgres</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jdbi</groupId> |
| <artifactId>jdbi3-jackson2</artifactId> |
| </dependency> |
| |
| <!-- jersey --> |
| <dependency> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| </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.jaxb</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| </dependency> |
| |
| <!-- openapi --> |
| <dependency> |
| <groupId>io.swagger.parser.v3</groupId> |
| <artifactId>swagger-parser</artifactId> |
| </dependency> |
| |
| <!-- graalvm --> |
| <dependency> |
| <groupId>org.graalvm.js</groupId> |
| <artifactId>js</artifactId> |
| <version>${version.lib.graalvm}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.graalvm.js</groupId> |
| <artifactId>js-scriptengine</artifactId> |
| <version>${version.lib.graalvm}</version> |
| </dependency> |
| |
| <!-- logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-jackson</artifactId> |
| <scope>test</scope> |
| </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.apache.baremaps</groupId> |
| <artifactId>baremaps-testing</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.baremaps</groupId> |
| <artifactId>baremaps-database</artifactId> |
| </dependency> |
| </dependencies> |
| |
| </project> |