Create and prepare non-deploy release 2.7.1
[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.7.1-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>Sai Gandham</name>
56             <email>sai.gandham@att.com</email>
57             <organization>ATT</organization>
58             <roles>
59                 <role>Developer</role>
60             </roles>
61         </developer>
62     </developers>
63     <dependencies>
64         <dependency>
65             <groupId>javax.servlet</groupId>
66             <artifactId>javax.servlet-api</artifactId>
67             <scope>provided</scope>
68         </dependency>
69     </dependencies>
70     <build>
71         <plugins>
72             <plugin>
73                 <!-- Must put this in to turn on Signing, but Configuration itself is
74                     in Parent -->
75                 <groupId>org.apache.maven.plugins</groupId>
76                 <artifactId>maven-jarsigner-plugin</artifactId>
77                 <version>1.4</version>
78             </plugin>
79             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-jar-plugin</artifactId>
82                 <configuration>
83                     <archive>
84                         <manifest>
85                             <mainClass>org.onap.aaf.cadi.CmdLine</mainClass>
86                         </manifest>
87                         <manifestEntries>
88                             <Sealed>true</Sealed>
89                         </manifestEntries>
90                     </archive>
91                 </configuration>
92                 <executions>
93                     <execution>
94                         <id>test-jar</id>
95                         <phase>package</phase>
96                         <goals>
97                             <goal>test-jar</goal>
98                         </goals>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <groupId>org.jacoco</groupId>
104                 <artifactId>jacoco-maven-plugin</artifactId>
105                 <configuration>
106                     <excludes>
107                         <exclude>**/gen/**</exclude>
108                         <exclude>**/generated-sources/**</exclude>
109                         <exclude>**/yang-gen/**</exclude>
110                         <exclude>**/pax/**</exclude>
111                     </excludes>
112                 </configuration>
113                 <executions>
114                     <execution>
115                         <id>pre-unit-test</id>
116                         <goals>
117                             <goal>prepare-agent</goal>
118                         </goals>
119                         <configuration>
120                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
121                             <propertyName>surefireArgLine</propertyName>
122                         </configuration>
123                     </execution>
124                     <execution>
125                         <id>post-unit-test</id>
126                         <phase>test</phase>
127                         <goals>
128                             <goal>report</goal>
129                         </goals>
130                         <configuration>
131                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
132                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
133                         </configuration>
134                     </execution>
135                     <execution>
136                         <id>pre-integration-test</id>
137                         <phase>pre-integration-test</phase>
138                         <goals>
139                             <goal>prepare-agent</goal>
140                         </goals>
141                         <configuration>
142                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
143                             <propertyName>failsafeArgLine</propertyName>
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <id>post-integration-test</id>
148                         <phase>post-integration-test</phase>
149                         <goals>
150                             <goal>report</goal>
151                         </goals>
152                         <configuration>
153                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
154                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
155                         </configuration>
156                     </execution>
157                 </executions>
158             </plugin>
159         </plugins>
160     </build>
161
162     <distributionManagement>
163         <repository>
164             <id>ecomp-releases</id>
165             <name>AAF Release Repository</name>
166             <url>${nexusproxy}${releaseNexusPath}</url>
167         </repository>
168         <snapshotRepository>
169             <id>ecomp-snapshots</id>
170             <name>AAF Snapshot Repository</name>
171             <url>${nexusproxy}${snapshotNexusPath}</url>
172         </snapshotRepository>
173         <site>
174             <id>ecomp-site</id>
175             <url>dav:${nexusproxy}${sitePath}</url>
176         </site>
177     </distributionManagement>
178 </project>