Adjust Props for Heat
[aaf/authz.git] / pom.xml
1 <!--
2  * ============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  *
20 -->
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">
23         <modelVersion>4.0.0</modelVersion>
24         <groupId>org.onap.aaf.authz</groupId>
25         <artifactId>parent</artifactId>
26         <version>2.1.0-SNAPSHOT</version>
27         <name>AAF Overall Parent</name>
28         <packaging>pom</packaging>
29
30         <parent>
31                 <groupId>org.onap.oparent</groupId>
32                 <artifactId>oparent</artifactId>
33                 <version>1.1.0</version>
34         </parent>
35
36         <properties>
37                 <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>
42
43                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
44                 <!--  SONAR  -->
45                 <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 -->
49                 <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>
51                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
52                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
53                 <nexusproxy>https://nexus.onap.org</nexusproxy>
54         </properties>
55         <build>
56                 <plugins>
57                         <plugin>
58                                 <groupId>org.apache.maven.plugins</groupId>
59                                 <artifactId>maven-deploy-plugin</artifactId>
60                                 <configuration>
61                                         <skip>false</skip>
62                                 </configuration>
63                         </plugin>
64                         <plugin>
65                                 <groupId>org.sonatype.plugins</groupId>
66                                 <artifactId>nexus-staging-maven-plugin</artifactId>
67                                 <version>1.6.7</version>
68                                 <extensions>true</extensions>
69                                 <configuration>
70                                         <nexusUrl>${nexusproxy}</nexusUrl>
71                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
72                                         <serverId>ecomp-staging</serverId>
73                                 </configuration>
74                         </plugin>
75                         <plugin>
76                                 <groupId>org.sonarsource.scanner.maven</groupId>
77                                 <artifactId>sonar-maven-plugin</artifactId>
78                                 <version>3.2</version>
79                         </plugin>
80                         <plugin>
81                                 <groupId>org.jacoco</groupId>
82                                 <artifactId>jacoco-maven-plugin</artifactId>
83                                 <version>${jacoco.version}</version>
84                                 <configuration>
85                                         <excludes>
86                                                 <exclude>**/gen/**</exclude>
87                                                 <exclude>**/generated-sources/**</exclude>
88                                                 <exclude>**/yang-gen/**</exclude>
89                                                 <exclude>**/pax/**</exclude>
90                                         </excludes>
91                                 </configuration>
92                                 <executions>
93                                         <execution>
94                                                 <id>pre-unit-test</id>
95                                                 <goals>
96                                                         <goal>prepare-agent</goal>
97                                                 </goals>
98                                                 <configuration>
99                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
100                                                         <propertyName>surefireArgLine</propertyName>
101                                                 </configuration>
102                                         </execution>
103                                         <execution>
104                                                 <id>post-unit-test</id>
105                                                 <phase>test</phase>
106                                                 <goals>
107                                                         <goal>report</goal>
108                                                 </goals>
109                                                 <configuration>
110                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
111                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
112                                                 </configuration>
113                                         </execution>
114                                         <execution>
115                                                 <id>pre-integration-test</id>
116                                                 <phase>pre-integration-test</phase>
117                                                 <goals>
118                                                         <goal>prepare-agent</goal>
119                                                 </goals>
120                                                 <configuration>
121                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
122                                                         <propertyName>failsafeArgLine</propertyName>
123                                                 </configuration>
124                                         </execution>
125                                         <execution>
126                                                 <id>post-integration-test</id>
127                                                 <phase>post-integration-test</phase>
128                                                 <goals>
129                                                         <goal>report</goal>
130                                                 </goals>
131                                                 <configuration>
132                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
133                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
134                                                 </configuration>
135                                         </execution>
136                                 </executions>
137                         </plugin>
138
139                 </plugins>
140         </build>
141         <modules>
142                 <module>auth-client</module>
143                 <module>misc</module>
144                 <module>cadi</module>
145                 <module>auth</module>
146         </modules>
147
148         <distributionManagement>
149                 <repository>
150                         <id>ecomp-releases</id>
151                         <name>AAF Release Repository</name>
152                         <url>${nexusproxy}${releaseNexusPath}</url>
153                 </repository>
154                 <snapshotRepository>
155                         <id>ecomp-snapshots</id>
156                         <name>AAF Snapshot Repository</name>
157                         <url>${nexusproxy}${snapshotNexusPath}</url>
158                 </snapshotRepository>
159                 <site>
160                         <id>ecomp-site</id>
161                         <url>dav:${nexusproxy}${sitePath}</url>
162                 </site>
163         </distributionManagement>
164
165 </project>