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