github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/java/libraries/microprofile/pom.mustache (about) 1 <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/maven-v4_0_0.xsd"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>{{groupId}}</groupId> 4 <artifactId>{{artifactId}}</artifactId> 5 <packaging>jar</packaging> 6 <name>{{artifactId}}</name> 7 {{#appDescription}} 8 <description>{{appDescription}}</description> 9 {{/appDescription}} 10 <version>{{artifactVersion}}</version> 11 <build> 12 <sourceDirectory>src/main/java</sourceDirectory> 13 <plugins> 14 <plugin> 15 <artifactId>maven-failsafe-plugin</artifactId> 16 <version>2.6</version> 17 <executions> 18 <execution> 19 <goals> 20 <goal>integration-test</goal> 21 <goal>verify</goal> 22 </goals> 23 </execution> 24 </executions> 25 </plugin> 26 <plugin> 27 <groupId>org.codehaus.mojo</groupId> 28 <artifactId>build-helper-maven-plugin</artifactId> 29 <version>1.9.1</version> 30 <executions> 31 <execution> 32 <id>add-source</id> 33 <phase>generate-sources</phase> 34 <goals> 35 <goal>add-source</goal> 36 </goals> 37 <configuration> 38 <sources> 39 <source>src/gen/java</source> 40 </sources> 41 </configuration> 42 </execution> 43 </executions> 44 </plugin> 45 </plugins> 46 </build> 47 <dependencies> 48 <dependency> 49 <groupId>junit</groupId> 50 <artifactId>junit</artifactId> 51 <version>${junit-version}</version> 52 <scope>test</scope> 53 </dependency> 54 {{#useBeanValidation}} 55 <!-- Bean Validation API support --> 56 <dependency> 57 <groupId>javax.validation</groupId> 58 <artifactId>validation-api</artifactId> 59 <version>${beanvalidation-version}</version> 60 <scope>provided</scope> 61 </dependency> 62 {{/useBeanValidation}} 63 <!-- Eclipse MicroProfile Rest Client --> 64 <dependency> 65 <groupId>org.eclipse.microprofile.rest.client</groupId> 66 <artifactId>microprofile-rest-client-api</artifactId> 67 <version>1.2.1</version> 68 </dependency> 69 70 <!-- JAX-RS --> 71 <dependency> 72 <groupId>javax.ws.rs</groupId> 73 <artifactId>javax.ws.rs-api</artifactId> 74 <version>2.1.1</version> 75 <scope>provided</scope> 76 </dependency> 77 78 <dependency> 79 <groupId>io.smallrye</groupId> 80 <artifactId>smallrye-rest-client</artifactId> 81 <version>1.2.1</version> 82 <scope>test</scope> 83 </dependency> 84 85 <dependency> 86 <groupId>io.smallrye</groupId> 87 <artifactId>smallrye-config</artifactId> 88 <version>1.3.5</version> 89 <scope>test</scope> 90 </dependency> 91 92 {{^disableMultipart}} 93 <dependency> 94 <groupId>org.apache.cxf</groupId> 95 <artifactId>cxf-rt-rs-extension-providers</artifactId> 96 <version>3.2.6</version> 97 </dependency> 98 {{/disableMultipart}} 99 100 <dependency> 101 <groupId>javax.json.bind</groupId> 102 <artifactId>javax.json.bind-api</artifactId> 103 <version>1.0</version> 104 </dependency> 105 <dependency> 106 <groupId>javax.xml.bind</groupId> 107 <artifactId>jaxb-api</artifactId> 108 <version>2.2.11</version> 109 </dependency> 110 <dependency> 111 <groupId>com.sun.xml.bind</groupId> 112 <artifactId>jaxb-core</artifactId> 113 <version>2.2.11</version> 114 </dependency> 115 <dependency> 116 <groupId>com.sun.xml.bind</groupId> 117 <artifactId>jaxb-impl</artifactId> 118 <version>2.2.11</version> 119 </dependency> 120 <dependency> 121 <groupId>javax.activation</groupId> 122 <artifactId>activation</artifactId> 123 <version>1.1.1</version> 124 </dependency> 125 126 {{#java8}} 127 <dependency> 128 <groupId>com.fasterxml.jackson.datatype</groupId> 129 <artifactId>jackson-datatype-jsr310</artifactId> 130 <version>${jackson-jaxrs-version}</version> 131 </dependency> 132 {{/java8}} 133 {{^java8}} 134 <dependency> 135 <groupId>com.fasterxml.jackson.datatype</groupId> 136 <artifactId>jackson-datatype-joda</artifactId> 137 <version>${jackson-jaxrs-version}</version> 138 </dependency> 139 {{/java8}} 140 {{#useBeanValidationFeature}} 141 <dependency> 142 <groupId>org.hibernate</groupId> 143 <artifactId>hibernate-validator</artifactId> 144 <version>5.2.2.Final</version> 145 </dependency> 146 {{/useBeanValidationFeature}} 147 </dependencies> 148 <repositories> 149 <repository> 150 <id>sonatype-snapshots</id> 151 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 152 <snapshots> 153 <enabled>true</enabled> 154 </snapshots> 155 </repository> 156 </repositories> 157 <properties> 158 <java.version>1.8</java.version> 159 <maven.compiler.source>${java.version}</maven.compiler.source> 160 <maven.compiler.target>${java.version}</maven.compiler.target> 161 <swagger-core-version>1.5.18</swagger-core-version> 162 <jetty-version>9.2.9.v20150224</jetty-version> 163 <junit-version>4.13</junit-version> 164 <logback-version>1.1.7</logback-version> 165 <servlet-api-version>2.5</servlet-api-version> 166 {{#useBeanValidation}} 167 <beanvalidation-version>1.1.0.Final</beanvalidation-version> 168 {{/useBeanValidation}} 169 <cxf-version>3.2.7</cxf-version> 170 <jackson-jaxrs-version>2.9.7</jackson-jaxrs-version> 171 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 172 </properties> 173 </project>