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" |
| 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> |
Rob Daugherty | 325d4e2 | 2018-10-19 15:13:38 -0400 | [diff] [blame] | 7 | <version>1.4.0-SNAPSHOT</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -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> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 13 | <properties> |
| 14 | <openfeign.version>10.1.0</openfeign.version> |
| 15 | </properties> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 16 | <build> |
| 17 | <finalName>${project.artifactId}-${project.version}</finalName> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 18 | |
| 19 | <plugins> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 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> |
| 34 | repackage |
| 35 | </goal> |
| 36 | </goals> |
| 37 | </execution> |
| 38 | </executions> |
| 39 | </plugin> |
| 40 | |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 41 | <!-- 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] | 42 | <plugin> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 43 | <groupId>org.codehaus.mojo</groupId> |
| 44 | <artifactId>jaxws-maven-plugin</artifactId> |
| 45 | <version>2.4.1</version> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>generate-network-async-stubs</id> |
| 49 | <phase>process-classes</phase> |
| 50 | <goals> |
| 51 | <goal>wsimport</goal> |
| 52 | </goals> |
| 53 | <configuration> |
| 54 | <vmArgs> |
| 55 | <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> |
| 56 | </vmArgs> |
| 57 | <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory> |
| 58 | <wsdlFiles> |
| 59 | <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile> |
| 60 | </wsdlFiles> |
| 61 | <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation> |
| 62 | <packageName>org.onap.so.adapters.network.async.client</packageName> |
| 63 | <xnocompile>false</xnocompile> |
| 64 | <keep>true</keep> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | |
| 68 | <execution> |
| 69 | <id>generate-vnf-async-stubs</id> |
| 70 | <phase>process-classes</phase> |
| 71 | <goals> |
| 72 | <goal>wsimport</goal> |
| 73 | </goals> |
| 74 | <configuration> |
| 75 | <vmArgs> |
| 76 | <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> |
| 77 | </vmArgs> |
| 78 | <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory> |
| 79 | <wsdlFiles> |
| 80 | <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile> |
| 81 | </wsdlFiles> |
| 82 | <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation> |
| 83 | <packageName>org.onap.so.adapters.vnf.async.client</packageName> |
| 84 | <xnocompile>false</xnocompile> |
| 85 | <keep>true</keep> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | </plugin> |
| 90 | <plugin> |
| 91 | <groupId>org.codehaus.mojo</groupId> |
| 92 | <artifactId>build-helper-maven-plugin</artifactId> |
| 93 | <version>3.0.0</version> |
| 94 | <executions> |
| 95 | <execution> |
| 96 | <id>add-source</id> |
| 97 | <phase>generate-sources</phase> |
| 98 | <goals> |
| 99 | <goal>add-source</goal> |
| 100 | </goals> |
| 101 | <configuration> |
| 102 | <sources> |
| 103 | <source>${project.build.directory}/generated-sources/wsimport/</source> |
| 104 | </sources> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | --> <plugin> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 110 | <groupId>org.jacoco</groupId> |
| 111 | <artifactId>jacoco-maven-plugin</artifactId> |
| 112 | </plugin> |
| 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId>maven-dependency-plugin</artifactId> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>extract-docker-file</id> |
| 119 | </execution> |
| 120 | </executions> |
| 121 | </plugin> |
| 122 | <plugin> |
| 123 | <groupId>io.fabric8</groupId> |
| 124 | <artifactId>fabric8-maven-plugin</artifactId> |
| 125 | <executions> |
| 126 | <execution> |
| 127 | <id>start</id> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 131 | </plugins> |
| 132 | |
| 133 | |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 134 | <pluginManagement> |
| 135 | <plugins> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 136 | <!--This plugin's configuration is used to store Eclipse m2e settings |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 137 | only. It has no influence on the Maven build itself. --> |
| 138 | <plugin> |
| 139 | <groupId>org.eclipse.m2e</groupId> |
| 140 | <artifactId>lifecycle-mapping</artifactId> |
| 141 | <version>1.0.0</version> |
| 142 | <configuration> |
| 143 | <lifecycleMappingMetadata> |
| 144 | <pluginExecutions> |
| 145 | <pluginExecution> |
| 146 | <pluginExecutionFilter> |
| 147 | <groupId> |
| 148 | org.jvnet.jax-ws-commons |
| 149 | </groupId> |
| 150 | <artifactId> |
| 151 | jaxws-maven-plugin |
| 152 | </artifactId> |
| 153 | <versionRange> |
| 154 | [2.3,) |
| 155 | </versionRange> |
| 156 | <goals> |
| 157 | <goal>wsgen</goal> |
| 158 | </goals> |
| 159 | </pluginExecutionFilter> |
| 160 | <action> |
| 161 | <ignore></ignore> |
| 162 | </action> |
| 163 | </pluginExecution> |
| 164 | </pluginExecutions> |
| 165 | </lifecycleMappingMetadata> |
| 166 | </configuration> |
| 167 | </plugin> |
| 168 | </plugins> |
| 169 | </pluginManagement> |
| 170 | </build> |
| 171 | |
| 172 | <dependencies> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 173 | <!-- added for spring boot support --> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 174 | <dependency> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 175 | <groupId>org.springframework.boot</groupId> |
| 176 | <artifactId>spring-boot-starter-actuator</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 177 | </dependency> |
| 178 | <dependency> |
| 179 | <groupId>org.springframework.boot</groupId> |
| 180 | <artifactId>spring-boot-starter-web</artifactId> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>org.springframework.boot</groupId> |
| 184 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
Kalkere Ramesh, Sharan (sk720x) | a083e70 | 2019-02-26 15:59:30 -0500 | [diff] [blame] | 185 | </dependency> |
| 186 | <dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 187 | <groupId>org.apache.cxf</groupId> |
| 188 | <artifactId>cxf-spring-boot-starter-jaxws</artifactId> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 189 | <version>${cxf.version}</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 190 | </dependency> |
| 191 | <dependency> |
| 192 | <groupId>org.apache.cxf</groupId> |
| 193 | <artifactId>cxf-spring-boot-starter-jaxrs</artifactId> |
Smokowski, Steve (ss835w) | ffa1f2e | 2018-08-07 08:37:49 -0400 | [diff] [blame] | 194 | <version>${cxf.version}</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 195 | </dependency> |
| 196 | <dependency> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 197 | <groupId>org.apache.cxf</groupId> |
| 198 | <artifactId>cxf-rt-rs-service-description-swagger</artifactId> |
| 199 | <version>${cxf.version}</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 200 | </dependency> |
| 201 | <dependency> |
Benjamin, Max (mb388a) | e57ae2b | 2019-03-01 14:55:31 -0500 | [diff] [blame] | 202 | <groupId>org.webjars</groupId> |
| 203 | <artifactId>swagger-ui</artifactId> |
| 204 | <version>3.5.0</version> |
| 205 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 206 | <dependency> |
| 207 | <groupId>org.springframework.boot</groupId> |
| 208 | <artifactId>spring-boot-starter-test</artifactId> |
| 209 | <scope>test</scope> |
| 210 | </dependency> |
| 211 | <dependency> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 212 | <groupId>janino</groupId> |
| 213 | <artifactId>janino</artifactId> |
| 214 | <version>2.5.15</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 215 | </dependency> |
Munir Ahmad | 563a357 | 2019-02-08 16:42:03 -0500 | [diff] [blame] | 216 | |
| 217 | <!-- end added for spring boot support --> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.pacesys</groupId> |
| 221 | <artifactId>openstack4j-core</artifactId> |
| 222 | <version>3.1.0</version> |
| 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>org.pacesys.openstack4j.connectors</groupId> |
| 226 | <artifactId>openstack4j-httpclient</artifactId> |
| 227 | <version>3.1.0</version> |
| 228 | </dependency> |
| 229 | |
| 230 | <dependency> |
| 231 | <groupId>commons-collections</groupId> |
| 232 | <artifactId>commons-collections</artifactId> |
| 233 | <version>3.2.1</version> |
| 234 | </dependency> |
| 235 | |
| 236 | <dependency> |
| 237 | <groupId>com.typesafe</groupId> |
| 238 | <artifactId>config</artifactId> |
| 239 | <version>1.3.2</version> |
| 240 | </dependency> |
| 241 | <dependency> |
| 242 | <groupId>com.google.code.findbugs</groupId> |
| 243 | <artifactId>jsr305</artifactId> |
| 244 | <version>1.3.9</version> |
| 245 | </dependency> |
| 246 | |
| 247 | <dependency> |
| 248 | <groupId>commons-validator</groupId> |
| 249 | <artifactId>commons-validator</artifactId> |
| 250 | <version>1.4.0</version> |
| 251 | </dependency> |
| 252 | |
| 253 | <!-- added for unit testing --> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 254 | <dependency> |
| 255 | <groupId>org.onap.so.adapters</groupId> |
| 256 | <artifactId>mso-adapter-utils</artifactId> |
| 257 | <version>${project.version}</version> |
| 258 | </dependency> |
| 259 | <dependency> |
| 260 | <groupId>org.onap.so.adapters</groupId> |
| 261 | <artifactId>mso-adapters-rest-interface</artifactId> |
| 262 | <version>${project.version}</version> |
| 263 | </dependency> |
| 264 | <dependency> |
| 265 | <groupId>javax.servlet</groupId> |
| 266 | <artifactId>javax.servlet-api</artifactId> |
| 267 | <scope>test</scope> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 268 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 269 | <dependency> |
| 270 | <groupId>org.mariadb.jdbc</groupId> |
| 271 | <artifactId>mariadb-java-client</artifactId> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 272 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 273 | <dependency> |
| 274 | <groupId>org.onap.so</groupId> |
| 275 | <artifactId>common</artifactId> |
| 276 | <version>${project.version}</version> |
| 277 | </dependency> |
| 278 | <dependency> |
Benjamin, Max (mb388a) | e57ae2b | 2019-03-01 14:55:31 -0500 | [diff] [blame] | 279 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 280 | <artifactId>mariaDB4j</artifactId> |
| 281 | <version>2.2.3</version> |
| 282 | <scope>test</scope> |
| 283 | </dependency> |
| 284 | <dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 285 | <groupId>org.springframework.cloud</groupId> |
| 286 | <artifactId>spring-cloud-contract-wiremock</artifactId> |
| 287 | <version>1.2.4.RELEASE</version> |
| 288 | <scope>test</scope> |
| 289 | </dependency> |
Benjamin, Max (mb388a) | a81aef2 | 2018-08-13 09:48:57 -0400 | [diff] [blame] | 290 | <dependency> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 291 | <groupId>org.onap.so</groupId> |
| 292 | <artifactId>cxf-logging</artifactId> |
| 293 | <version>${project.version}</version> |
| 294 | </dependency> |
Benjamin, Max (mb388a) | 4e63348 | 2019-02-01 18:13:35 -0500 | [diff] [blame] | 295 | <dependency> |
| 296 | <groupId>org.onap.so.libs.openstack-java-sdk</groupId> |
Benjamin, Max (mb388a) | e57ae2b | 2019-03-01 14:55:31 -0500 | [diff] [blame] | 297 | <artifactId>nova-model</artifactId> |
Benjamin, Max (mb388a) | 4e63348 | 2019-02-01 18:13:35 -0500 | [diff] [blame] | 298 | <version>${openstack.version}</version> |
| 299 | </dependency> |
| 300 | <dependency> |
Benjamin, Max (mb388a) | a339f93 | 2019-03-05 16:56:09 -0500 | [diff] [blame] | 301 | <groupId>org.camunda.bpm</groupId> |
| 302 | <artifactId>camunda-external-task-client</artifactId> |
| 303 | <version>1.1.1</version> |
| 304 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 305 | </dependencies> |
| 306 | </project> |