1 <?xml version="1.0" encoding="UTF-8"?>
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>
6 <groupId>org.springframework.boot</groupId>
7 <artifactId>spring-boot-starter-parent</artifactId>
8 <version>1.5.22.RELEASE</version>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>spring-boot-1-starter-parent</artifactId>
14 <version>1.5.1-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
18 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
19 <url>http://wiki.onap.org</url>
26 <url>https://jira.onap.org/</url>
28 <distributionManagement>
30 <id>ecomp-releases</id>
31 <url>https://nexus.onap.org/content/repositories/releases</url>
34 <id>ecomp-snapshots</id>
35 <url>https://nexus.onap.org/content/repositories/snapshots</url>
37 </distributionManagement>
41 <!-- properties from oparent -->
42 <maven.compiler.source>1.8</maven.compiler.source>
43 <maven.compiler.target>1.8</maven.compiler.target>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
47 <!-- sitePath may be overridden in the inheriting POM if desired -->
48 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
49 <jacoco.version>0.7.7.201606060606</jacoco.version>
50 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
51 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
52 <!-- Default Sonar configuration -->
53 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
54 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
56 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
57 <!-- If following file exist, auto-generation of swagger.json will be done -->
58 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
59 <!-- If following file exist, auto-generation of sdk will be done -->
60 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
61 <!-- end of properties from oparent -->
63 <!-- ONAP repositories -->
64 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
65 <onap.nexus.port>443</onap.nexus.port>
66 <onap.nexus.protocol>https</onap.nexus.protocol>
67 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
68 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
69 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
70 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
71 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
72 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
74 <java.version.source>1.8</java.version.source>
75 <java.version.target>1.8</java.version.target>
76 <bundle.plugin.version>2.5.0</bundle.plugin.version>
77 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
78 <features.file>features.xml</features.file>
79 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
80 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
81 <checkstyle.skip>true</checkstyle.skip>
83 <sonar.language>java</sonar.language>
84 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
85 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
86 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
87 <sonar.projectVersion>${project.version}</sonar.projectVersion>
89 <!-- CCSDK component versions -->
90 <ccsdk.sli.core.version>0.7.0-SNAPSHOT</ccsdk.sli.core.version>
91 <ccsdk.sli.adaptors.version>0.7.0-SNAPSHOT</ccsdk.sli.adaptors.version>
92 <ccsdk.sli.northbound.version>0.7.0-SNAPSHOT</ccsdk.sli.northbound.version>
93 <ccsdk.sli.plugins.version>0.7.0-SNAPSHOT</ccsdk.sli.plugins.version>
94 <ccsdk.distribution.version>0.7.0-SNAPSHOT</ccsdk.distribution.version>
95 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
96 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
97 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
98 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
99 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
101 <mariadb.connector.version>2.1.1</mariadb.connector.version>
103 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
107 <dependencyManagement>
110 <groupId>org.onap.ccsdk.parent</groupId>
111 <artifactId>dependencies-bom</artifactId>
112 <version>1.5.1-SNAPSHOT</version>
114 <scope>import</scope>
117 <groupId>org.onap.ccsdk.sli.core</groupId>
118 <artifactId>sli-common</artifactId>
119 <version>${ccsdk.sli.core.version}</version>
123 <groupId>org.onap.ccsdk.sli.core</groupId>
124 <artifactId>sli-provider</artifactId>
125 <version>${ccsdk.sli.core.version}</version>
128 <groupId>org.onap.ccsdk.sli.core</groupId>
129 <artifactId>ccsdk-sli</artifactId>
130 <version>${ccsdk.sli.core.version}</version>
132 <classifier>features</classifier>
135 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
136 <artifactId>aai-service-provider</artifactId>
137 <version>${sdnctl.aai.service.version}</version>
141 <groupId>org.onap.ccsdk.sli.core</groupId>
142 <artifactId>dblib-provider</artifactId>
143 <version>${sdnctl.dblib.version}</version>
148 </dependencyManagement>
153 <url>https://nexus.onap.org/content/groups/public</url>
155 <enabled>true</enabled>
156 <updatePolicy>never</updatePolicy>
159 <enabled>true</enabled>
160 <updatePolicy>always</updatePolicy>
164 <id>onap-staging</id>
165 <url>https://nexus.onap.org/content/groups/staging</url>
167 <enabled>true</enabled>
168 <updatePolicy>never</updatePolicy>
171 <enabled>true</enabled>
172 <updatePolicy>always</updatePolicy>
176 <id>ecomp-release</id>
177 <name>onap-repository-releases</name>
178 <url>https://nexus.onap.org/content/repositories/releases</url>
180 <enabled>true</enabled>
181 <updatePolicy>never</updatePolicy>
184 <enabled>false</enabled>
188 <id>ecomp-snapshot</id>
189 <name>onap-repository-snapshots</name>
190 <url>https://nexus.onap.org/content/repositories/snapshots</url>
192 <enabled>false</enabled>
195 <enabled>true</enabled>
199 <id>opendaylight-mirror</id>
200 <name>opendaylight-mirror</name>
201 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
203 <enabled>true</enabled>
204 <updatePolicy>never</updatePolicy>
207 <enabled>false</enabled>
211 <id>opendaylight-snapshot</id>
212 <name>opendaylight-snapshot</name>
213 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
215 <enabled>false</enabled>
218 <enabled>true</enabled>
226 <url>${onap.nexus.public-url}</url>
228 <enabled>true</enabled>
231 <enabled>true</enabled>
235 <id>onap-staging</id>
236 <url>${onap.nexus.staging-url}</url>
238 <enabled>true</enabled>
241 <enabled>true</enabled>
245 <id>onap-snapshot</id>
246 <url>${onap.nexus.snapshot-url}</url>
248 <enabled>false</enabled>
251 <enabled>true</enabled>
255 <id>opendaylight-mirror</id>
256 <name>opendaylight-mirror</name>
257 <url>${opendaylight.nexus.public-url}</url>
259 <enabled>true</enabled>
260 <updatePolicy>never</updatePolicy>
263 <enabled>false</enabled>
267 <id>opendaylight-snapshot</id>
268 <name>opendaylight-snapshot</name>
269 <url>${opendaylight.nexus.snapshot-url}</url>
271 <enabled>false</enabled>
274 <enabled>true</enabled>
277 <!-- Black Duck plugin dependencies -->
280 <name>JCenter Repository</name>
281 <url>http://jcenter.bintray.com</url>
286 <name>Restlet Repository</name>
287 <url>http://maven.restlet.com</url>
289 </pluginRepositories>
295 <!-- Plugins from ONAP oparent -->
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-deploy-plugin</artifactId>
299 <!-- This version supports the "deployAtEnd" parameter -->
300 <version>2.8</version>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-site-plugin</artifactId>
309 <version>3.6</version>
312 <groupId>org.apache.maven.wagon</groupId>
313 <artifactId>wagon-webdav-jackrabbit</artifactId>
314 <version>2.10</version>
317 <groupId>org.apache.maven.doxia</groupId>
318 <artifactId>doxia-core</artifactId>
319 <version>1.7</version>
322 <groupId>org.apache.maven.doxia</groupId>
323 <artifactId>doxia-sink-api</artifactId>
324 <version>1.7</version>
327 <groupId>org.apache.maven.doxia</groupId>
328 <artifactId>doxia-logging-api</artifactId>
329 <version>1.7</version>
334 <id>attach-descriptor</id>
336 <goal>attach-descriptor</goal>
342 <artifactId>maven-checkstyle-plugin</artifactId>
343 <version>2.17</version>
346 <groupId>org.onap.oparent</groupId>
347 <artifactId>checkstyle</artifactId>
348 <version>1.1.1</version>
353 <id>check-license</id>
357 <phase>process-sources</phase>
359 <configLocation>onap-checkstyle/check-license.xml</configLocation>
360 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
361 <includeResources>false</includeResources>
362 <includeTestSourceDirectory>true</includeTestSourceDirectory>
363 <includeTestResources>false</includeTestResources>
364 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
367 <failsOnError>false</failsOnError>
368 <consoleOutput>true</consoleOutput>
376 <phase>process-sources</phase>
378 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
379 with minor changes -->
380 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
381 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
382 sources directory -->
383 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
384 <includeResources>true</includeResources>
385 <includeTestSourceDirectory>true</includeTestSourceDirectory>
386 <includeTestResources>true</includeTestResources>
389 <failsOnError>false</failsOnError>
390 <consoleOutput>true</consoleOutput>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
398 <version>${jacoco.version}</version>
400 <!-- Note: This exclusion list should match <sonar.exclusions> property
403 <exclude>**/gen/**</exclude>
404 <exclude>**/generated-sources/**</exclude>
405 <exclude>**/yang-gen/**</exclude>
406 <exclude>**/pax/**</exclude>
410 <!-- Prepares the property pointing to the JaCoCo runtime agent which
411 is passed as VM argument when Maven the Surefire plugin is executed. -->
413 <id>pre-unit-test</id>
415 <goal>prepare-agent</goal>
418 <!-- Sets the path to the file which contains the execution data. -->
419 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
420 <!-- Sets the name of the property containing the settings for JaCoCo
422 <propertyName>surefireArgLine</propertyName>
425 <!-- Ensures that the code coverage report for unit tests is created
426 after unit tests have been run. -->
428 <id>post-unit-test</id>
434 <!-- Sets the path to the file which contains the execution data. -->
435 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
436 <!-- Sets the output directory for the code coverage report. -->
437 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
441 <id>pre-integration-test</id>
442 <phase>pre-integration-test</phase>
444 <goal>prepare-agent</goal>
447 <!-- Sets the path to the file which contains the execution data. -->
448 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
449 <!-- Sets the name of the property containing the settings for JaCoCo
451 <propertyName>failsafeArgLine</propertyName>
454 <!-- Ensures that the code coverage report for integration tests after
455 integration tests have been run. -->
457 <id>post-integration-test</id>
458 <phase>post-integration-test</phase>
463 <!-- Sets the path to the file which contains the execution data. -->
464 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
465 <!-- Sets the output directory for the code coverage report. -->
466 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-surefire-plugin</artifactId>
474 <version>2.19.1</version>
476 <!-- Sets the VM argument line used when unit tests are run. -->
477 <argLine>${surefireArgLine}</argLine>
478 <!-- Excludes integration tests when unit tests are run. -->
480 <exclude>**/IT*.java</exclude>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-failsafe-plugin</artifactId>
487 <version>2.19.1</version>
489 <!-- Ensures that both integration-test and verify goals of the Failsafe
490 Maven plugin are executed. -->
492 <id>integration-tests</id>
494 <goal>integration-test</goal>
498 <!-- Sets the VM argument line used when integration tests are run. -->
499 <argLine>${failsafeArgLine}</argLine>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-compiler-plugin</artifactId>
507 <version>${maven.compile.plugin.version}</version>
509 <source>${java.version.source}</source>
510 <target>${java.version.target}</target>
514 <groupId>org.sonarsource.scanner.maven</groupId>
515 <artifactId>sonar-maven-plugin</artifactId>
516 <version>3.6.0.1398</version>
519 <!-- End of plugins from ONAP oparent -->
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-javadoc-plugin</artifactId>
524 <version>2.10</version>
526 <additionalDependencies>
527 <additionalDependency>
528 <groupId>org.slf4j</groupId>
529 <artifactId>slf4j-api</artifactId>
530 <version>${slf4j.version}</version>
531 </additionalDependency>
532 <additionalDependency>
533 <groupId>org.antlr</groupId>
534 <artifactId>antlr4</artifactId>
535 <version>${antlr.version}</version>
536 </additionalDependency>
537 <additionalDependency>
538 <groupId>org.antlr</groupId>
539 <artifactId>antlr4-runtime</artifactId>
540 <version>${antlr.version}</version>
541 </additionalDependency>
543 <additionalDependency>
544 <groupId>com.sun.jersey</groupId>
545 <artifactId>jersey-client</artifactId>
546 <version>${jersey.client.version}</version>
547 </additionalDependency>
548 <additionalDependency>
549 <groupId>com.sun.jersey</groupId>
550 <artifactId>jersey-core</artifactId>
551 <version>${jersey.version}</version>
552 </additionalDependency>
553 <additionalDependency>
554 <groupId>org.apache.httpcomponents</groupId>
555 <artifactId>httpcore-osgi</artifactId>
556 <version>${apache.httpcomponents.core.version}</version>
557 </additionalDependency>
558 <additionalDependency>
559 <groupId>org.apache.httpcomponents</groupId>
560 <artifactId>httpclient-osgi</artifactId>
561 <version>${apache.httpcomponents.client.version}</version>
562 </additionalDependency>
563 <additionalDependency>
564 <groupId>commons-lang</groupId>
565 <artifactId>commons-lang</artifactId>
566 <version>${commons.lang.version}</version>
567 </additionalDependency>
568 </additionalDependencies>
575 <goal>aggregate</goal>
583 <groupId>com.github.ferstl</groupId>
584 <artifactId>depgraph-maven-plugin</artifactId>
585 <version>3.3.0</version>
587 <graphFormat>text</graphFormat>
588 <outputFileName>${dependency-list.file}</outputFileName>
589 <outputDirectory>${project.basedir}</outputDirectory>
590 <transitiveExcludes>*</transitiveExcludes>
591 <showVersions>true</showVersions>
592 <showGroupIds>true</showGroupIds>
599 <!-- Plugins from ONAP oparent -->
601 <artifactId>maven-checkstyle-plugin</artifactId>
604 <groupId>org.codehaus.mojo</groupId>
605 <artifactId>build-helper-maven-plugin</artifactId>
606 <version>1.12</version>
608 <!-- Jacoco / Sonar -->
610 <groupId>org.jacoco</groupId>
611 <artifactId>jacoco-maven-plugin</artifactId>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-surefire-plugin</artifactId>
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-failsafe-plugin</artifactId>
622 <!-- End of plugins from ONAP oparent -->
624 <groupId>org.codehaus.mojo</groupId>
625 <artifactId>properties-maven-plugin</artifactId>
626 <version>1.0.0</version>
630 <goal>set-system-properties</goal>
635 <name>maven.wagon.http.ssl.allowall</name>
636 <value>${ssl.allowall}</value>
639 <name>maven.wagon.http.ssl.insecure</name>
640 <value>${ssl.insecure}</value>
648 <groupId>org.codehaus.mojo</groupId>
649 <artifactId>versions-maven-plugin</artifactId>
650 <version>2.5</version>
652 <processAllModules>true</processAllModules>
656 <artifactId>maven-scm-plugin</artifactId>
657 <version>1.8.1</version>
659 <tag>${project.artifactId}-${project.version}</tag>
668 <artifactId>maven-javadoc-plugin</artifactId>
669 <version>2.10.4</version>
671 <failOnError>false</failOnError>
672 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
674 <groupId>org.umlgraph</groupId>
675 <artifactId>umlgraph</artifactId>
676 <version>5.6</version>
678 <additionalparam>-views</additionalparam>
679 <useStandardDocletOptions>true</useStandardDocletOptions>
680 <excludePackageNames>org.opendaylight.*</excludePackageNames>
685 <report>javadoc-no-fork</report>
686 <report>test-javadoc-no-fork</report>
692 <report>aggregate</report>
693 <report>test-aggregate</report>
699 <groupId>org.apache.maven.plugins</groupId>
700 <artifactId>maven-jxr-plugin</artifactId>
701 <version>2.3</version>
706 <report>aggregate</report>
707 <report>test-aggregate</report>
714 <artifactId>maven-surefire-plugin</artifactId>
715 <version>2.17</version>
718 <groupId>org.apache.maven.plugins</groupId>
719 <artifactId>maven-changelog-plugin</artifactId>
720 <version>2.3</version>
729 <report>changelog</report>
730 <report>file-activity</report>
736 <groupId>org.codehaus.mojo</groupId>
737 <artifactId>taglist-maven-plugin</artifactId>
738 <version>2.4</version>
744 <!-- Profiles from ONAP oparent -->
746 <id>generate-json</id>
749 <exists>${swagger-properties}</exists>
752 <name>swagger-sdk.generate-json</name>
758 <groupId>org.codehaus.mojo</groupId>
759 <artifactId>properties-maven-plugin</artifactId>
760 <version>1.0.0</version>
763 <phase>initialize</phase>
765 <goal>read-project-properties</goal>
769 <file>${basedir}/src/main/resources/swagger.properties</file>
776 <groupId>com.github.kongchen</groupId>
777 <artifactId>swagger-maven-plugin</artifactId>
778 <version>3.1.4</version>
782 <locations>${api-rest-package}</locations>
783 <schemes>http,https</schemes>
784 <host>${api-host-ip}:${api-host-port}</host>
785 <basePath>${api-base-path}</basePath>
787 <title>${api-title}</title>
788 <version>${api-version}</version>
789 <description>${api-description}</description>
791 <name>${api-license}</name>
794 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
800 <phase>compile</phase>
802 <goal>generate</goal>
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-install-plugin</artifactId>
810 <version>2.3.1</version>
813 <id>install-file-id</id>
814 <phase>install</phase>
816 <goal>install-file</goal>
819 <file>${basedir}/src/main/resources/swagger.json</file>
820 <groupId>${project.groupId}</groupId>
821 <artifactId>${project.artifactId}-swagger-schema</artifactId>
822 <version>${project.version}</version>
823 <packaging>json</packaging>
832 <id>generate-sdk</id>
835 <exists>${swagger-json}</exists>
838 <name>swagger-sdk.generate-java-sdk</name>
844 <groupId>org.apache.maven.plugins</groupId>
845 <artifactId>maven-antrun-plugin</artifactId>
846 <version>1.8</version>
849 <phase>initialize</phase>
850 <id>ant-create-script</id>
852 <exportAntProperties>true</exportAntProperties>
855 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
856 <condition property="is_windows" value="true">
857 <os family="windows"/>
859 <condition property="isLinux" value="true">
863 <equals arg1="${is_windows}" arg2="true"/>
865 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
866 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
867 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
870 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
871 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
872 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
873 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
885 <groupId>ant-contrib</groupId>
886 <artifactId>ant-contrib</artifactId>
887 <version>1.0b3</version>
890 <groupId>ant</groupId>
891 <artifactId>ant</artifactId>
898 <groupId>io.swagger</groupId>
899 <artifactId>swagger-codegen-maven-plugin</artifactId>
900 <version>2.2.1</version>
904 <goal>generate</goal>
907 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
908 <output>${project.build.directory}/generated-sources</output>
909 <language>java</language>
911 <dateLibrary>joda</dateLibrary>
913 <library>jersey2</library>
914 <groupId>${project.groupId}</groupId>
915 <artifactId>${project.artifactId}-java-sdk</artifactId>
916 <artifactVersion>${project.version}</artifactVersion>
917 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
918 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
919 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
925 <groupId>org.codehaus.mojo</groupId>
926 <artifactId>exec-maven-plugin</artifactId>
927 <version>1.5.0</version>
930 <id>swagger-generate-sources</id>
931 <phase>generate-sources</phase>
936 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
942 <groupId>org.apache.maven.plugins</groupId>
943 <artifactId>maven-clean-plugin</artifactId>
944 <version>3.0.0</version>
947 <id>clean-generated-files</id>
948 <phase>generate-sources</phase>
955 <directory>${project.build.directory}/generated-sources</directory>
966 <groupId>org.onap.msb.swagger-sdk</groupId>
967 <artifactId>swagger-sdk</artifactId>
968 <version>1.0.0</version>
973 <id>sonar-jacoco-aggregate</id>
976 <name>onap.jacoco.aggregateFile</name>
982 <groupId>org.jacoco</groupId>
983 <artifactId>jacoco-maven-plugin</artifactId>
990 <phase>generate-resources</phase>
992 <destFile>${onap.jacoco.aggregateFile}</destFile>
995 <directory>${project.basedir}</directory>
997 <include>**/target/code-coverage/*.exec</include>
1008 <!-- End of profiles from ONAP oparent -->