blob: d2062453367a0e552204be87bac952c1a5f9df43 [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001<!--
Instrumental10027f32018-03-26 14:07:37 -07002 * ============LICENSE_START====================================================
3 * org.onap.aaf
4 * ===========================================================================
5 * Copyright (c) 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 *
sg481n43854a92017-08-03 17:27:34 -040020-->
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
IanHowell3901cf82018-04-03 11:24:27 -050022 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
sg481n43854a92017-08-03 17:27:34 -040023 <modelVersion>4.0.0</modelVersion>
Sai Gandham58a75a02018-04-06 15:20:29 -050024 <groupId>org.onap.aaf.authz</groupId>
Sai Gandham83fc0252018-04-09 16:28:48 +000025 <artifactId>parent</artifactId>
Instrumentalb7440252018-06-14 15:05:33 -050026 <version>2.1.2-SNAPSHOT</version>
Instrumental10027f32018-03-26 14:07:37 -070027 <name>AAF Overall Parent</name>
sg481n43854a92017-08-03 17:27:34 -040028 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050029
30 <parent>
31 <groupId>org.onap.oparent</groupId>
32 <artifactId>oparent</artifactId>
33 <version>1.1.0</version>
34 </parent>
35
Sai Gandhame01703c2018-03-26 22:57:09 +000036 <properties>
Sai Gandhame01703c2018-03-26 22:57:09 +000037 <nexusproxy>https://nexus.onap.org</nexusproxy>
38 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowell3901cf82018-04-03 11:24:27 -050042
Instrumental95d25492018-04-02 18:48:10 -050043 <maven.test.failure.ignore>false</maven.test.failure.ignore>
44 <!-- SONAR -->
IanHowell3901cf82018-04-03 11:24:27 -050045 <jacoco.version>0.7.7.201606060606</jacoco.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050049 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
50 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
IanHowell3901cf82018-04-03 11:24:27 -050051 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
52 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Instrumental95d25492018-04-02 18:48:10 -050053 <nexusproxy>https://nexus.onap.org</nexusproxy>
Sai Gandhame01703c2018-03-26 22:57:09 +000054 </properties>
sg481n43854a92017-08-03 17:27:34 -040055 <build>
Instrumental10027f32018-03-26 14:07:37 -070056 <plugins>
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-deploy-plugin</artifactId>
sg481n43854a92017-08-03 17:27:34 -040060 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050061 <skip>false</skip>
sg481n43854a92017-08-03 17:27:34 -040062 </configuration>
63 </plugin>
Sai Gandham095221f2018-03-28 03:41:06 +000064 <plugin>
65 <groupId>org.sonatype.plugins</groupId>
66 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandham095221f2018-03-28 03:41:06 +000067 <extensions>true</extensions>
68 <configuration>
69 <nexusUrl>${nexusproxy}</nexusUrl>
70 <stagingProfileId>176c31dfe190a</stagingProfileId>
71 <serverId>ecomp-staging</serverId>
72 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -050073 </plugin>
Instrumental95d25492018-04-02 18:48:10 -050074 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -050075 <groupId>org.sonarsource.scanner.maven</groupId>
76 <artifactId>sonar-maven-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -050077 </plugin>
78 <plugin>
Instrumental95d25492018-04-02 18:48:10 -050079 <groupId>org.jacoco</groupId>
80 <artifactId>jacoco-maven-plugin</artifactId>
Instrumental95d25492018-04-02 18:48:10 -050081 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -050082 <excludes>
83 <exclude>**/gen/**</exclude>
84 <exclude>**/generated-sources/**</exclude>
85 <exclude>**/yang-gen/**</exclude>
86 <exclude>**/pax/**</exclude>
87 </excludes>
Instrumental95d25492018-04-02 18:48:10 -050088 </configuration>
89 <executions>
90 <execution>
91 <id>pre-unit-test</id>
92 <goals>
93 <goal>prepare-agent</goal>
94 </goals>
95 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -050096 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
97 <propertyName>surefireArgLine</propertyName>
98 </configuration>
99 </execution>
100 <execution>
101 <id>post-unit-test</id>
102 <phase>test</phase>
103 <goals>
104 <goal>report</goal>
105 </goals>
106 <configuration>
107 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
108 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Instrumental95d25492018-04-02 18:48:10 -0500109 </configuration>
110 </execution>
111 <execution>
112 <id>pre-integration-test</id>
113 <phase>pre-integration-test</phase>
114 <goals>
115 <goal>prepare-agent</goal>
116 </goals>
117 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500118 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
119 <propertyName>failsafeArgLine</propertyName>
Instrumental95d25492018-04-02 18:48:10 -0500120 </configuration>
121 </execution>
122 <execution>
IanHowell3901cf82018-04-03 11:24:27 -0500123 <id>post-integration-test</id>
124 <phase>post-integration-test</phase>
125 <goals>
126 <goal>report</goal>
127 </goals>
128 <configuration>
129 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
130 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
131 </configuration>
132 </execution>
Instrumental95d25492018-04-02 18:48:10 -0500133 </executions>
134 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500135
Instrumental10027f32018-03-26 14:07:37 -0700136 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500137 </build>
sg481n43854a92017-08-03 17:27:34 -0400138 <modules>
Instrumental1efda072018-04-24 07:08:05 -0500139 <module>auth-client</module>
Sai Gandham30dca6e2018-04-09 21:22:48 +0000140 <module>misc</module>
Instrumental10027f32018-03-26 14:07:37 -0700141 <module>cadi</module>
Sai Gandham30dca6e2018-04-09 21:22:48 +0000142 <module>auth</module>
IanHowell3901cf82018-04-03 11:24:27 -0500143 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000144
Sai Gandham095221f2018-03-28 03:41:06 +0000145 <distributionManagement>
146 <repository>
147 <id>ecomp-releases</id>
148 <name>AAF Release Repository</name>
149 <url>${nexusproxy}${releaseNexusPath}</url>
150 </repository>
151 <snapshotRepository>
152 <id>ecomp-snapshots</id>
153 <name>AAF Snapshot Repository</name>
154 <url>${nexusproxy}${snapshotNexusPath}</url>
155 </snapshotRepository>
156 <site>
157 <id>ecomp-site</id>
158 <url>dav:${nexusproxy}${sitePath}</url>
159 </site>
160 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500161
162</project>