Modify authz pom files.
[aaf/authz.git] / misc / xgen / 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-xgen</artifactId>
33         <name>AAF Misc XGen</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         <dependencies>
90                 <dependency>
91                         <groupId>org.onap.aaf.misc</groupId>
92                         <artifactId>aaf-misc-env</artifactId>
93                         <version>${project.version}</version>
94                 </dependency>
95         </dependencies>
96         
97         <build>
98         <plugins>
99         <plugin>
100                                 <groupId>org.sonatype.plugins</groupId>
101                                 <artifactId>nexus-staging-maven-plugin</artifactId>
102                                 <version>1.6.7</version>
103                                 <extensions>true</extensions>
104                                 <configuration>
105                                         <nexusUrl>${nexusproxy}</nexusUrl>
106                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
107                                         <serverId>ecomp-staging</serverId>
108                                 </configuration>
109                         </plugin>               
110                         <plugin>
111                                 <groupId>org.jacoco</groupId>
112                                 <artifactId>jacoco-maven-plugin</artifactId>
113                                 <version>0.7.7.201606060606</version>
114                                 <configuration>
115                                         <dumpOnExit>true</dumpOnExit>
116                                         <includes>
117                                                 <include>org.onap.aaf.*</include>
118                                         </includes>
119                                 </configuration>
120                                 <executions>
121                                         <execution>
122                                                 <id>pre-unit-test</id>
123                                                 <goals>
124                                                         <goal>prepare-agent</goal>
125                                                 </goals>
126                                                 <configuration>
127                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
128                                                         <!-- <append>true</append> -->
129                                                 </configuration>
130                                         </execution>
131                                         <execution>
132                                                 <id>pre-integration-test</id>
133                                                 <phase>pre-integration-test</phase>
134                                                 <goals>
135                                                         <goal>prepare-agent</goal>
136                                                 </goals>
137                                                 <configuration>
138                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
139                                                         <!-- <append>true</append> -->
140                                                 </configuration>
141                                         </execution>
142                                         <execution>
143                         <goals>
144                             <goal>merge</goal>
145                         </goals>
146                         <phase>post-integration-test</phase>
147                         <configuration>
148                             <fileSets>
149                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
150                                     <directory>${project.build.directory}/coverage-reports</directory>
151                                     <includes>
152                                         <include>*.exec</include>
153                                     </includes>
154                                 </fileSet>
155                             </fileSets>
156                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
157                         </configuration>
158                     </execution>
159                                 </executions>
160                         </plugin>
161         </plugins>
162         </build>
163         
164         <distributionManagement>
165                 <repository>
166                         <id>ecomp-releases</id>
167                         <name>AAF Release Repository</name>
168                         <url>${nexusproxy}${releaseNexusPath}</url>
169                 </repository>
170                 <snapshotRepository>
171                         <id>ecomp-snapshots</id>
172                         <name>AAF Snapshot Repository</name>
173                         <url>${nexusproxy}${snapshotNexusPath}</url>
174                 </snapshotRepository>
175                 <site>
176                         <id>ecomp-site</id>
177                         <url>dav:${nexusproxy}${sitePath}</url>
178                 </site>
179         </distributionManagement>
180                 
181                 
182 </project>