Modify distribution management for authz
[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                 <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.sonatype.plugins</groupId>
96                                 <artifactId>nexus-staging-maven-plugin</artifactId>
97                                 <version>1.6.7</version>
98                                 <extensions>true</extensions>
99                                 <configuration>
100                                         <nexusUrl>${nexusproxy}</nexusUrl>
101                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
102                                         <serverId>ecomp-staging</serverId>
103                                 </configuration>
104                         </plugin>               
105                         <plugin>
106                                 <groupId>org.jacoco</groupId>
107                                 <artifactId>jacoco-maven-plugin</artifactId>
108                                 <version>0.7.7.201606060606</version>
109                                 <configuration>
110                                         <dumpOnExit>true</dumpOnExit>
111                                         <includes>
112                                                 <include>org.onap.aaf.*</include>
113                                         </includes>
114                                 </configuration>
115                                 <executions>
116                                         <execution>
117                                                 <id>pre-unit-test</id>
118                                                 <goals>
119                                                         <goal>prepare-agent</goal>
120                                                 </goals>
121                                                 <configuration>
122                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
123                                                         <!-- <append>true</append> -->
124                                                 </configuration>
125                                         </execution>
126                                         <execution>
127                                                 <id>pre-integration-test</id>
128                                                 <phase>pre-integration-test</phase>
129                                                 <goals>
130                                                         <goal>prepare-agent</goal>
131                                                 </goals>
132                                                 <configuration>
133                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
134                                                         <!-- <append>true</append> -->
135                                                 </configuration>
136                                         </execution>
137                                         <execution>
138                         <goals>
139                             <goal>merge</goal>
140                         </goals>
141                         <phase>post-integration-test</phase>
142                         <configuration>
143                             <fileSets>
144                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
145                                     <directory>${project.build.directory}/coverage-reports</directory>
146                                     <includes>
147                                         <include>*.exec</include>
148                                     </includes>
149                                 </fileSet>
150                             </fileSets>
151                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
152                         </configuration>
153                     </execution>
154                                 </executions>
155                         </plugin>
156              </plugins>
157         </build>
158         
159         <dependencies>
160                 <dependency>
161                         <groupId>org.onap.aaf.cadi</groupId>
162                         <artifactId>aaf-cadi-aaf</artifactId>
163                 </dependency>
164
165                 <dependency>
166                         <groupId>org.onap.aaf.auth</groupId>
167                         <artifactId>aaf-auth-core</artifactId>
168                 </dependency>
169
170                 <dependency>
171                         <groupId>jline</groupId>
172                         <artifactId>jline</artifactId>
173                         <version>2.14.2</version>
174                 </dependency>
175
176         </dependencies>
177         
178         <distributionManagement>
179                 <repository>
180                         <id>ecomp-releases</id>
181                         <name>AAF Release Repository</name>
182                         <url>${nexusproxy}${releaseNexusPath}</url>
183                 </repository>
184                 <snapshotRepository>
185                         <id>ecomp-snapshots</id>
186                         <name>AAF Snapshot Repository</name>
187                         <url>${nexusproxy}${snapshotNexusPath}</url>
188                 </snapshotRepository>
189                 <site>
190                         <id>ecomp-site</id>
191                         <url>dav:${nexusproxy}${sitePath}</url>
192                 </site>
193         </distributionManagement>
194 </project>