Include all modules in AAF parent
[aaf/authz.git] / auth / auth-core / 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         <parent>
26                 <groupId>org.onap.aaf.authz</groupId>
27                 <artifactId>authparent</artifactId>
28                 <version>2.1.0-SNAPSHOT</version>
29                 <relativePath>../pom.xml</relativePath>
30         </parent>
31
32         <artifactId>aaf-auth-core</artifactId>
33         <name>AAF Auth Core</name>
34         <description>Core Library for AAF Auth Components</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
74         <properties>
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.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
81             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
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                 <dependency>
93                         <groupId>org.onap.aaf.authz</groupId>
94                         <artifactId>aaf-misc-env</artifactId>
95                         <version>${project.version}</version>
96                 </dependency>
97                 <dependency>
98                         <groupId>org.onap.aaf.authz</groupId>
99                         <artifactId>aaf-cadi-aaf</artifactId>
100                         <version>${project.version}</version>
101                 </dependency>
102
103                 <dependency>
104                         <groupId>javax.servlet</groupId>
105                         <artifactId>javax.servlet-api</artifactId>
106                 </dependency>
107
108                 <dependency>
109                         <groupId>org.onap.aaf.authz</groupId>
110                         <artifactId>aaf-misc-log4j</artifactId>
111                         <version>${project.version}</version>
112                 </dependency>
113
114                 <dependency>
115                         <groupId>org.onap.aaf.authz</groupId>
116                         <artifactId>aaf-cadi-core</artifactId>
117                         <version>${project.version}</version>
118                 </dependency>
119
120                 <dependency>
121                         <groupId>org.eclipse.jetty</groupId>
122                         <artifactId>jetty-servlet</artifactId>
123                         <scope>compile</scope>
124                 </dependency>
125
126                 <dependency>
127                         <groupId>org.slf4j</groupId>
128                         <artifactId>slf4j-log4j12</artifactId>
129                 </dependency>
130         </dependencies>
131         
132         <build>
133             <plugins>
134                 <plugin>
135                                 <groupId>org.apache.maven.plugins</groupId>
136                                 <artifactId>maven-deploy-plugin</artifactId>
137                                 <configuration>
138                                         <skip>false</skip>
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>${jacoco.version}</version>
156                                         <configuration>
157                                                 <excludes>
158                                                         <exclude>**/gen/**</exclude>
159                                                         <exclude>**/generated-sources/**</exclude>
160                                                         <exclude>**/yang-gen/**</exclude>
161                                                         <exclude>**/pax/**</exclude>
162                                                 </excludes>
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}/code-coverage/jacoco-ut.exec</destFile>
172                                                                 <propertyName>surefireArgLine</propertyName>
173                                                         </configuration>
174                                                 </execution>
175                                                 <execution>
176                                                         <id>post-unit-test</id>
177                                                         <phase>test</phase>
178                                                         <goals>
179                                                                 <goal>report</goal>
180                                                         </goals>
181                                                         <configuration>
182                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
183                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
184                                                         </configuration>
185                                                 </execution>
186                                                 <execution>
187                                                         <id>pre-integration-test</id>
188                                                         <phase>pre-integration-test</phase>
189                                                         <goals>
190                                                                 <goal>prepare-agent</goal>
191                                                         </goals>
192                                                         <configuration>
193                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
194                                                                 <propertyName>failsafeArgLine</propertyName>
195                                                         </configuration>
196                                                 </execution>
197
198                                                 <execution>
199                                                         <id>post-integration-test</id>
200                                                         <phase>post-integration-test</phase>
201                                                         <goals>
202                                                                 <goal>report</goal>
203                                                         </goals>
204                                                         <configuration>
205                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
206                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
207                                                         </configuration>
208                                                 </execution>
209                                         </executions>
210                                 </plugin>
211            </plugins>
212         </build>
213         <distributionManagement>
214                 <repository>
215                         <id>ecomp-releases</id>
216                         <name>AAF Release Repository</name>
217                         <url>${nexusproxy}${releaseNexusPath}</url>
218                 </repository>
219                 <snapshotRepository>
220                         <id>ecomp-snapshots</id>
221                         <name>AAF Snapshot Repository</name>
222                         <url>${nexusproxy}${snapshotNexusPath}</url>
223                 </snapshotRepository>
224                 <site>
225                         <id>ecomp-site</id>
226                         <url>dav:${nexusproxy}${sitePath}</url>
227                 </site>
228         </distributionManagement>
229 </project>
230