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