Move AAF Poms to 2.1.16
[aaf/authz.git] / cadi / core / pom.xml
1 <!-- * ============LICENSE_START====================================================
2     * org.onap.aaf * ===========================================================================
3     * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * ===========================================================================
4     * Licensed under the Apache License, Version 2.0 (the "License"); * you may
5     not use this file except in compliance with the License. * You may obtain
6     a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
7     * Unless required by applicable law or agreed to in writing, software * distributed
8     under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
9     OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
10     the specific language governing permissions and * limitations under the License.
11     * ============LICENSE_END====================================================
12     * -->
13 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15     <parent>
16         <groupId>org.onap.aaf.authz</groupId>
17         <artifactId>cadiparent</artifactId>
18         <relativePath>..</relativePath>
19         <version>2.1.16-SNAPSHOT</version>
20     </parent>
21
22     <modelVersion>4.0.0</modelVersion>
23     <name>AAF CADI Core Framework</name>
24     <artifactId>aaf-cadi-core</artifactId>
25     <packaging>jar</packaging>
26
27     <properties>
28     <!--  SONAR  -->
29         <jacoco.version>0.7.7.201606060606</jacoco.version>
30         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
31         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
32         <!-- Default Sonar configuration -->
33         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
34         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
35         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
36         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
37         <nexusproxy>https://nexus.onap.org</nexusproxy>
38         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
42     </properties>
43
44     <developers>
45         <developer>
46             <name>Jonathan Gathman</name>
47             <email>jonathan.gathman@att.com</email>
48             <organization>ATT</organization>
49             <roles>
50                 <role>Architect</role>
51                 <role>Lead Developer</role>
52             </roles>
53         </developer>
54         <developer>
55             <name>Gabe Maurer</name>
56             <email>gabe.maurer@att.com</email>
57             <organization>ATT</organization>
58             <roles>
59                 <role>Developer</role>
60             </roles>
61         </developer>
62         <developer>
63             <name>Ian Howell</name>
64             <email>ian.howell@att.com</email>
65             <organization>ATT</organization>
66             <roles>
67                 <role>Developer</role>
68             </roles>
69         </developer>
70         <developer>
71             <name>Sai Gandham</name>
72             <email>sai.gandham@att.com</email>
73             <organization>ATT</organization>
74             <roles>
75                 <role>Developer</role>
76             </roles>
77         </developer>
78     </developers>
79     <dependencies>
80         <dependency>
81             <groupId>javax.servlet</groupId>
82             <artifactId>javax.servlet-api</artifactId>
83             <scope>provided</scope>
84         </dependency>
85     </dependencies>
86     <build>
87         <plugins>
88             <plugin>
89                 <!-- Must put this in to turn on Signing, but Configuration itself is
90                     in Parent -->
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-jarsigner-plugin</artifactId>
93                 <version>1.4</version>
94             </plugin>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-jar-plugin</artifactId>
98                 <configuration>
99                     <archive>
100                         <manifest>
101                             <mainClass>org.onap.aaf.cadi.CmdLine</mainClass>
102                         </manifest>
103                         <manifestEntries>
104                             <Sealed>true</Sealed>
105                         </manifestEntries>
106                     </archive>
107                 </configuration>
108                 <executions>
109                     <execution>
110                         <id>test-jar</id>
111                         <phase>package</phase>
112                         <goals>
113                             <goal>test-jar</goal>
114                         </goals>
115                     </execution>
116                 </executions>
117             </plugin>
118             <plugin>
119                 <groupId>org.jacoco</groupId>
120                 <artifactId>jacoco-maven-plugin</artifactId>
121                 <configuration>
122                     <excludes>
123                         <exclude>**/gen/**</exclude>
124                         <exclude>**/generated-sources/**</exclude>
125                         <exclude>**/yang-gen/**</exclude>
126                         <exclude>**/pax/**</exclude>
127                     </excludes>
128                 </configuration>
129                 <executions>
130                     <execution>
131                         <id>pre-unit-test</id>
132                         <goals>
133                             <goal>prepare-agent</goal>
134                         </goals>
135                         <configuration>
136                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
137                             <propertyName>surefireArgLine</propertyName>
138                         </configuration>
139                     </execution>
140                     <execution>
141                         <id>post-unit-test</id>
142                         <phase>test</phase>
143                         <goals>
144                             <goal>report</goal>
145                         </goals>
146                         <configuration>
147                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
148                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
149                         </configuration>
150                     </execution>
151                     <execution>
152                         <id>pre-integration-test</id>
153                         <phase>pre-integration-test</phase>
154                         <goals>
155                             <goal>prepare-agent</goal>
156                         </goals>
157                         <configuration>
158                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
159                             <propertyName>failsafeArgLine</propertyName>
160                         </configuration>
161                     </execution>
162                     <execution>
163                         <id>post-integration-test</id>
164                         <phase>post-integration-test</phase>
165                         <goals>
166                             <goal>report</goal>
167                         </goals>
168                         <configuration>
169                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
170                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
171                         </configuration>
172                     </execution>
173                 </executions>
174             </plugin>
175         </plugins>
176     </build>
177
178     <distributionManagement>
179         <repository>
180             <id>ecomp-releases</id>
181             <name>AAF Release Repository</name>
182             <url>${nexusproxy}${releaseNexusPath}</url>
183         </repository>
184         <snapshotRepository>
185             <id>ecomp-snapshots</id>
186             <name>AAF Snapshot Repository</name>
187             <url>${nexusproxy}${snapshotNexusPath}</url>
188         </snapshotRepository>
189         <site>
190             <id>ecomp-site</id>
191             <url>dav:${nexusproxy}${sitePath}</url>
192         </site>
193     </distributionManagement>
194 </project>