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