blob: ea71ceeb6417be268a4e48ccd40dfead4b5d455b [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"
22 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>
Instrumental17ca7442018-03-29 16:54:19 -050024 <groupId>org.onap.aaf.authz.authz</groupId>
sg481n43854a92017-08-03 17:27:34 -040025 <artifactId>parent</artifactId>
Instrumental10027f32018-03-26 14:07:37 -070026 <version>2.1.0-SNAPSHOT</version>
27 <name>AAF Overall Parent</name>
sg481n43854a92017-08-03 17:27:34 -040028 <packaging>pom</packaging>
Sai Gandhame01703c2018-03-26 22:57:09 +000029
30 <parent>
31 <groupId>org.onap.oparent</groupId>
32 <artifactId>oparent</artifactId>
33 <version>1.1.0</version>
34 </parent>
35
36 <properties>
37 <!-- SONAR -->
38 <jacoco.version>0.7.7.201606060606</jacoco.version>
39 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41 <!-- Default Sonar configuration -->
42 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
45 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46 <nexusproxy>https://nexus.onap.org</nexusproxy>
47 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51 </properties>
sg481n43854a92017-08-03 17:27:34 -040052 <build>
Instrumental10027f32018-03-26 14:07:37 -070053 <plugins>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-deploy-plugin</artifactId>
sg481n43854a92017-08-03 17:27:34 -040057 <configuration>
Instrumental10027f32018-03-26 14:07:37 -070058 <skip>true</skip>
sg481n43854a92017-08-03 17:27:34 -040059 </configuration>
60 </plugin>
Sai Gandham095221f2018-03-28 03:41:06 +000061 <plugin>
62 <groupId>org.sonatype.plugins</groupId>
63 <artifactId>nexus-staging-maven-plugin</artifactId>
64 <version>1.6.7</version>
65 <extensions>true</extensions>
66 <configuration>
67 <nexusUrl>${nexusproxy}</nexusUrl>
68 <stagingProfileId>176c31dfe190a</stagingProfileId>
69 <serverId>ecomp-staging</serverId>
70 </configuration>
71 </plugin>
72 <plugin>
73 <groupId>org.jacoco</groupId>
74 <artifactId>jacoco-maven-plugin</artifactId>
75 <version>${jacoco.version}</version>
76 <configuration>
77 <excludes>
78 <exclude>**/gen/**</exclude>
79 <exclude>**/generated-sources/**</exclude>
80 <exclude>**/yang-gen/**</exclude>
81 <exclude>**/pax/**</exclude>
82 </excludes>
83 </configuration>
84 <executions>
85
86 <execution>
87 <id>pre-unit-test</id>
88 <goals>
89 <goal>prepare-agent</goal>
90 </goals>
91 <configuration>
92 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
93 <propertyName>surefireArgLine</propertyName>
94 </configuration>
95 </execution>
96
97
98 <execution>
99 <id>post-unit-test</id>
100 <phase>test</phase>
101 <goals>
102 <goal>report</goal>
103 </goals>
104 <configuration>
105 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
106 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
107 </configuration>
108 </execution>
109 <execution>
110 <id>pre-integration-test</id>
111 <phase>pre-integration-test</phase>
112 <goals>
113 <goal>prepare-agent</goal>
114 </goals>
115 <configuration>
116 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
117
118 <propertyName>failsafeArgLine</propertyName>
119 </configuration>
120 </execution>
121
122
123 <execution>
124 <id>post-integration-test</id>
125 <phase>post-integration-test</phase>
126 <goals>
127 <goal>report</goal>
128 </goals>
129 <configuration>
130 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
131 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
Instrumental10027f32018-03-26 14:07:37 -0700136 </plugins>
sg481n43854a92017-08-03 17:27:34 -0400137 </build>
sg481n43854a92017-08-03 17:27:34 -0400138 <modules>
Instrumental10027f32018-03-26 14:07:37 -0700139 <module>auth/auth-client</module>
140 <module>misc</module>
141 <module>cadi</module>
142 <module>auth</module>
sg481n43854a92017-08-03 17:27:34 -0400143 </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>
Instrumental10027f32018-03-26 14:07:37 -0700161
sg481n43854a92017-08-03 17:27:34 -0400162</project>