Create and prepare non-deploy release 2.7.1
[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.7.1-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>Sai Gandham</name>
49             <email>sai.gandham@att.com</email>
50             <organization>ATT</organization>
51             <roles>
52                 <role>Developer</role>
53             </roles>
54         </developer>
55     </developers>
56
57
58     <properties>
59         <!--  SONAR  -->
60          <jacoco.version>0.7.7.201606060606</jacoco.version>
61         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
62         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
63         <!-- Default Sonar configuration -->
64         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
65         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
66         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
67         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
68         <nexusproxy>https://nexus.onap.org</nexusproxy>
69         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
70         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
71         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
72         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
73     </properties>
74     
75     <dependencies>
76         <dependency>
77             <groupId>org.onap.aaf.authz</groupId>
78             <artifactId>aaf-misc-env</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.onap.aaf.authz</groupId>
82             <artifactId>aaf-cadi-aaf</artifactId>
83         </dependency>
84
85         <dependency>
86             <groupId>javax.servlet</groupId>
87             <artifactId>javax.servlet-api</artifactId>
88         </dependency>
89
90         <dependency>
91             <groupId>org.onap.aaf.authz</groupId>
92             <artifactId>aaf-misc-log4j</artifactId>
93         </dependency>
94
95         <dependency>
96             <groupId>org.onap.aaf.authz</groupId>
97             <artifactId>aaf-cadi-core</artifactId>
98         </dependency>
99
100         <dependency>
101             <groupId>org.eclipse.jetty</groupId>
102             <artifactId>jetty-servlet</artifactId>
103             <scope>compile</scope>
104         </dependency>
105
106         <dependency>
107             <groupId>org.slf4j</groupId>
108             <artifactId>slf4j-log4j12</artifactId>
109         </dependency>        
110     </dependencies>
111     
112     <build>
113         <plugins>
114                 <plugin>
115                     <groupId>org.jacoco</groupId>
116                     <artifactId>jacoco-maven-plugin</artifactId>
117                     <configuration>
118                         <excludes>
119                             <exclude>**/gen/**</exclude>
120                             <exclude>**/generated-sources/**</exclude>
121                             <exclude>**/yang-gen/**</exclude>
122                             <exclude>**/pax/**</exclude>
123                         </excludes>
124                     </configuration>
125                     <executions>
126                         <execution>
127                             <id>pre-unit-test</id>
128                             <goals>
129                                 <goal>prepare-agent</goal>
130                             </goals>
131                             <configuration>
132                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
133                                 <propertyName>surefireArgLine</propertyName>
134                             </configuration>
135                         </execution>
136                         <execution>
137                             <id>post-unit-test</id>
138                             <phase>test</phase>
139                             <goals>
140                                 <goal>report</goal>
141                             </goals>
142                             <configuration>
143                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
144                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
145                             </configuration>
146                         </execution>
147                         <execution>
148                             <id>pre-integration-test</id>
149                             <phase>pre-integration-test</phase>
150                             <goals>
151                                 <goal>prepare-agent</goal>
152                             </goals>
153                             <configuration>
154                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
155                                 <propertyName>failsafeArgLine</propertyName>
156                             </configuration>
157                         </execution>
158
159                         <execution>
160                             <id>post-integration-test</id>
161                             <phase>post-integration-test</phase>
162                             <goals>
163                                 <goal>report</goal>
164                             </goals>
165                             <configuration>
166                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
167                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
168                             </configuration>
169                         </execution>
170                     </executions>
171                 </plugin>
172        </plugins>
173     </build>
174     <distributionManagement>
175         <repository>
176             <id>ecomp-releases</id>
177             <name>AAF Release Repository</name>
178             <url>${nexusproxy}${releaseNexusPath}</url>
179         </repository>
180         <snapshotRepository>
181             <id>ecomp-snapshots</id>
182             <name>AAF Snapshot Repository</name>
183             <url>${nexusproxy}${snapshotNexusPath}</url>
184         </snapshotRepository>
185         <site>
186             <id>ecomp-site</id>
187             <url>dav:${nexusproxy}${sitePath}</url>
188         </site>
189     </distributionManagement>
190 </project>
191