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