Add deploy plugin & enable tests
[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         <skipTests>true</skipTests>
75                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
76                 <!--  SONAR  -->
77                  <jacoco.version>0.7.7.201606060606</jacoco.version>
78             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
79             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
80             <!-- Default Sonar configuration -->
81             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
82             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
83             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
84             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
85                 <nexusproxy>https://nexus.onap.org</nexusproxy>
86                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
87                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
88                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
89                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
90         </properties>
91
92         <dependencies>
93
94                 <dependency>
95                         <groupId>org.onap.aaf.misc</groupId>
96                         <artifactId>aaf-misc-env</artifactId>
97                 </dependency>
98
99                 <dependency>
100                         <groupId>org.onap.aaf.cadi</groupId>
101                         <artifactId>aaf-cadi-core</artifactId>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.onap.aaf.misc</groupId>
106                         <artifactId>aaf-misc-rosetta</artifactId>
107                 </dependency>
108
109                 <dependency>
110                         <groupId>org.onap.aaf.cadi</groupId>
111                         <artifactId>aaf-cadi-aaf</artifactId>
112                 </dependency>
113
114                 <dependency>
115                         <groupId>org.onap.aaf.auth</groupId>
116                         <artifactId>aaf-auth-cass</artifactId>
117                 </dependency>
118
119                 <dependency>
120                         <groupId>org.slf4j</groupId>
121                         <artifactId>slf4j-log4j12</artifactId>
122                 </dependency>
123
124         </dependencies>
125
126         <build>
127                 <plugins>
128                         <plugin>
129                                 <groupId>org.apache.maven.plugins</groupId>
130                                 <artifactId>maven-compiler-plugin</artifactId>
131                                 <configuration>
132                                         <source>1.7</source>
133                                         <target>1.7</target>
134                                 </configuration>
135                         </plugin>
136
137                         <plugin>
138                                 <groupId>org.apache.maven.plugins</groupId>
139                                 <artifactId>maven-deploy-plugin</artifactId>
140                                 <configuration>
141                                         <skip>true</skip>
142                                 </configuration>
143                         </plugin>
144                         <plugin>
145                                 <groupId>org.sonatype.plugins</groupId>
146                                 <artifactId>nexus-staging-maven-plugin</artifactId>
147                                 <version>1.6.7</version>
148                                 <extensions>true</extensions>
149                                 <configuration>
150                                         <nexusUrl>${nexusproxy}</nexusUrl>
151                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
152                                         <serverId>ecomp-staging</serverId>
153                                 </configuration>
154                         </plugin>               
155                         <plugin>
156                                 <groupId>org.jacoco</groupId>
157                                 <artifactId>jacoco-maven-plugin</artifactId>
158                                 <version>0.7.7.201606060606</version>
159                                 <configuration>
160                                         <dumpOnExit>true</dumpOnExit>
161                                         <includes>
162                                                 <include>org.onap.aaf.*</include>
163                                         </includes>
164                                 </configuration>
165                                 <executions>
166                                         <execution>
167                                                 <id>pre-unit-test</id>
168                                                 <goals>
169                                                         <goal>prepare-agent</goal>
170                                                 </goals>
171                                                 <configuration>
172                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
173                                                         <!-- <append>true</append> -->
174                                                 </configuration>
175                                         </execution>
176                                         <execution>
177                                                 <id>pre-integration-test</id>
178                                                 <phase>pre-integration-test</phase>
179                                                 <goals>
180                                                         <goal>prepare-agent</goal>
181                                                 </goals>
182                                                 <configuration>
183                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
184                                                         <!-- <append>true</append> -->
185                                                 </configuration>
186                                         </execution>
187                                         <execution>
188                         <goals>
189                             <goal>merge</goal>
190                         </goals>
191                         <phase>post-integration-test</phase>
192                         <configuration>
193                             <fileSets>
194                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
195                                     <directory>${project.build.directory}/coverage-reports</directory>
196                                     <includes>
197                                         <include>*.exec</include>
198                                     </includes>
199                                 </fileSet>
200                             </fileSets>
201                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
202                         </configuration>
203                     </execution>
204                                 </executions>
205                         </plugin>
206                 </plugins>
207         </build>
208         
209         <distributionManagement>
210                 <repository>
211                         <id>ecomp-releases</id>
212                         <name>AAF Release Repository</name>
213                         <url>${nexusproxy}${releaseNexusPath}</url>
214                 </repository>
215                 <snapshotRepository>
216                         <id>ecomp-snapshots</id>
217                         <name>AAF Snapshot Repository</name>
218                         <url>${nexusproxy}${snapshotNexusPath}</url>
219                 </snapshotRepository>
220                 <site>
221                         <id>ecomp-site</id>
222                         <url>dav:${nexusproxy}${sitePath}</url>
223                 </site>
224         </distributionManagement>
225 </project>