-<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">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.onap.dcae.collectors.ves</groupId>
- <artifactId>VESCollector</artifactId>
- <version>1.1.4-SNAPSHOT</version>
- <name>VESCollector</name>
- <description>VESCollector</description>
-
- <properties>
- <compiler.source.version>1.7</compiler.source.version>
- <compiler.target.version>1.7</compiler.target.version>
- <main.basedir>${project.basedir}</main.basedir>
- <surefire.plugin.version>2.19.1</surefire.plugin.version>
- <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version>
- <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
- <sonar.plugin.version>3.2</sonar.plugin.version>
- <pmd.plugin.version>3.5</pmd.plugin.version>
- <jacoco.plugin.version>0.7.7.201606060606</jacoco.plugin.version>
- <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
- <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
- <compiler.plugin.version>3.3</compiler.plugin.version>
- <jar.plugin.version>2.4</jar.plugin.version>
- <deploy.plugin.version>2.8</deploy.plugin.version>
- <source.plugin.version>2.4</source.plugin.version>
- <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
-
- <!--TEST SETTINGS -->
- <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
-
- <!--PLUGIN SETTINGS -->
-
-
- <pmd.violation.buildfail>false</pmd.violation.buildfail>
- <findbugs.failOnError>true</findbugs.failOnError>
- <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
- <!-- <checkstyle.file.name>checkstyle.xml</checkstyle.file.name> -->
- <!-- <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name> -->
- <jacoco.it.execution.data.file>${project.build.directory}/coverage-reports/jacoco-it.exec
- </jacoco.it.execution.data.file>
- <jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec
- </jacoco.ut.execution.data.file>
- <dependency.locations.enabled>false</dependency.locations.enabled>
- <!-- <sonar.host.url>http://localhost:9000</sonar.host.url> -->
- <!-- <maven.test.skip>true</maven.test.skip> -->
- <nexusproxy>https://nexus.openecomp.org</nexusproxy>
- </properties>
-
- <pluginRepositories>
- <!-- Black Duck plugin dependencies -->
- <pluginRepository>
- <id>JCenter</id>
- <name>JCenter Repository</name>
- <url>http://jcenter.bintray.com</url>
- </pluginRepository>
-
- <pluginRepository>
- <id>Restlet</id>
- <name>Restlet Repository</name>
- <url>http://maven.restlet.com</url>
- </pluginRepository>
- </pluginRepositories>
-
- <dependencies>
-
- <!-- JSON libraries -->
- <dependency>
- <groupId>com.googlecode.json-simple</groupId>
- <artifactId>json-simple</artifactId>
- <version>1.1.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.github.fge</groupId>
- <artifactId>json-schema-validator</artifactId>
- <version>2.0.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.3.1</version>
- </dependency>
-
- <!-- NSA server library -->
- <dependency>
- <groupId>com.att.nsa</groupId>
- <artifactId>nsaServerLibrary</artifactId>
- <version>1.0.13</version>
- </dependency>
-
- <dependency>
- <groupId>com.att.nsa</groupId>
- <artifactId>saToolkit</artifactId>
- <version>1.1.3</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.7.21</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>apache-log4j-extras</artifactId>
- <version>1.2.17</version>
- </dependency>
-
-
- <!-- https://mvnrepository.com/artifact/org.json/json -->
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <version>20160810</version>
- </dependency>
-
- <dependency>
- <groupId>commons-configuration</groupId>
- <artifactId>commons-configuration</artifactId>
- <version>1.10</version>
- </dependency>
-
- </dependencies>
-
-
- <repositories>
- <repository>
- <id>external-repository</id>
- <url>https://oss.sonatype.org/content/repositories</url>
- </repository>
- </repositories>
-
-
- <build>
- <pluginManagement>
- <plugins>
-
- <!-- COMPILER PLUGIN -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${compiler.plugin.version}</version>
- <configuration>
- <source>${compiler.target.version}</source>
- <target>${compiler.source.version}</target>
- </configuration>
- </plugin>
-
- <!-- MAVEN SOURCE PLUGIN -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${source.plugin.version}</version>
- <configuration>
- <excludeResources>true</excludeResources>
- </configuration>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- JAR PLUGIN -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${jar.plugin.version}</version>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- <manifestEntries>
- <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>${findbugs.plugin.version}</version>
- <configuration>
- <effort>Max</effort>
- <threshold>Low</threshold>
- <xmlOutput>true</xmlOutput>
- <!-- BUILD FAIL ON FINDBUGS ERRORS -->
- <failOnError>${findbugs.failOnError}</failOnError>
- <!-- <excludeFilterFile>${main.basedir}/findbugs-exclude.xml</excludeFilterFile> -->
- <outputDirectory>${project.reporting.outputDirectory}/findbugs</outputDirectory>
- <findbugsXmlOutputDirectory>${project.reporting.outputDirectory}/findbugs
- </findbugsXmlOutputDirectory>
- </configuration>
- <executions>
- <execution>
- <id>analyze-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- CHECKSTYLE PLUGIN -->
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
- <executions>
- <execution>
- <id>validate</id>
- <phase>validate</phase>
- <configuration>
- <configLocation>${checkstyle.file.name}</configLocation>
- <!-- <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation> -->
- <encoding>UTF-8</encoding>
- <consoleOutput>true</consoleOutput>
-
- <failOnViolation>${checkstyle.failOnViolation}</failOnViolation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <outputFile>${project.reporting.outputDirectory}/checkstyle</outputFile>
- </configuration>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>6.19</version>
- </dependency>
- </dependencies>
- </plugin>
-
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.4.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/dep.xml</descriptor>
- </descriptors>
- </configuration>
-
- <executions>
- <execution>
- <id>make-assembly</id> <!-- this is used for inheritance merges -->
- <phase>package</phase> <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>license-maven-plugin</artifactId>
- <version>1.10</version>
- <configuration>
- <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
- <processStartTag>============LICENSE_START=======================================================</processStartTag>
- <processEndTag>============LICENSE_END=========================================================</processEndTag>
- <sectionDelimiter>================================================================================</sectionDelimiter>
- <licenseName>apache_v2</licenseName>
- <inceptionYear>2017</inceptionYear>
- <organizationName>AT&T Intellectual Property. All rights
- reserved.</organizationName>
- <projectName>PROJECT</projectName>
- <canUpdateCopyright>true</canUpdateCopyright>
- <canUpdateDescription>true</canUpdateDescription>
- <canUpdateLicense>true</canUpdateLicense>
- <emptyLineAfterHeader>true</emptyLineAfterHeader>
- </configuration>
- <executions>
- <execution>
- <id>first</id>
- <goals>
- <goal>update-file-header</goal>
- </goals>
- <phase>process-sources</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>2.10</version>
- </dependency>
- </dependencies>
- </plugin>
-
-
- <!-- MAVEN JAVADOC PLUGIN -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
- <configuration>
- <!-- minimize console output messages -->
- <quiet>true</quiet>
- <verbose>false</verbose>
- <useStandardDocletOptions>false</useStandardDocletOptions>
- </configuration>
- <executions>
- <execution>
- <id>aggregate</id>
- <phase>site</phase>
- <goals>
- <goal>aggregate</goal>
- </goals>
- </execution>
- <execution>
- <id>attach-javadoc</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
-
- <!-- SONAR PLUGIN -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>${sonar.plugin.version}</version>
- </plugin>
-
- <!-- DEPLOY PLUGIN -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- </plugin>
- <!-- JACOCO CODE COVERAGE PLUGIN -->
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.plugin.version}</version>
-
- <executions>
- <!-- prepare jacoco agent before unit tests -->
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <destFile>${jacoco.ut.execution.data.file}</destFile>
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!-- generate unit test coverage report -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <dataFile>${jacoco.ut.execution.data.file}</dataFile>
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- <!-- prepare jacoco agent before integration tests -->
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <destFile>${jacoco.it.execution.data.file}</destFile>
- <propertyName>failsafeArgLine</propertyName>
- </configuration>
- </execution>
- <!-- generate integration test coverage report -->
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <dataFile>${jacoco.it.execution.data.file}</dataFile>
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- PMD PLUGIN SETUP -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
- <configuration>
- <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
- <targetJdk>${compiler.target.version}</targetJdk>
- <linkXRef>false</linkXRef>
- <!-- BUILD FAIL ON PMD VIOLATION -->
- <failOnViolation>${pmd.violation.buildfail}</failOnViolation>
- <targetDirectory>${project.reporting.outputDirectory}/pmd</targetDirectory>
- </configuration>
- <executions>
- <execution>
- <id>pmd-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <printFailingErrors>true</printFailingErrors>
- <excludeFromFailureFile>${main.basedir}/pmd-exclude.properties</excludeFromFailureFile>
- </configuration>
- </execution>
- <execution>
- <id>cpd-check</id>
- <goals>
- <!-- <goal>cpd-check</goal> -->
- </goals>
- <configuration>
- <printFailingErrors>true</printFailingErrors>
- <!-- <excludeFromFailureFile>${main.basedir}/cpd-exclude.properties</excludeFromFailureFile> -->
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- SUREFIRE TEST PLUGIN -->
- <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.plugin.version}</version> <configuration> <skipTests>${skip.unit.tests}</skipTests>
- <argLine>-Xmx2048m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:OnOutOfMemoryError="kill
- -9 %p" -XX:+HeapDumpOnOutOfMemoryError </argLine> <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
- <parallel>methods</parallel> <threadCount>8</threadCount> <forkCount>8</forkCount>
- <reuseForks>true</reuseForks> <reportFormat>xml</reportFormat> <trimStackTrace>false</trimStackTrace>
- <systemPropertyVariables> <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
- <logback.configurationFile> ${basedir}/src/test/resources/logback-test.xml
- </logback.configurationFile> </systemPropertyVariables> <includes> <include>${unit.test.pattern}</include>
- </includes> <excludes> <exclude>${integration.test.pattern}</exclude> </excludes>
- <argLine>${surefireArgLine}</argLine> </configuration> <dependencies> <dependency>
- <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId>
- <version>${surefire.plugin.version}</version> </dependency> </dependencies>
- </plugin> -->
- <!-- FAIL SAFE PLUGIN FOR INTEGRATION TEST -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>${failsafe.plugin.version}</version>
- <executions>
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <skipTests>${skip.integration.tests}</skipTests>
- <!-- Sets the VM argument line used when integration tests are run. -->
- <!--suppress MavenModelInspection -->
- <argLine>${failsafeArgLine}</argLine>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- blackduck maven plugin -->
- <plugin>
- <groupId>com.blackducksoftware.integration</groupId>
- <artifactId>hub-maven-plugin</artifactId>
- <version>1.4.0</version>
- <inherited>false</inherited>
- <configuration>
- <hubProjectName>${project.name}</hubProjectName>
- <outputDirectory>${project.basedir}</outputDirectory>
- </configuration>
- <executions>
- <execution>
- <id>create-bdio-file</id>
- <phase>package</phase>
- <goals>
- <goal>createHubOutput</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
-
- <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
- </plugin> -->
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>com.blackducksoftware.integration</groupId>
- <artifactId>hub-maven-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
-
- <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId>
- </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin> -->
-
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- <configuration>
- <serverId>ecomp-staging</serverId>
- <nexusUrl>${nexusproxy}</nexusUrl>
- <stagingProfileId>176c31dfe190a</stagingProfileId>
- </configuration>
- </plugin>
-
-
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <!-- <execution> <id>copy</id> <phase>compile</phase> <goals> <goal>copy</goal>
- </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.openecomp.dcae.controller</groupId>
- <artifactId>dcae-controller-service-standardeventcollector-manager</artifactId>
- <version>${project.version}</version> <type>zip</type> <classifier>runtime</classifier>
- <overWrite>true</overWrite> <outputDirectory>.</outputDirectory> <destFileName>manager.zip</destFileName>
- </artifactItem> </artifactItems> </configuration> </execution> -->
- </executions>
- </plugin>
-
- </plugins>
-
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.6</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependencies</report>
- <report>license</report>
- </reports>
- </reportSet>
- </reportSets>
-
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <configuration>
- <failOnError>false</failOnError>
- <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
- <docletArtifact>
- <groupId>org.umlgraph</groupId>
- <artifactId>umlgraph</artifactId>
- <version>5.6</version>
- </docletArtifact>
- <additionalparam>-views</additionalparam>
- <useStandardDocletOptions>true</useStandardDocletOptions>
- </configuration>
- </plugin>
-
- </plugins>
- </reporting>
-
- <distributionManagement>
- <site>
- <id>dcae-javadoc</id>
- <!-- <url>file:LOCALDIR/${project.artifactId}/</url> -->
- <url>dav:https://ecomp-nexus:8443/repository/dcae-javadoc/${project.artifactId}/${project.version}</url>
- </site>
- <repository>
- <id>ecomp-releases</id>
- <name>Open eCOMP Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <name>Open eCOMP Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
- </snapshotRepository>
-
- </distributionManagement>
-</project>
+<?xml version="1.0"?>\r
+<!--\r
+ ================================================================================\r
+ Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.\r
+ Copyright (c) 2018 Nokia. All rights reserved.\r
+ ================================================================================\r
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not\r
+ use this file except in compliance with the License. You may obtain a copy\r
+ of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required\r
+ by applicable law or agreed to in writing, software distributed under the\r
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS\r
+ OF ANY KIND, either express or implied. See the License for the specific\r
+ language governing permissions and limitations under the License.\r
+ ============LICENSE_END=========================================================\r
+-->\r
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
+ <modelVersion>4.0.0</modelVersion>\r
+ <parent>\r
+ <groupId>org.onap.oparent</groupId>\r
+ <artifactId>oparent</artifactId>\r
+ <version>2.0.0</version>\r
+ <relativePath/>\r
+ </parent>\r
+ <groupId>org.onap.dcaegen2.collectors.ves</groupId>\r
+ <artifactId>VESCollector</artifactId>\r
+ <version>1.6.1-SNAPSHOT</version>\r
+ <name>dcaegen2-collectors-ves</name>\r
+ <description>VESCollector</description>\r
+ <properties>\r
+ <!-- PROJECT SETTINGS -->\r
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
+ <java.version>11</java.version>\r
+ <docker.image.name>onap/org.onap.dcaegen2.collectors.ves.vescollector</docker.image.name>\r
+ <!-- TEST SETTINGS -->\r
+ <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>\r
+ <!-- PLUGIN SETTINGS -->\r
+ <dependency.locations.enabled>false</dependency.locations.enabled>\r
+ <!-- NEXUS RELATED SETTINGS -->\r
+ <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+ <snapshots.path>content/repositories/snapshots/</snapshots.path>\r
+ <releases.path>content/repositories/releases/</releases.path>\r
+ <site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}</site.path>\r
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>\r
+ <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>\r
+ <maven.compiler.target>${java.version}</maven.compiler.target>\r
+ <maven.compiler.source>${java.version}</maven.compiler.source>\r
+ <sonar.coverage.jacoco.xmlReportPaths>\r
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml\r
+ </sonar.coverage.jacoco.xmlReportPaths>\r
+ <crypt-password.version>1.3.5</crypt-password.version>\r
+ <micrometer.version>1.4.2</micrometer.version>\r
+ <spring.version>2.2.2.RELEASE</spring.version>\r
+ </properties>\r
+ <build>\r
+ <pluginManagement>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-maven-plugin</artifactId>\r
+ </plugin>\r
+ <plugin>\r
+ <artifactId>maven-assembly-plugin</artifactId>\r
+ <version>3.1.0</version>\r
+ </plugin>\r
+ <plugin>\r
+ <artifactId>maven-javadoc-plugin</artifactId>\r
+ <version>3.0.1</version>\r
+ </plugin>\r
+ <plugin>\r
+ <artifactId>maven-project-info-reports-plugin</artifactId>\r
+ <version>2.9</version>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-surefire-plugin</artifactId>\r
+ <version>3.0.0-M1</version>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>com.spotify</groupId>\r
+ <artifactId>docker-maven-plugin</artifactId>\r
+ <version>1.2.0</version>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-enforcer-plugin</artifactId>\r
+ <configuration>\r
+ <skip>true</skip>\r
+ </configuration>\r
+ </plugin>\r
+ </plugins>\r
+ </pluginManagement>\r
+ <plugins>\r
+ <plugin>\r
+ <artifactId>maven-assembly-plugin</artifactId>\r
+ <configuration>\r
+ <descriptors>\r
+ <descriptor>src/assembly/dep.xml</descriptor>\r
+ </descriptors>\r
+ <attach>false</attach>\r
+ <appendAssemblyId>false</appendAssemblyId>\r
+ <updateOnly>true</updateOnly>\r
+ </configuration>\r
+ <executions>\r
+ <execution>\r
+ <id>make-assembly</id>\r
+ <phase>package</phase>\r
+ <goals>\r
+ <goal>single</goal>\r
+ </goals>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-maven-plugin</artifactId>\r
+ <executions>\r
+ <execution>\r
+ <goals>\r
+ <goal>repackage</goal>\r
+ </goals>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ <plugin>\r
+ <artifactId>maven-javadoc-plugin</artifactId>\r
+ <configuration>\r
+ <quiet>true</quiet>\r
+ <verbose>false</verbose>\r
+ <useStandardDocletOptions>false</useStandardDocletOptions>\r
+ </configuration>\r
+ <executions>\r
+ <execution>\r
+ <id>aggregate</id>\r
+ <phase>site</phase>\r
+ <goals>\r
+ <goal>aggregate</goal>\r
+ </goals>\r
+ </execution>\r
+ <execution>\r
+ <id>attach-javadoc</id>\r
+ <goals>\r
+ <goal>jar</goal>\r
+ </goals>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>com.spotify</groupId>\r
+ <artifactId>docker-maven-plugin</artifactId>\r
+ <configuration>\r
+ <serverId>${onap.nexus.dockerregistry.daily}</serverId>\r
+ <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>\r
+ <imageTags>\r
+ <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>\r
+ <imageTag>${project.version}</imageTag>\r
+ <imageTag>latest</imageTag>\r
+ </imageTags>\r
+ <baseImage>openjdk:11-jre-slim</baseImage>\r
+ <user>vescollector</user>\r
+ <env>\r
+ <HOSTALIASES>/etc/host.aliases</HOSTALIASES>\r
+ </env>\r
+ <workdir>/opt/app/VESCollector</workdir>\r
+ <resources>\r
+ <resource>\r
+ <targetPath>.</targetPath>\r
+ <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>\r
+ </resource>\r
+ </resources>\r
+ <runs>\r
+ <run>useradd -r -U vescollector</run>\r
+ <run>chown -R vescollector:vescollector /opt/app</run>\r
+ <run>mkdir /opt/app/VESCollector/logs</run>\r
+ <run>chown -R vescollector:vescollector /opt/app/VESCollector/logs</run>\r
+ <run>chown -R vescollector:vescollector /opt/app/VESCollector/etc</run>\r
+ <!-- Maven is loosing file permissions during artifacts copy -->\r
+ <run>chmod +x bin/*.sh</run>\r
+ <run>\r
+ <![CDATA[apt-get update && apt-get install -y --no-install-recommends procps && apt-get install -y vim && apt-get install -y curl && apt-get clean all]]></run>\r
+ </runs>\r
+ <exposes>\r
+ <expose>8080</expose>\r
+ <expose>8443</expose>\r
+ </exposes>\r
+ <cmd>bin/docker-entry.sh</cmd>\r
+ </configuration>\r
+ <!--<executions>\r
+ <execution>\r
+ <id>build-image</id>\r
+ <phase>package</phase>\r
+ <goals>\r
+ <goal>deploy</goal>\r
+ </goals>\r
+ </execution>\r
+ <execution>\r
+ <id>tag-and-push-image-latest</id>\r
+ <phase>deploy</phase>\r
+ <goals>\r
+ <goal>tag</goal>\r
+ </goals>\r
+ <configuration>\r
+ <image>${docker.image.name}:latest</image>\r
+ <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</newName>\r
+ <pushImage>true</pushImage>\r
+ </configuration>\r
+ </execution>\r
+ <execution>\r
+ <id>tag-and-push-image-with-version</id>\r
+ <phase>deploy</phase>\r
+ <goals>\r
+ <goal>tag</goal>\r
+ </goals>\r
+ <configuration>\r
+ <image>${docker.image.name}:latest</image>\r
+ <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}</newName>\r
+ <pushImage>true</pushImage>\r
+ </configuration>\r
+ </execution>\r
+ <execution>\r
+ <id>tag-and-push-image-with-version-and-date</id>\r
+ <phase>deploy</phase>\r
+ <goals>\r
+ <goal>tag</goal>\r
+ </goals>\r
+ <configuration>\r
+ <image>${docker.image.name}:latest</image>\r
+ <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z</newName>\r
+ <pushImage>true</pushImage>\r
+ </configuration>\r
+ </execution>\r
+ </executions> -->\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+ <profiles>\r
+ <profile>\r
+ <id>buildForPerfTests</id>\r
+ <activation>\r
+ <activeByDefault>false</activeByDefault>\r
+ </activation>\r
+ <dependencies>\r
+ <!-- Libraries related with performance tests-->\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-actuator</artifactId>\r
+ <version>${spring.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.micrometer</groupId>\r
+ <artifactId>micrometer-registry-prometheus</artifactId>\r
+ <version>${micrometer.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.micrometer</groupId>\r
+ <artifactId>micrometer-core</artifactId>\r
+ <version>${micrometer.version}</version>\r
+ </dependency>\r
+ </dependencies>\r
+ </profile>\r
+ <profile>\r
+ <id>with-system-proxy</id>\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>com.spotify</groupId>\r
+ <artifactId>docker-maven-plugin</artifactId>\r
+ <configuration>\r
+ <buildArgs>\r
+ <http_proxy>${env.http_proxy}</http_proxy>\r
+ </buildArgs>\r
+ </configuration>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+ </profile>\r
+ </profiles>\r
+ <reporting>\r
+ <plugins>\r
+ <plugin>\r
+ <artifactId>maven-project-info-reports-plugin</artifactId>\r
+ <reportSets>\r
+ <reportSet>\r
+ <reports>\r
+ <report>dependencies</report>\r
+ <report>license</report>\r
+ </reports>\r
+ </reportSet>\r
+ </reportSets>\r
+ </plugin>\r
+ <plugin>\r
+ <artifactId>maven-javadoc-plugin</artifactId>\r
+ <configuration>\r
+ <failOnError>false</failOnError>\r
+ <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>\r
+ <docletArtifact>\r
+ <groupId>org.umlgraph</groupId>\r
+ <artifactId>umlgraph</artifactId>\r
+ <version>5.6</version>\r
+ </docletArtifact>\r
+ <additionalparam>-views</additionalparam>\r
+ <useStandardDocletOptions>true</useStandardDocletOptions>\r
+ </configuration>\r
+ </plugin>\r
+ </plugins>\r
+ </reporting>\r
+ <dependencyManagement>\r
+ <dependencies>\r
+ <dependency>\r
+ <!-- Import dependency management from Spring Boot -->\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-dependencies</artifactId>\r
+ <version>${spring.version}</version>\r
+ <type>pom</type>\r
+ <scope>import</scope>\r
+ </dependency>\r
+ </dependencies>\r
+ </dependencyManagement>\r
+ <dependencies>\r
+ <!-- JSON RELATED -->\r
+ <dependency>\r
+ <groupId>com.googlecode.json-simple</groupId>\r
+ <artifactId>json-simple</artifactId>\r
+ <version>1.1.1</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.networknt</groupId>\r
+ <artifactId>json-schema-validator</artifactId>\r
+ <version>1.0.29</version>\r
+ <exclusions>\r
+ <exclusion>\r
+ <groupId>com.fasterxml.jackson.core</groupId>\r
+ <artifactId>jackson-databind</artifactId>\r
+ </exclusion>\r
+ </exclusions>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.google.code.gson</groupId>\r
+ <artifactId>gson</artifactId>\r
+ <version>2.8.5</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.json</groupId>\r
+ <artifactId>json</artifactId>\r
+ <version>20160810</version>\r
+ </dependency>\r
+ <!-- REST API RELATED -->\r
+ <dependency>\r
+ <groupId>com.att.nsa</groupId>\r
+ <artifactId>cambriaClient</artifactId>\r
+ <version>0.0.1</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.mashape.unirest</groupId>\r
+ <artifactId>unirest-java</artifactId>\r
+ <version>1.4.9</version>\r
+ </dependency>\r
+ <!-- MISCELLANEOUS -->\r
+ <dependency>\r
+ <groupId>commons-collections</groupId>\r
+ <artifactId>commons-collections</artifactId>\r
+ <version>3.2.2</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>commons-configuration</groupId>\r
+ <artifactId>commons-configuration</artifactId>\r
+ <version>1.10</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.vavr</groupId>\r
+ <artifactId>vavr</artifactId>\r
+ <version>0.9.2</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-web</artifactId>\r
+ <exclusions>\r
+ <exclusion>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-logging</artifactId>\r
+ </exclusion>\r
+ </exclusions>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-log4j2</artifactId>\r
+ <version>2.1.5.RELEASE</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-swagger2</artifactId>\r
+ <version>2.8.0</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-swagger-ui</artifactId>\r
+ <version>2.8.0</version>\r
+ <scope>compile</scope>\r
+ </dependency>\r
+ <!-- TESTING -->\r
+ <dependency>\r
+ <groupId>org.junit.jupiter</groupId>\r
+ <artifactId>junit-jupiter-api</artifactId>\r
+ <version>5.3.1</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.junit.jupiter</groupId>\r
+ <artifactId>junit-jupiter-engine</artifactId>\r
+ <version>5.3.1</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.junit.vintage</groupId>\r
+ <artifactId>junit-vintage-engine</artifactId>\r
+ <version>5.3.1</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.mockito</groupId>\r
+ <artifactId>mockito-junit-jupiter</artifactId>\r
+ <version>2.23.0</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.assertj</groupId>\r
+ <artifactId>assertj-core</artifactId>\r
+ <version>3.8.0</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.google.jimfs</groupId>\r
+ <artifactId>jimfs</artifactId>\r
+ <version>1.1</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.github.tomakehurst</groupId>\r
+ <artifactId>wiremock-standalone</artifactId>\r
+ <version>2.17.0</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.security</groupId>\r
+ <artifactId>spring-security-test</artifactId>\r
+ <version>5.1.1.RELEASE</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-test</artifactId>\r
+ <version>2.1.0.RELEASE</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>\r
+ <artifactId>crypt-password</artifactId>\r
+ <classifier>slim</classifier>\r
+ <version>${crypt-password.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.security</groupId>\r
+ <artifactId>spring-security-crypto</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.onap.dcaegen2.services.sdk.standardization</groupId>\r
+ <artifactId>api-custom-header</artifactId>\r
+ <version>1.1.4</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.functionaljava</groupId>\r
+ <artifactId>functionaljava</artifactId>\r
+ <version>4.8.1</version>\r
+ <scope>compile</scope>\r
+ </dependency>\r
+ </dependencies>\r
+ <repositories>\r
+ <repository>\r
+ <id>external-repository</id>\r
+ <url>https://oss.sonatype.org/content/repositories</url>\r
+ </repository>\r
+ </repositories>\r
+ <pluginRepositories>\r
+ <!-- Black Duck plugin dependencies -->\r
+ <pluginRepository>\r
+ <id>JCenter</id>\r
+ <name>JCenter Repository</name>\r
+ <url>http://jcenter.bintray.com</url>\r
+ </pluginRepository>\r
+ <pluginRepository>\r
+ <id>Restlet</id>\r
+ <name>Restlet Repository</name>\r
+ <url>http://maven.restlet.com</url>\r
+ </pluginRepository>\r
+ </pluginRepositories>\r
+</project>\r