DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 2 | <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"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 4 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 5 | <groupId>org.onap.ccsdk.parent</groupId> |
| 6 | <artifactId>client-parent</artifactId> |
Timoney, Dan (dt5972) | cda6d8e | 2019-11-12 13:44:16 -0500 | [diff] [blame] | 7 | <version>1.5.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 8 | <packaging>pom</packaging> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 9 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 10 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
| 11 | <description>Root POM to be used for yang2swagger generation in CCSDK based projects</description> |
| 12 | <url>http://wiki.onap.org</url> |
| 13 | <organization> |
| 14 | <name>ONAP</name> |
| 15 | </organization> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 16 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 17 | <issueManagement> |
| 18 | <system>JIRA</system> |
| 19 | <url>https://jira.onap.org/</url> |
| 20 | </issueManagement> |
| 21 | <distributionManagement> |
| 22 | <repository> |
| 23 | <id>ecomp-releases</id> |
| 24 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 25 | </repository> |
| 26 | <snapshotRepository> |
| 27 | <id>ecomp-snapshots</id> |
| 28 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 29 | </snapshotRepository> |
| 30 | </distributionManagement> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 31 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 32 | <properties> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 33 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 34 | <!-- properties from oparent --> |
| 35 | <maven.compiler.source>1.8</maven.compiler.source> |
| 36 | <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 40 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 41 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 42 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 43 | <!-- ONAP repositories --> |
| 44 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 45 | <onap.nexus.port>443</onap.nexus.port> |
| 46 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 47 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 48 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 49 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 50 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 51 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 52 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 53 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 54 | <!-- OpenDaylight repositories --> |
| 55 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 56 | <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 57 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 58 | <java.version.source>1.8</java.version.source> |
| 59 | <java.version.target>1.8</java.version.target> |
| 60 | <maven.compiler.version>3.6.1</maven.compiler.version> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 61 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 62 | <checkstyle.skip>true</checkstyle.skip> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 63 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 64 | <org.json.version>20170516</org.json.version> |
| 65 | <jackson.version>2.8.9</jackson.version> |
| 66 | <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560 |
| 67 | is fixed (either in PowerMock or with a new JUnit release) --> |
| 68 | <!-- Used everywhere --> |
| 69 | <junit.version>4.11</junit.version> |
| 70 | <mockito.version>2.8.9</mockito.version> |
| 71 | <lombok.version>1.18.0</lombok.version> |
| 72 | <openpojo.version>0.8.10</openpojo.version> |
| 73 | <spring.version>4.3.7.RELEASE</spring.version> |
| 74 | <javax.validation.version>2.0.0.Final</javax.validation.version> |
| 75 | <swagger.version>1.5.16</swagger.version> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 76 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 77 | <!-- ONAP repositories --> |
| 78 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 79 | <onap.nexus.port>443</onap.nexus.port> |
| 80 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 81 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 82 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 83 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 84 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 85 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 86 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 87 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 88 | </properties> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 89 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 90 | <dependencies> |
| 91 | <dependency> |
| 92 | <groupId>org.mockito</groupId> |
| 93 | <artifactId>mockito-core</artifactId> |
| 94 | <version>${mockito.version}</version> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.projectlombok</groupId> |
| 99 | <artifactId>lombok</artifactId> |
| 100 | <version>${lombok.version}</version> |
| 101 | <scope>provided</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>com.openpojo</groupId> |
| 105 | <artifactId>openpojo</artifactId> |
| 106 | <version>${openpojo.version}</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>junit</groupId> |
| 111 | <artifactId>junit</artifactId> |
| 112 | <version>${junit.version}</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.json</groupId> |
| 117 | <artifactId>json</artifactId> |
| 118 | <version>${org.json.version}</version> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 122 | <artifactId>jackson-jaxrs-base</artifactId> |
| 123 | <version>${jackson.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 127 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 128 | <version>${jackson.version}</version> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 132 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 133 | <version>${jackson.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 137 | <artifactId>jackson-dataformat-xml</artifactId> |
| 138 | <version>${jackson.version}</version> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>com.fasterxml.jackson.core</groupId> |
| 142 | <artifactId>jackson-core</artifactId> |
| 143 | <version>${jackson.version}</version> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>com.fasterxml.jackson.core</groupId> |
| 147 | <artifactId>jackson-databind</artifactId> |
| 148 | <version>${jackson.version}</version> |
| 149 | </dependency> |
| 150 | <dependency> |
| 151 | <groupId>com.fasterxml.jackson.core</groupId> |
| 152 | <artifactId>jackson-annotations</artifactId> |
| 153 | <version>${jackson.version}</version> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>com.fasterxml.jackson.module</groupId> |
| 157 | <artifactId>jackson-module-jaxb-annotations</artifactId> |
| 158 | <version>${jackson.version}</version> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>org.springframework</groupId> |
| 162 | <artifactId>spring-web</artifactId> |
| 163 | <version>${spring.version}</version> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>io.swagger</groupId> |
| 167 | <artifactId>swagger-annotations</artifactId> |
| 168 | <version>${swagger.version}</version> |
| 169 | </dependency> |
| 170 | <dependency> |
| 171 | <groupId>javax.validation</groupId> |
| 172 | <artifactId>validation-api</artifactId> |
| 173 | <version>${javax.validation.version}</version> |
| 174 | </dependency> |
| 175 | <dependency> |
| 176 | <groupId>io.swagger</groupId> |
| 177 | <artifactId>swagger-jaxrs</artifactId> |
| 178 | <version>${swagger.version}</version> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>io.swagger</groupId> |
| 182 | <artifactId>swagger-models</artifactId> |
| 183 | <version>${swagger.version}</version> |
| 184 | </dependency> |
| 185 | </dependencies> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 186 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 187 | <repositories> |
| 188 | <repository> |
| 189 | <id>onap-public</id> |
| 190 | <url>https://nexus.onap.org/content/groups/public</url> |
| 191 | <releases> |
| 192 | <enabled>true</enabled> |
| 193 | <updatePolicy>never</updatePolicy> |
| 194 | </releases> |
| 195 | <snapshots> |
| 196 | <enabled>true</enabled> |
| 197 | <updatePolicy>always</updatePolicy> |
| 198 | </snapshots> |
| 199 | </repository> |
| 200 | <repository> |
| 201 | <id>onap-staging</id> |
| 202 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 203 | <releases> |
| 204 | <enabled>true</enabled> |
| 205 | <updatePolicy>never</updatePolicy> |
| 206 | </releases> |
| 207 | <snapshots> |
| 208 | <enabled>true</enabled> |
| 209 | <updatePolicy>always</updatePolicy> |
| 210 | </snapshots> |
| 211 | </repository> |
| 212 | <repository> |
| 213 | <id>ecomp-release</id> |
| 214 | <name>onap-repository-releases</name> |
| 215 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 216 | <releases> |
| 217 | <enabled>true</enabled> |
| 218 | <updatePolicy>never</updatePolicy> |
| 219 | </releases> |
| 220 | <snapshots> |
| 221 | <enabled>false</enabled> |
| 222 | </snapshots> |
| 223 | </repository> |
| 224 | <repository> |
| 225 | <id>ecomp-snapshot</id> |
| 226 | <name>onap-repository-snapshots</name> |
| 227 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 228 | <releases> |
| 229 | <enabled>false</enabled> |
| 230 | </releases> |
| 231 | <snapshots> |
| 232 | <enabled>true</enabled> |
| 233 | </snapshots> |
| 234 | </repository> |
| 235 | <repository> |
| 236 | <id>opendaylight-mirror</id> |
| 237 | <name>opendaylight-mirror</name> |
| 238 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 239 | <releases> |
| 240 | <enabled>true</enabled> |
| 241 | <updatePolicy>never</updatePolicy> |
| 242 | </releases> |
| 243 | <snapshots> |
| 244 | <enabled>false</enabled> |
| 245 | </snapshots> |
| 246 | </repository> |
| 247 | <repository> |
| 248 | <id>opendaylight-snapshot</id> |
| 249 | <name>opendaylight-snapshot</name> |
| 250 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 251 | <releases> |
| 252 | <enabled>false</enabled> |
| 253 | </releases> |
| 254 | <snapshots> |
| 255 | <enabled>true</enabled> |
| 256 | </snapshots> |
| 257 | </repository> |
| 258 | <repository> |
| 259 | <snapshots> |
| 260 | <enabled>false</enabled> |
| 261 | </snapshots> |
| 262 | <id>onap-bintray</id> |
| 263 | <name>onap-bintray</name> |
| 264 | <url>https://nexus.onap.org/content/repositories/bintray/</url> |
| 265 | </repository> |
| 266 | </repositories> |
| 267 | <pluginRepositories> |
| 268 | <pluginRepository> |
| 269 | <id>onap-public</id> |
| 270 | <url>${onap.nexus.public-url}</url> |
| 271 | <releases> |
| 272 | <enabled>true</enabled> |
| 273 | </releases> |
| 274 | <snapshots> |
| 275 | <enabled>true</enabled> |
| 276 | </snapshots> |
| 277 | </pluginRepository> |
| 278 | <pluginRepository> |
| 279 | <id>onap-staging</id> |
| 280 | <url>${onap.nexus.staging-url}</url> |
| 281 | <releases> |
| 282 | <enabled>true</enabled> |
| 283 | </releases> |
| 284 | <snapshots> |
| 285 | <enabled>true</enabled> |
| 286 | </snapshots> |
| 287 | </pluginRepository> |
| 288 | <pluginRepository> |
| 289 | <id>onap-snapshot</id> |
| 290 | <url>${onap.nexus.snapshot-url}</url> |
| 291 | <releases> |
| 292 | <enabled>false</enabled> |
| 293 | </releases> |
| 294 | <snapshots> |
| 295 | <enabled>true</enabled> |
| 296 | </snapshots> |
| 297 | </pluginRepository> |
| 298 | <pluginRepository> |
| 299 | <id>opendaylight-mirror</id> |
| 300 | <name>opendaylight-mirror</name> |
| 301 | <url>${opendaylight.nexus.public-url}</url> |
| 302 | <releases> |
| 303 | <enabled>true</enabled> |
| 304 | <updatePolicy>never</updatePolicy> |
| 305 | </releases> |
| 306 | <snapshots> |
| 307 | <enabled>false</enabled> |
| 308 | </snapshots> |
| 309 | </pluginRepository> |
| 310 | <pluginRepository> |
| 311 | <id>opendaylight-snapshot</id> |
| 312 | <name>opendaylight-snapshot</name> |
| 313 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 314 | <releases> |
| 315 | <enabled>false</enabled> |
| 316 | </releases> |
| 317 | <snapshots> |
| 318 | <enabled>true</enabled> |
| 319 | </snapshots> |
| 320 | </pluginRepository> |
| 321 | <!-- Black Duck plugin dependencies --> |
| 322 | <pluginRepository> |
| 323 | <id>JCenter</id> |
| 324 | <name>JCenter Repository</name> |
| 325 | <url>http://jcenter.bintray.com</url> |
| 326 | </pluginRepository> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 327 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 328 | <pluginRepository> |
| 329 | <id>Restlet</id> |
| 330 | <name>Restlet Repository</name> |
| 331 | <url>http://maven.restlet.com</url> |
| 332 | </pluginRepository> |
Timoney, Dan (dt5972) | 0b24f8e | 2018-08-17 14:38:54 -0400 | [diff] [blame] | 333 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 334 | <pluginRepository> |
| 335 | <id>onap-bintray</id> |
| 336 | <name>onap-bintray</name> |
| 337 | <url>https://nexus.onap.org/content/repositories/bintray/</url> |
| 338 | </pluginRepository> |
| 339 | </pluginRepositories> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 340 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 341 | <build> |
| 342 | <pluginManagement> |
| 343 | <plugins> |
| 344 | <plugin> |
| 345 | <groupId>org.apache.maven.plugins</groupId> |
| 346 | <artifactId>maven-compiler-plugin</artifactId> |
| 347 | <version>${maven.compiler.version}</version> |
| 348 | <configuration> |
| 349 | <source>${java.version.source}</source> |
| 350 | <target>${java.version.target}</target> |
| 351 | </configuration> |
| 352 | </plugin> |
| 353 | <plugin> |
| 354 | <groupId>org.apache.maven.plugins</groupId> |
| 355 | <artifactId>maven-source-plugin</artifactId> |
| 356 | <version>3.0.1</version> |
| 357 | <executions> |
| 358 | <execution> |
| 359 | <id>install-sources</id> |
| 360 | <goals> |
| 361 | <goal>jar</goal> |
| 362 | </goals> |
| 363 | </execution> |
| 364 | <execution> |
| 365 | <id>deploy-sources</id> |
| 366 | <phase>deploy</phase> |
| 367 | <goals> |
| 368 | <goal>jar</goal> |
| 369 | </goals> |
| 370 | </execution> |
| 371 | </executions> |
| 372 | </plugin> |
| 373 | <plugin> |
| 374 | <groupId>org.apache.maven.plugins</groupId> |
| 375 | <artifactId>maven-dependency-plugin</artifactId> |
| 376 | <version>2.10</version> |
| 377 | <configuration> |
| 378 | <outputDirectory>${project.build.directory}/dependency</outputDirectory> |
| 379 | <includes>**\/*.yang</includes> |
| 380 | </configuration> |
| 381 | <executions> |
| 382 | <execution> |
| 383 | <id>unpack-shared-resources</id> |
| 384 | <goals> |
| 385 | <goal>unpack-dependencies</goal> |
| 386 | </goals> |
| 387 | <phase>initialize</phase> |
| 388 | </execution> |
| 389 | </executions> |
| 390 | </plugin> |
| 391 | <plugin> |
| 392 | <artifactId>maven-antrun-plugin</artifactId> |
| 393 | <version>1.8</version> |
| 394 | <executions> |
| 395 | <execution> |
| 396 | <phase>initialize</phase> |
| 397 | <goals> |
| 398 | <goal>run</goal> |
| 399 | </goals> |
| 400 | </execution> |
| 401 | </executions> |
| 402 | <configuration> |
| 403 | <tasks> |
| 404 | <!-- flatten out structure --> |
| 405 | <move todir="${project.build.directory}/dependency" failonerror="false"> |
| 406 | <fileset dir="${project.build.directory}/dependency"/> |
| 407 | <mapper type="flatten"/> |
| 408 | </move> |
| 409 | <!-- move to yang folder --> |
| 410 | <copy todir="${project.build.directory}/yang" failonerror="false"> |
| 411 | <fileset dir="${project.build.directory}/dependency" includes="**/*.yang"/> |
| 412 | <mapper type="flatten"/> |
| 413 | </copy> |
| 414 | <!-- add in hard coded items from src/main/yang --> |
| 415 | <copy todir="${project.build.directory}/yang" failonerror="false"> |
| 416 | <fileset dir="${project.basedir}/src/main/yang" includes="**/*.yang"/> |
| 417 | <mapper type="flatten"/> |
| 418 | </copy> |
| 419 | </tasks> |
| 420 | </configuration> |
| 421 | </plugin> |
| 422 | <plugin> |
| 423 | <groupId>org.opendaylight.yangtools</groupId> |
| 424 | <artifactId>yang-maven-plugin</artifactId> |
| 425 | <version>1.2.3</version> |
| 426 | <dependencies> |
| 427 | <dependency> |
| 428 | <groupId>com.mrv.yangtools</groupId> |
| 429 | <artifactId>swagger-maven-plugin</artifactId> |
| 430 | <version>1.1.9</version> |
| 431 | </dependency> |
| 432 | <dependency> |
| 433 | <groupId>com.github.romix</groupId> |
| 434 | <artifactId>java-concurrent-hash-trie-map</artifactId> |
| 435 | <version>0.2.23</version> |
| 436 | </dependency> |
| 437 | </dependencies> |
| 438 | <executions> |
| 439 | <execution> |
Singal, Kapil (ks220y) | 704554f | 2020-01-20 15:12:43 -0500 | [diff] [blame^] | 440 | <id>binding</id> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 441 | <goals> |
| 442 | <goal>generate-sources</goal> |
| 443 | </goals> |
| 444 | <configuration> |
| 445 | <codeGenerators> |
| 446 | <generator> |
| 447 | <codeGeneratorClass>com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator</codeGeneratorClass> |
| 448 | <outputBaseDir>${project.build.directory}/generated-sources/swagger-maven-api-gen</outputBaseDir> |
| 449 | <resourceBaseDir>${project.build.directory}/yang</resourceBaseDir> |
| 450 | <additionalConfiguration> |
| 451 | <api-version>${project.version}</api-version> |
| 452 | <base-module>client</base-module> |
| 453 | <swagger-format>yaml</swagger-format> |
| 454 | </additionalConfiguration> |
| 455 | </generator> |
| 456 | </codeGenerators> |
| 457 | <inspectDependencies>false</inspectDependencies> |
| 458 | <yangFilesRootDir>${project.build.directory}/yang</yangFilesRootDir> |
| 459 | </configuration> |
| 460 | </execution> |
| 461 | </executions> |
| 462 | </plugin> |
| 463 | <plugin> |
| 464 | <groupId>io.swagger</groupId> |
| 465 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 466 | <version>2.2.3</version> |
| 467 | <dependencies> |
| 468 | <dependency> |
| 469 | <groupId>com.fasterxml.jackson.core</groupId> |
| 470 | <artifactId>jackson-core</artifactId> |
| 471 | <version>${jackson.version}</version> |
| 472 | </dependency> |
| 473 | <dependency> |
| 474 | <groupId>com.fasterxml.jackson.core</groupId> |
| 475 | <artifactId>jackson-databind</artifactId> |
| 476 | <version>${jackson.version}</version> |
| 477 | </dependency> |
| 478 | <dependency> |
| 479 | <groupId>com.fasterxml.jackson.core</groupId> |
| 480 | <artifactId>jackson-annotations</artifactId> |
| 481 | <version>${jackson.version}</version> |
| 482 | </dependency> |
| 483 | <dependency> |
| 484 | <groupId>com.fasterxml.jackson.module</groupId> |
| 485 | <artifactId>jackson-module-jaxb-annotations</artifactId> |
| 486 | <version>${jackson.version}</version> |
| 487 | </dependency> |
| 488 | <dependency> |
| 489 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 490 | <artifactId>jackson-jaxrs-base</artifactId> |
| 491 | <version>${jackson.version}</version> |
| 492 | </dependency> |
| 493 | <dependency> |
| 494 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 495 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 496 | <version>${jackson.version}</version> |
| 497 | </dependency> |
| 498 | </dependencies> |
| 499 | <executions> |
| 500 | <execution> |
| 501 | <goals> |
| 502 | <goal>generate</goal> |
| 503 | </goals> |
| 504 | <configuration> |
| 505 | <inputSpec>${project.build.directory}/generated-sources/swagger-maven-api-gen/client.yaml</inputSpec> |
| 506 | <language>spring</language> |
| 507 | </configuration> |
| 508 | </execution> |
| 509 | </executions> |
| 510 | </plugin> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 511 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 512 | </plugins> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 513 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 514 | </pluginManagement> |
| 515 | <plugins> |
| 516 | <plugin> |
| 517 | <groupId>org.codehaus.mojo</groupId> |
| 518 | <artifactId>versions-maven-plugin</artifactId> |
| 519 | <version>2.5</version> |
| 520 | <configuration> |
| 521 | <processAllModules>true</processAllModules> |
| 522 | </configuration> |
| 523 | </plugin> |
| 524 | <plugin> |
| 525 | <artifactId>maven-scm-plugin</artifactId> |
| 526 | <version>1.8.1</version> |
| 527 | <configuration> |
| 528 | <tag>${project.artifactId}-${project.version}</tag> |
| 529 | </configuration> |
| 530 | </plugin> |
| 531 | </plugins> |
| 532 | </build> |
DR695H | 849ca9b | 2018-07-10 18:04:11 -0400 | [diff] [blame] | 533 | </project> |