Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
| 5 | <groupId>org.onap.so</groupId> |
| 6 | <artifactId>adapters</artifactId> |
seshukm | b9af26a | 2020-02-26 19:30:17 +0800 | [diff] [blame^] | 7 | <version>1.6.0-SNAPSHOT</version> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 8 | </parent> |
| 9 | <artifactId>mso-openstack-adapters</artifactId> |
| 10 | <packaging>jar</packaging> |
| 11 | <name>mso-openstack-adapters</name> |
| 12 | <description>Consolidate openstack adapters into one Spring Boot project</description> |
| 13 | <properties> |
| 14 | <openfeign.version>10.1.0</openfeign.version> |
| 15 | </properties> |
| 16 | <build> |
| 17 | <finalName>${project.artifactId}-${project.version}</finalName> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 18 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 19 | <plugins> |
| 20 | <plugin> |
| 21 | <groupId>org.apache.maven.plugins</groupId> |
| 22 | <artifactId>maven-dependency-plugin</artifactId> |
| 23 | </plugin> |
| 24 | <plugin> |
| 25 | <groupId>org.springframework.boot</groupId> |
| 26 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 27 | <configuration> |
| 28 | <mainClass>org.onap.so.adapters.openstack.MsoOpenstackAdaptersApplication</mainClass> |
| 29 | </configuration> |
| 30 | <executions> |
| 31 | <execution> |
| 32 | <goals> |
| 33 | <goal> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 34 | repackage |
| 35 | </goal> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 36 | </goals> |
| 37 | </execution> |
| 38 | </executions> |
| 39 | </plugin> |
| 40 | <plugin> |
| 41 | <groupId>org.apache.maven.plugins</groupId> |
| 42 | <artifactId>maven-surefire-plugin</artifactId> |
| 43 | <executions> |
| 44 | <execution> |
| 45 | <id>default-test</id> |
| 46 | <goals> |
| 47 | <goal>test</goal> |
| 48 | </goals> |
| 49 | <configuration> |
| 50 | <includes> |
| 51 | <include>**/AllTestsTestSuite.java</include> |
| 52 | </includes> |
| 53 | <parallel>suites</parallel> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 58 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 59 | <!-- run the following plugin only when there's a wsdl change and you need to recompile the java classes |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 60 | <plugin> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 61 | <groupId>org.codehaus.mojo</groupId> |
| 62 | <artifactId>jaxws-maven-plugin</artifactId> |
| 63 | <version>2.4.1</version> |
| 64 | <executions> |
| 65 | <execution> |
| 66 | <id>generate-network-async-stubs</id> |
| 67 | <phase>process-classes</phase> |
| 68 | <goals> |
| 69 | <goal>wsimport</goal> |
| 70 | </goals> |
| 71 | <configuration> |
| 72 | <vmArgs> |
| 73 | <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> |
| 74 | </vmArgs> |
| 75 | <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory> |
| 76 | <wsdlFiles> |
| 77 | <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile> |
| 78 | </wsdlFiles> |
| 79 | <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation> |
| 80 | <packageName>org.onap.so.adapters.network.async.client</packageName> |
| 81 | <xnocompile>false</xnocompile> |
| 82 | <keep>true</keep> |
| 83 | </configuration> |
| 84 | </execution> |
Benjamin, Max (mb388a) | 7328b3f | 2019-04-21 11:11:21 -0400 | [diff] [blame] | 85 | |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 86 | <execution> |
| 87 | <id>generate-vnf-async-stubs</id> |
| 88 | <phase>process-classes</phase> |
| 89 | <goals> |
| 90 | <goal>wsimport</goal> |
| 91 | </goals> |
| 92 | <configuration> |
| 93 | <vmArgs> |
| 94 | <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> |
| 95 | </vmArgs> |
| 96 | <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory> |
| 97 | <wsdlFiles> |
| 98 | <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile> |
| 99 | </wsdlFiles> |
| 100 | <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation> |
| 101 | <packageName>org.onap.so.adapters.vnf.async.client</packageName> |
| 102 | <xnocompile>false</xnocompile> |
| 103 | <keep>true</keep> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.codehaus.mojo</groupId> |
| 110 | <artifactId>build-helper-maven-plugin</artifactId> |
| 111 | <version>3.0.0</version> |
| 112 | <executions> |
| 113 | <execution> |
| 114 | <id>add-source</id> |
| 115 | <phase>generate-sources</phase> |
| 116 | <goals> |
| 117 | <goal>add-source</goal> |
| 118 | </goals> |
| 119 | <configuration> |
| 120 | <sources> |
| 121 | <source>${project.build.directory}/generated-sources/wsimport/</source> |
| 122 | </sources> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
Benjamin, Max (mb388a) | 7328b3f | 2019-04-21 11:11:21 -0400 | [diff] [blame] | 126 | </plugin> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 127 | --> |
| 128 | <plugin> |
| 129 | <groupId>org.jacoco</groupId> |
| 130 | <artifactId>jacoco-maven-plugin</artifactId> |
| 131 | </plugin> |
| 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-dependency-plugin</artifactId> |
| 135 | <executions> |
| 136 | <execution> |
| 137 | <id>extract-docker-file</id> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | <plugin> |
| 142 | <groupId>io.fabric8</groupId> |
| 143 | <artifactId>fabric8-maven-plugin</artifactId> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <id>start</id> |
| 147 | </execution> |
| 148 | </executions> |
| 149 | </plugin> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-jar-plugin</artifactId> |
| 153 | <executions> |
| 154 | <execution> |
| 155 | <id>original</id> |
Benjamin, Max | 7e37211 | 2019-11-08 10:32:10 -0500 | [diff] [blame] | 156 | <configuration> |
| 157 | <skip>false</skip> |
| 158 | </configuration> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 159 | </execution> |
| 160 | </executions> |
| 161 | </plugin> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 162 | </plugins> |
| 163 | |
| 164 | |
| 165 | <pluginManagement> |
| 166 | <plugins> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 167 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build |
| 168 | itself. --> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 169 | <plugin> |
| 170 | <groupId>org.eclipse.m2e</groupId> |
| 171 | <artifactId>lifecycle-mapping</artifactId> |
| 172 | <version>1.0.0</version> |
| 173 | <configuration> |
| 174 | <lifecycleMappingMetadata> |
| 175 | <pluginExecutions> |
| 176 | <pluginExecution> |
| 177 | <pluginExecutionFilter> |
| 178 | <groupId> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 179 | org.jvnet.jax-ws-commons |
| 180 | </groupId> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 181 | <artifactId> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 182 | jaxws-maven-plugin |
| 183 | </artifactId> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 184 | <versionRange> |
Smokowski, Steven | e4687ee | 2019-05-15 14:19:49 -0400 | [diff] [blame] | 185 | [2.3,) |
| 186 | </versionRange> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 187 | <goals> |
| 188 | <goal>wsgen</goal> |
| 189 | </goals> |
| 190 | </pluginExecutionFilter> |
| 191 | <action> |
| 192 | <ignore> |
| 193 | </ignore> |
| 194 | </action> |
| 195 | </pluginExecution> |
| 196 | </pluginExecutions> |
| 197 | </lifecycleMappingMetadata> |
| 198 | </configuration> |
| 199 | </plugin> |
| 200 | </plugins> |
| 201 | </pluginManagement> |
| 202 | </build> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 203 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 204 | <dependencies> |
| 205 | <!-- added for spring boot support --> |
| 206 | <dependency> |
| 207 | <groupId>org.springframework.boot</groupId> |
| 208 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.springframework.boot</groupId> |
| 212 | <artifactId>spring-boot-starter-web</artifactId> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>org.springframework.boot</groupId> |
| 216 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>org.apache.cxf</groupId> |
| 220 | <artifactId>cxf-spring-boot-starter-jaxws</artifactId> |
| 221 | <version>${cxf.version}</version> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.apache.cxf</groupId> |
| 225 | <artifactId>cxf-spring-boot-starter-jaxrs</artifactId> |
| 226 | <version>${cxf.version}</version> |
| 227 | </dependency> |
| 228 | <dependency> |
| 229 | <groupId>org.apache.cxf</groupId> |
| 230 | <artifactId>cxf-rt-rs-service-description-swagger</artifactId> |
| 231 | <version>${cxf.version}</version> |
| 232 | </dependency> |
| 233 | <dependency> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 234 | <groupId>org.springframework.boot</groupId> |
| 235 | <artifactId>spring-boot-starter-test</artifactId> |
| 236 | <scope>test</scope> |
| 237 | </dependency> |
| 238 | <dependency> |
| 239 | <groupId>janino</groupId> |
| 240 | <artifactId>janino</artifactId> |
| 241 | <version>2.5.15</version> |
| 242 | </dependency> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 243 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 244 | <!-- end added for spring boot support --> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 245 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 246 | <dependency> |
| 247 | <groupId>org.pacesys</groupId> |
| 248 | <artifactId>openstack4j-core</artifactId> |
Munir Ahmad | b05c475 | 2019-10-29 09:05:04 -0400 | [diff] [blame] | 249 | <version>3.2.0</version> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.pacesys.openstack4j.connectors</groupId> |
| 253 | <artifactId>openstack4j-httpclient</artifactId> |
Munir Ahmad | b05c475 | 2019-10-29 09:05:04 -0400 | [diff] [blame] | 254 | <version>3.2.0</version> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 255 | </dependency> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 256 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 257 | <dependency> |
| 258 | <groupId>commons-collections</groupId> |
| 259 | <artifactId>commons-collections</artifactId> |
Sangalang, Felix | 785fab5 | 2019-06-21 10:46:38 -0400 | [diff] [blame] | 260 | <version>3.2.2</version> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 261 | </dependency> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 262 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 263 | <dependency> |
| 264 | <groupId>com.typesafe</groupId> |
| 265 | <artifactId>config</artifactId> |
| 266 | <version>1.3.2</version> |
| 267 | </dependency> |
| 268 | <dependency> |
| 269 | <groupId>com.google.code.findbugs</groupId> |
| 270 | <artifactId>jsr305</artifactId> |
| 271 | <version>1.3.9</version> |
| 272 | </dependency> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 273 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 274 | <dependency> |
| 275 | <groupId>commons-validator</groupId> |
| 276 | <artifactId>commons-validator</artifactId> |
| 277 | <version>1.4.0</version> |
| 278 | </dependency> |
| 279 | |
| 280 | <!-- added for unit testing --> |
| 281 | <dependency> |
| 282 | <groupId>org.onap.so.adapters</groupId> |
| 283 | <artifactId>mso-adapter-utils</artifactId> |
| 284 | <version>${project.version}</version> |
| 285 | </dependency> |
| 286 | <dependency> |
| 287 | <groupId>org.onap.so.adapters</groupId> |
| 288 | <artifactId>mso-adapters-rest-interface</artifactId> |
| 289 | <version>${project.version}</version> |
| 290 | </dependency> |
| 291 | <dependency> |
| 292 | <groupId>javax.servlet</groupId> |
| 293 | <artifactId>javax.servlet-api</artifactId> |
| 294 | <scope>test</scope> |
| 295 | </dependency> |
| 296 | <dependency> |
| 297 | <groupId>org.mariadb.jdbc</groupId> |
| 298 | <artifactId>mariadb-java-client</artifactId> |
| 299 | </dependency> |
| 300 | <dependency> |
| 301 | <groupId>org.onap.so</groupId> |
| 302 | <artifactId>common</artifactId> |
| 303 | <version>${project.version}</version> |
| 304 | </dependency> |
| 305 | <dependency> |
| 306 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 307 | <artifactId>mariaDB4j</artifactId> |
| 308 | <version>2.2.3</version> |
| 309 | <scope>test</scope> |
| 310 | </dependency> |
| 311 | <dependency> |
| 312 | <groupId>org.springframework.cloud</groupId> |
| 313 | <artifactId>spring-cloud-contract-wiremock</artifactId> |
| 314 | <version>1.2.4.RELEASE</version> |
| 315 | <scope>test</scope> |
| 316 | </dependency> |
| 317 | <dependency> |
| 318 | <groupId>org.onap.so</groupId> |
| 319 | <artifactId>cxf-logging</artifactId> |
| 320 | <version>${project.version}</version> |
| 321 | </dependency> |
| 322 | <dependency> |
| 323 | <groupId>org.onap.so.libs.openstack-java-sdk</groupId> |
| 324 | <artifactId>nova-model</artifactId> |
| 325 | <version>${openstack.version}</version> |
| 326 | </dependency> |
| 327 | <dependency> |
| 328 | <groupId>org.camunda.bpm</groupId> |
| 329 | <artifactId>camunda-external-task-client</artifactId> |
| 330 | <version>1.1.1</version> |
| 331 | </dependency> |
| 332 | </dependencies> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 333 | </project> |