Keep only clean TestCases, remove 2 license issues
[aaf/authz.git] / auth / auth-cmd / 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
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25         <modelVersion>4.0.0</modelVersion>
26         <parent>
27                 <groupId>org.onap.aaf.authz.auth</groupId>
28                 <artifactId>parent</artifactId>
29                 <version>2.1.0-SNAPSHOT</version>
30                 <relativePath>../pom.xml</relativePath>
31         </parent>
32
33         <artifactId>aaf-auth-cmd</artifactId>
34         <name>AAF Auth Command</name>
35         <description>Command Line Processor for AAF Auth</description>
36         <packaging>jar</packaging>
37
38         <properties>
39                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
40                 <!--  SONAR  -->
41                  <jacoco.version>0.7.7.201606060606</jacoco.version>
42             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44             <!-- Default Sonar configuration -->
45             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
46             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
47             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
48             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49                 <nexusproxy>https://nexus.onap.org</nexusproxy>
50                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
54         </properties>
55
56         <developers>
57                 <developer>
58                         <name>Jonathan Gathman</name>
59                         <email>jonathan.gathman@att.com</email>
60                         <organization>ATT</organization>
61                         <roles>
62                                 <role>Architect</role>
63                                 <role>Lead Developer</role>
64                         </roles>
65                 </developer>
66                 <developer>
67                         <name>Gabe Maurer</name>
68                         <email>gabe.maurer@att.com</email>
69                         <organization>ATT</organization>
70                         <roles>
71                                 <role>Developer</role>
72                         </roles>
73                 </developer>
74                 <developer>
75                         <name>Ian Howell</name>
76                         <email>ian.howell@att.com</email>
77                         <organization>ATT</organization>
78                         <roles>
79                                 <role>Developer</role>
80                         </roles>
81                 </developer>
82                 <developer>
83                         <name>Sai Gandham</name>
84                         <email>sai.gandham@att.com</email>
85                         <organization>ATT</organization>
86                         <roles>
87                                 <role>Developer</role>
88                         </roles>
89                 </developer>
90         </developers>
91
92         <build>
93            <plugins>
94            <plugin>
95                                 <groupId>org.apache.maven.plugins</groupId>
96                                 <artifactId>maven-deploy-plugin</artifactId>
97                                 <configuration>
98                                         <skip>true</skip>
99                                 </configuration>
100                         </plugin>
101                 <plugin>
102                                 <groupId>org.sonatype.plugins</groupId>
103                                 <artifactId>nexus-staging-maven-plugin</artifactId>
104                                 <version>1.6.7</version>
105                                 <extensions>true</extensions>
106                                 <configuration>
107                                         <nexusUrl>${nexusproxy}</nexusUrl>
108                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
109                                         <serverId>ecomp-staging</serverId>
110                                 </configuration>
111                         </plugin>               
112                         <plugin>
113                                 <groupId>org.jacoco</groupId>
114                                 <artifactId>jacoco-maven-plugin</artifactId>
115                                 <version>0.7.7.201606060606</version>
116                                 <configuration>
117                                         <dumpOnExit>true</dumpOnExit>
118                                         <includes>
119                                                 <include>org.onap.aaf.*</include>
120                                         </includes>
121                                 </configuration>
122                                 <executions>
123                                         <execution>
124                                                 <id>pre-unit-test</id>
125                                                 <goals>
126                                                         <goal>prepare-agent</goal>
127                                                 </goals>
128                                                 <configuration>
129                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
130                                                         <!-- <append>true</append> -->
131                                                 </configuration>
132                                         </execution>
133                                         <execution>
134                                                 <id>pre-integration-test</id>
135                                                 <phase>pre-integration-test</phase>
136                                                 <goals>
137                                                         <goal>prepare-agent</goal>
138                                                 </goals>
139                                                 <configuration>
140                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
141                                                         <!-- <append>true</append> -->
142                                                 </configuration>
143                                         </execution>
144                                         <execution>
145                         <goals>
146                             <goal>merge</goal>
147                         </goals>
148                         <phase>post-integration-test</phase>
149                         <configuration>
150                             <fileSets>
151                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
152                                     <directory>${project.build.directory}/coverage-reports</directory>
153                                     <includes>
154                                         <include>*.exec</include>
155                                     </includes>
156                                 </fileSet>
157                             </fileSets>
158                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
159                         </configuration>
160                     </execution>
161                                 </executions>
162                         </plugin>
163              </plugins>
164         </build>
165         
166         <dependencies>
167                 <dependency>
168                         <groupId>org.onap.aaf.authz.cadi</groupId>
169                         <artifactId>aaf-cadi-aaf</artifactId>
170                 </dependency>
171
172                 <dependency>
173                         <groupId>org.onap.aaf.authz.auth</groupId>
174                         <artifactId>aaf-auth-core</artifactId>
175                 </dependency>
176
177                 <dependency>
178                         <groupId>jline</groupId>
179                         <artifactId>jline</artifactId>
180                         <version>2.14.2</version>
181                 </dependency>
182
183         </dependencies>
184         
185         <distributionManagement>
186                 <repository>
187                         <id>ecomp-releases</id>
188                         <name>AAF Release Repository</name>
189                         <url>${nexusproxy}${releaseNexusPath}</url>
190                 </repository>
191                 <snapshotRepository>
192                         <id>ecomp-snapshots</id>
193                         <name>AAF Snapshot Repository</name>
194                         <url>${nexusproxy}${snapshotNexusPath}</url>
195                 </snapshotRepository>
196                 <site>
197                         <id>ecomp-site</id>
198                         <url>dav:${nexusproxy}${sitePath}</url>
199                 </site>
200         </distributionManagement>
201 </project>