Modify authz pom files.
[aaf/authz.git] / misc / env / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <parent>
25                 <groupId>org.onap.aaf.misc</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>1.3.0-SNAPSHOT</version>
28                 <relativePath>..</relativePath>
29         </parent>
30
31         <modelVersion>4.0.0</modelVersion>
32         <artifactId>aaf-misc-env</artifactId>
33         <name>AAF Misc Env</name>
34         <packaging>jar</packaging>
35
36         <developers>
37                 <developer>
38                         <name>Jonathan Gathman</name>
39                         <email>jonathan.gathman@att.com</email>
40                         <organization>ATT</organization>
41                         <roles>
42                                 <role>Architect</role>
43                                 <role>Lead Developer</role>
44                         </roles>
45                 </developer>
46                 <developer>
47                         <name>Gabe Maurer</name>
48                         <email>gabe.maurer@att.com</email>
49                         <organization>ATT</organization>
50                         <roles>
51                                 <role>Developer</role>
52                         </roles>
53                 </developer>
54                 <developer>
55                         <name>Ian Howell</name>
56                         <email>ian.howell@att.com</email>
57                         <organization>ATT</organization>
58                         <roles>
59                                 <role>Developer</role>
60                         </roles>
61                 </developer>
62                 <developer>
63                         <name>Sai Gandham</name>
64                         <email>sai.gandham@att.com</email>
65                         <organization>ATT</organization>
66                         <roles>
67                                 <role>Developer</role>
68                         </roles>
69                 </developer>
70         </developers>
71         
72         <properties>
73                 <!--  SONAR  -->
74                  <jacoco.version>0.7.7.201606060606</jacoco.version>
75             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
76             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
77             <!-- Default Sonar configuration -->
78             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
79             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
80             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
81             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
82                 <nexusproxy>https://nexus.onap.org</nexusproxy>
83                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
84                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
85                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
86                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
87         </properties>
88         
89         <build>
90         <plugins>
91         <plugin>
92                                 <groupId>org.sonatype.plugins</groupId>
93                                 <artifactId>nexus-staging-maven-plugin</artifactId>
94                                 <version>1.6.7</version>
95                                 <extensions>true</extensions>
96                                 <configuration>
97                                         <nexusUrl>${nexusproxy}</nexusUrl>
98                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
99                                         <serverId>ecomp-staging</serverId>
100                                 </configuration>
101                         </plugin>               
102                         <plugin>
103                                 <groupId>org.jacoco</groupId>
104                                 <artifactId>jacoco-maven-plugin</artifactId>
105                                 <version>0.7.7.201606060606</version>
106                                 <configuration>
107                                         <dumpOnExit>true</dumpOnExit>
108                                         <includes>
109                                                 <include>org.onap.aaf.*</include>
110                                         </includes>
111                                 </configuration>
112                                 <executions>
113                                         <execution>
114                                                 <id>pre-unit-test</id>
115                                                 <goals>
116                                                         <goal>prepare-agent</goal>
117                                                 </goals>
118                                                 <configuration>
119                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
120                                                         <!-- <append>true</append> -->
121                                                 </configuration>
122                                         </execution>
123                                         <execution>
124                                                 <id>pre-integration-test</id>
125                                                 <phase>pre-integration-test</phase>
126                                                 <goals>
127                                                         <goal>prepare-agent</goal>
128                                                 </goals>
129                                                 <configuration>
130                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
131                                                         <!-- <append>true</append> -->
132                                                 </configuration>
133                                         </execution>
134                                         <execution>
135                         <goals>
136                             <goal>merge</goal>
137                         </goals>
138                         <phase>post-integration-test</phase>
139                         <configuration>
140                             <fileSets>
141                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
142                                     <directory>${project.build.directory}/coverage-reports</directory>
143                                     <includes>
144                                         <include>*.exec</include>
145                                     </includes>
146                                 </fileSet>
147                             </fileSets>
148                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
149                         </configuration>
150                     </execution>
151                                 </executions>
152                         </plugin>
153         </plugins>
154         </build>
155         
156         <dependencies>
157                 <dependency>
158                         <groupId>log4j</groupId>
159                         <artifactId>log4j</artifactId>
160                         <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
161                 </dependency>
162         </dependencies>
163         
164         
165         <distributionManagement>
166                 <repository>
167                         <id>ecomp-releases</id>
168                         <name>AAF Release Repository</name>
169                         <url>${nexusproxy}${releaseNexusPath}</url>
170                 </repository>
171                 <snapshotRepository>
172                         <id>ecomp-snapshots</id>
173                         <name>AAF Snapshot Repository</name>
174                         <url>${nexusproxy}${snapshotNexusPath}</url>
175                 </snapshotRepository>
176                 <site>
177                         <id>ecomp-site</id>
178                         <url>dav:${nexusproxy}${sitePath}</url>
179                 </site>
180         </distributionManagement>
181 </project>
182