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