Modify authz pom files.
[aaf/authz.git] / misc / 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         <modelVersion>4.0.0</modelVersion>
25         <groupId>org.onap.aaf.misc</groupId>
26         <artifactId>parent</artifactId>
27         <name>AAF Misc Parent</name>
28         <version>1.3.0-SNAPSHOT</version>
29         <packaging>pom</packaging>
30
31         <properties>
32                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33                 <powermock.version>1.5.1</powermock.version>
34                 <!--  SONAR  -->
35                  <jacoco.version>0.7.7.201606060606</jacoco.version>
36             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
37             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
38             <!-- Default Sonar configuration -->
39             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
40             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
41             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
42             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
43                 <nexusproxy>https://nexus.onap.org</nexusproxy>
44                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
48         </properties>
49
50         
51
52         <developers>
53                 <developer>
54                         <name>Jonathan Gathman</name>
55                         <email>jonathan.gathman@att.com</email>
56                         <organization>ATT</organization>
57                         <roles>
58                                 <role>Architect</role>
59                                 <role>Lead Developer</role>
60                         </roles>
61                 </developer>
62                 <developer>
63                         <name>Gabe Maurer</name>
64                         <email>gabe.maurer@att.com</email>
65                         <organization>ATT</organization>
66                         <roles>
67                                 <role>Developer</role>
68                         </roles>
69                 </developer>
70                 <developer>
71                         <name>Ian Howell</name>
72                         <email>ian.howell@att.com</email>
73                         <organization>ATT</organization>
74                         <roles>
75                                 <role>Developer</role>
76                         </roles>
77                 </developer>
78                 <developer>
79                         <name>Sai Gandham</name>
80                         <email>sai.gandham@att.com</email>
81                         <organization>ATT</organization>
82                         <roles>
83                                 <role>Developer</role>
84                         </roles>
85                 </developer>
86         </developers>
87
88         <dependencies>
89                 <dependency>
90                         <groupId>org.mockito</groupId>
91                         <artifactId>mockito-all</artifactId>
92                         <version>1.9.5</version>
93                         <scope>test</scope>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.powermock</groupId>
98                         <artifactId>powermock-module-junit4</artifactId>
99                         <version>${powermock.version}</version>
100                         <scope>test</scope>
101                 </dependency>
102                 <dependency>
103                         <groupId>org.powermock</groupId>
104                         <artifactId>powermock-api-mockito</artifactId>
105                         <version>${powermock.version}</version>
106                         <scope>test</scope>
107                 </dependency>
108                 <dependency>
109                         <groupId>junit</groupId>
110                         <artifactId>junit</artifactId>
111                         <version>4.10</version>
112                         <scope>test</scope>
113                 </dependency>   
114         </dependencies>
115
116         <build>
117                 <testSourceDirectory>src/test/java</testSourceDirectory>
118                 <pluginManagement>
119                         <plugins>
120                                 <plugin>
121                                         <groupId>org.apache.maven.plugins</groupId>
122                                         <version>2.4</version>
123                                         <artifactId>maven-jar-plugin</artifactId>
124                                         <configuration>
125                                                 <outputDirectory>target</outputDirectory>
126                                         </configuration>
127                                 </plugin>
128         
129                                 <plugin>
130                                         <inherited>true</inherited>
131                                         <groupId>org.apache.maven.plugins</groupId>
132                                         <artifactId>maven-compiler-plugin</artifactId>
133                                         <version>2.3.2</version>
134                                         <configuration>
135                                                 <source>1.7</source>
136                                                 <target>1.7</target>
137                                         </configuration>
138                                 </plugin>
139                                 <plugin>
140                                 <groupId>org.sonatype.plugins</groupId>
141                                 <artifactId>nexus-staging-maven-plugin</artifactId>
142                                 <version>1.6.7</version>
143                                 <extensions>true</extensions>
144                                 <configuration>
145                                         <nexusUrl>${nexusproxy}</nexusUrl>
146                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
147                                         <serverId>ecomp-staging</serverId>
148                                 </configuration>
149                         </plugin>               
150                         <plugin>
151                                 <groupId>org.jacoco</groupId>
152                                 <artifactId>jacoco-maven-plugin</artifactId>
153                                 <version>0.7.7.201606060606</version>
154                                 <configuration>
155                                         <dumpOnExit>true</dumpOnExit>
156                                         <includes>
157                                                 <include>org.onap.aaf.*</include>
158                                         </includes>
159                                 </configuration>
160                                 <executions>
161                                         <execution>
162                                                 <id>pre-unit-test</id>
163                                                 <goals>
164                                                         <goal>prepare-agent</goal>
165                                                 </goals>
166                                                 <configuration>
167                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
168                                                         <!-- <append>true</append> -->
169                                                 </configuration>
170                                         </execution>
171                                         <execution>
172                                                 <id>pre-integration-test</id>
173                                                 <phase>pre-integration-test</phase>
174                                                 <goals>
175                                                         <goal>prepare-agent</goal>
176                                                 </goals>
177                                                 <configuration>
178                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
179                                                         <!-- <append>true</append> -->
180                                                 </configuration>
181                                         </execution>
182                                         <execution>
183                         <goals>
184                             <goal>merge</goal>
185                         </goals>
186                         <phase>post-integration-test</phase>
187                         <configuration>
188                             <fileSets>
189                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
190                                     <directory>${project.build.directory}/coverage-reports</directory>
191                                     <includes>
192                                         <include>*.exec</include>
193                                     </includes>
194                                 </fileSet>
195                             </fileSets>
196                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
197                         </configuration>
198                     </execution>
199                                 </executions>
200                         </plugin>
201                         </plugins>
202                 </pluginManagement>
203         </build>
204
205         <modules>
206                 <module>env</module>
207                 <module>xgen</module>
208                 <module>rosetta</module>
209                 <module>log4j</module> <!--  note: generates log4j, to avoid Jar conflict -->
210         </modules>
211
212         <dependencyManagement>
213                 <dependencies>
214                         <dependency>
215                                 <groupId>log4j</groupId>
216                                 <artifactId>log4j</artifactId>
217                                 <version>1.2.17</version>
218                         </dependency>
219                         <dependency>
220                                 <groupId>org.slf4j</groupId>
221                                 <artifactId>slf4j-log4j12</artifactId>
222                                 <version>1.7.5</version>
223                         </dependency>
224                 </dependencies>
225         </dependencyManagement>
226         
227         <distributionManagement>
228                 <repository>
229                         <id>ecomp-releases</id>
230                         <name>AAF Release Repository</name>
231                         <url>${nexusproxy}${releaseNexusPath}</url>
232                 </repository>
233                 <snapshotRepository>
234                         <id>ecomp-snapshots</id>
235                         <name>AAF Snapshot Repository</name>
236                         <url>${nexusproxy}${snapshotNexusPath}</url>
237                 </snapshotRepository>
238                 <site>
239                         <id>ecomp-site</id>
240                         <url>dav:${nexusproxy}${sitePath}</url>
241                 </site>
242         </distributionManagement>
243 </project>