-->\r
<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">\r
<parent>\r
- <groupId>com.att.cadi</groupId>\r
+ <groupId>org.onap.aaf.cadi</groupId>\r
<artifactId>parent</artifactId>\r
<relativePath>..</relativePath>\r
- <version>1.3.2</version>\r
+ <version>1.0.0-SNAPSHOT</version>\r
</parent>\r
\r
<modelVersion>4.0.0</modelVersion>\r
<packaging>jar</packaging>\r
<url>https://github.com/att/AAF</url>\r
<description>CADI</description>\r
- \r
+ <properties>\r
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+ <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
+ <!-- SONAR -->\r
+ <jacoco.version>0.7.7.201606060606</jacoco.version>\r
+ <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
+ <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
+ <!-- Default Sonar configuration -->\r
+ <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
+ <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
+ <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->\r
+ <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
+ <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
+ <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>\r
+ </properties>\r
<dependencies>\r
-\r
+ <dependency>\r
+ <groupId>org.mockito</groupId>\r
+ <artifactId>mockito-all</artifactId>\r
+ <version>1.9.5</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
<dependency>\r
<groupId>javax.servlet</groupId>\r
<artifactId>servlet-api</artifactId>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<artifactId>maven-javadoc-plugin</artifactId>\r
- <configuration>\r
+ <version>2.10.4</version>\r
+ <configuration>\r
<failOnError>false</failOnError>\r
</configuration>\r
<executions>\r
</execution>\r
</executions>\r
</plugin>\r
- \r
- <plugin>\r
- <groupId>org.sonatype.plugins</groupId>\r
- <artifactId>nexus-staging-maven-plugin</artifactId>\r
- <version>1.6.7</version>\r
- <extensions>true</extensions>\r
- <configuration>\r
- <serverId>ossrhdme</serverId>\r
- <nexusUrl>https://oss.sonatype.org/</nexusUrl>\r
- <autoReleaseAfterClose>true</autoReleaseAfterClose>\r
- </configuration>\r
- </plugin>\r
+ <plugin>\r
+ <groupId>org.sonatype.plugins</groupId>\r
+ <artifactId>nexus-staging-maven-plugin</artifactId>\r
+ <version>1.6.7</version>\r
+ <extensions>true</extensions>\r
+ <configuration>\r
+ <nexusUrl>${nexusproxy}</nexusUrl>\r
+ <stagingProfileId>176c31dfe190a</stagingProfileId>\r
+ <serverId>ecomp-staging</serverId>\r
+ </configuration>\r
+ </plugin> \r
+ \r
+<plugin>\r
+ <groupId>org.jacoco</groupId>\r
+ <artifactId>jacoco-maven-plugin</artifactId>\r
+ <version>${jacoco.version}</version>\r
+ <configuration>\r
+ <excludes>\r
+ <exclude>**/gen/**</exclude>\r
+ <exclude>**/generated-sources/**</exclude>\r
+ <exclude>**/yang-gen/**</exclude>\r
+ <exclude>**/pax/**</exclude>\r
+ </excludes>\r
+ </configuration>\r
+ <executions>\r
+\r
+ <execution>\r
+ <id>pre-unit-test</id>\r
+ <goals>\r
+ <goal>prepare-agent</goal>\r
+ </goals>\r
+ <configuration>\r
+ <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
+ <propertyName>surefireArgLine</propertyName>\r
+ </configuration>\r
+ </execution>\r
+ \r
+ \r
+ <execution>\r
+ <id>post-unit-test</id>\r
+ <phase>test</phase>\r
+ <goals>\r
+ <goal>report</goal>\r
+ </goals>\r
+ <configuration>\r
+ <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
+ <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
+ </configuration>\r
+ </execution>\r
+ <execution>\r
+ <id>pre-integration-test</id>\r
+ <phase>pre-integration-test</phase>\r
+ <goals>\r
+ <goal>prepare-agent</goal>\r
+ </goals>\r
+ <configuration>\r
+ <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
+\r
+ <propertyName>failsafeArgLine</propertyName>\r
+ </configuration>\r
+ </execution>\r
+\r
+ \r
+ <execution>\r
+ <id>post-integration-test</id>\r
+ <phase>post-integration-test</phase>\r
+ <goals>\r
+ <goal>report</goal>\r
+ </goals>\r
+ <configuration>\r
+ <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
+ <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
+ </configuration>\r
+ </execution>\r
+ </executions>\r
+ </plugin> \r
+\r
+ \r
</plugins>\r
</build>\r
+ <distributionManagement>\r
+ <repository>\r
+ <id>ecomp-releases</id>\r
+ <name>AAF Release Repository</name>\r
+ <url>${nexusproxy}${releaseNexusPath}</url>\r
+ </repository>\r
+ <snapshotRepository>\r
+ <id>ecomp-snapshots</id>\r
+ <name>AAF Snapshot Repository</name>\r
+ <url>${nexusproxy}${snapshotNexusPath}</url>\r
+ </snapshotRepository>\r
+ <site>\r
+ <id>ecomp-site</id>\r
+ <url>dav:${nexusproxy}${sitePath}</url>\r
+ </site>\r
+ </distributionManagement>\r
\r
</project>\r