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