sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 1 | <!--
|
| 2 | ============LICENSE_START==================================================
|
| 3 | * org.onap.dmaap
|
| 4 | * ===========================================================================
|
| 5 | * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
|
| 6 | * ===========================================================================
|
| 7 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 | * you may not use this file except in compliance with the License.
|
| 9 | * You may obtain a copy of the License at
|
| 10 | *
|
| 11 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 12 | *
|
| 13 | * Unless required by applicable law or agreed to in writing, software
|
| 14 | * distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 | * See the License for the specific language governing permissions and
|
| 17 | * limitations under the License.
|
| 18 | * ============LICENSE_END====================================================
|
| 19 | *
|
| 20 | * ECOMP is a trademark and service mark of AT&T Intellectual Property.
|
| 21 | *
|
| 22 | -->
|
| 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
| 25 | <modelVersion>4.0.0</modelVersion>
|
| 26 | <groupId>org.onap.dmaap.datarouter</groupId>
|
| 27 | <artifactId>parent</artifactId>
|
Jessica Wagantall | 76cc690 | 2017-09-08 14:50:59 -0700 | [diff] [blame] | 28 | <name>dmaap-datarouter</name>
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 29 | <version>1.0.0-SNAPSHOT</version>
|
| 30 | <packaging>pom</packaging>
|
| 31 | <url>https://github.com/att/DMAAP_DATAROUTER</url>
|
sg481n | ee6b47c | 2017-10-10 21:56:53 +0000 | [diff] [blame] | 32 |
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 33 |
|
| 34 | <parent>
|
| 35 | <groupId>org.onap.oparent</groupId>
|
| 36 | <artifactId>oparent</artifactId>
|
| 37 | <version>1.0.0-SNAPSHOT</version>
|
| 38 | </parent>
|
| 39 |
|
| 40 | <properties>
|
| 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 42 | <maven.compiler.source>1.8</maven.compiler.source>
|
| 43 | <maven.compiler.target>1.8</maven.compiler.target>
|
Sripad | bcf88dc | 2018-02-13 16:53:35 +0000 | [diff] [blame^] | 44 | <sonar.language>java</sonar.language>
|
| 45 | <sonar.skip>false</sonar.skip>
|
| 46 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
| 47 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
|
| 48 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
|
| 49 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
|
| 50 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
|
| 51 | <sonar.projectVersion>${project.version}</sonar.projectVersion>
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 52 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 53 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 54 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 55 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
| 56 | <sitePath>/content/sites/site/org/onap/datarouter/${project.artifactId}/${project.version}</sitePath>
|
| 57 | </properties>
|
| 58 |
|
| 59 |
|
| 60 | <modules>
|
| 61 | <module>datarouter-prov</module>
|
| 62 | <module>datarouter-node</module>
|
| 63 | </modules>
|
| 64 |
|
| 65 | <build>
|
| 66 | <plugins>
|
| 67 | <plugin>
|
| 68 | <groupId>org.sonatype.plugins</groupId>
|
| 69 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 70 | <version>1.6.7</version>
|
| 71 | <extensions>true</extensions>
|
| 72 | <configuration>
|
| 73 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 74 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 75 | <serverId>ecomp-staging</serverId>
|
| 76 | </configuration>
|
| 77 | </plugin>
|
Sripad | bcf88dc | 2018-02-13 16:53:35 +0000 | [diff] [blame^] | 78 |
|
| 79 | <plugin>
|
| 80 | <groupId>org.sonatype.plugins</groupId>
|
| 81 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 82 | <version>1.6.7</version>
|
| 83 | <extensions>true</extensions>
|
| 84 | <configuration>
|
| 85 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 86 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 87 | <serverId>ecomp-staging</serverId>
|
| 88 | </configuration>
|
| 89 | </plugin>
|
| 90 |
|
| 91 | <plugin>
|
| 92 | <groupId>org.jacoco</groupId>
|
| 93 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 94 | <version>${jacoco.version}</version>
|
| 95 | <configuration>
|
| 96 | <excludes>
|
| 97 | <exclude>**/gen/**</exclude>
|
| 98 | <exclude>**/generated-sources/**</exclude>
|
| 99 | <exclude>**/yang-gen/**</exclude>
|
| 100 | <exclude>**/pax/**</exclude>
|
| 101 | </excludes>
|
| 102 | </configuration>
|
| 103 | <executions>
|
| 104 |
|
| 105 | <execution>
|
| 106 | <id>pre-unit-test</id>
|
| 107 | <goals>
|
| 108 | <goal>prepare-agent</goal>
|
| 109 | </goals>
|
| 110 | <configuration>
|
| 111 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
|
| 112 | <propertyName>surefireArgLine</propertyName>
|
| 113 | </configuration>
|
| 114 | </execution>
|
| 115 |
|
| 116 |
|
| 117 | <execution>
|
| 118 | <id>post-unit-test</id>
|
| 119 | <phase>test</phase>
|
| 120 | <goals>
|
| 121 | <goal>report</goal>
|
| 122 | </goals>
|
| 123 | <configuration>
|
| 124 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
|
| 125 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
|
| 126 | </configuration>
|
| 127 | </execution>
|
| 128 | <execution>
|
| 129 | <id>pre-integration-test</id>
|
| 130 | <phase>pre-integration-test</phase>
|
| 131 | <goals>
|
| 132 | <goal>prepare-agent</goal>
|
| 133 | </goals>
|
| 134 | <configuration>
|
| 135 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
|
| 136 |
|
| 137 | <propertyName>failsafeArgLine</propertyName>
|
| 138 | </configuration>
|
| 139 | </execution>
|
| 140 |
|
| 141 |
|
| 142 | <execution>
|
| 143 | <id>post-integration-test</id>
|
| 144 | <phase>post-integration-test</phase>
|
| 145 | <goals>
|
| 146 | <goal>report</goal>
|
| 147 | </goals>
|
| 148 | <configuration>
|
| 149 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
|
| 150 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
|
| 151 | </configuration>
|
| 152 | </execution>
|
| 153 | </executions>
|
| 154 | </plugin>
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 155 | </plugins>
|
| 156 | </build>
|
| 157 | <distributionManagement>
|
| 158 | <repository>
|
| 159 | <id>ecomp-releases</id>
|
Sripad | bcf88dc | 2018-02-13 16:53:35 +0000 | [diff] [blame^] | 160 | <name>DR Release Repository</name>
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 161 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 162 | </repository>
|
| 163 | <snapshotRepository>
|
| 164 | <id>ecomp-snapshots</id>
|
Sripad | bcf88dc | 2018-02-13 16:53:35 +0000 | [diff] [blame^] | 165 | <name>DR Snapshot Repository</name>
|
sg481n | e4b20cc | 2017-08-23 16:30:52 -0400 | [diff] [blame] | 166 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 167 | </snapshotRepository>
|
| 168 | <site>
|
| 169 | <id>ecomp-site</id>
|
| 170 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 171 | </site>
|
| 172 | </distributionManagement>
|
| 173 | <pluginRepositories>
|
| 174 | <pluginRepository>
|
| 175 | <id>onap-plugin-snapshots</id>
|
| 176 | <url>https://nexus.onap.org/content/repositories/snapshots/</url>
|
| 177 | </pluginRepository>
|
| 178 | </pluginRepositories>
|
Sripad | bcf88dc | 2018-02-13 16:53:35 +0000 | [diff] [blame^] | 179 |
|
Jessica Wagantall | 76cc690 | 2017-09-08 14:50:59 -0700 | [diff] [blame] | 180 | </project>
|