Change Beijing Release to 2.1.1
[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.1-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.apache.maven.plugins</groupId>
90                                 <artifactId>maven-deploy-plugin</artifactId>
91                                 <configuration>
92                                         <skip>false</skip>
93                                 </configuration>
94                         </plugin>
95                         <plugin>
96                                 <groupId>org.sonatype.plugins</groupId>
97                                 <artifactId>nexus-staging-maven-plugin</artifactId>
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                                 <configuration>
109                                         <excludes>
110                                                 <exclude>**/gen/**</exclude>
111                                                 <exclude>**/generated-sources/**</exclude>
112                                                 <exclude>**/yang-gen/**</exclude>
113                                                 <exclude>**/pax/**</exclude>
114                                         </excludes>
115                                 </configuration>
116                                 <executions>
117
118                                         <execution>
119                                                 <id>pre-unit-test</id>
120                                                 <goals>
121                                                         <goal>prepare-agent</goal>
122                                                 </goals>
123                                                 <configuration>
124                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
125                                                         <propertyName>surefireArgLine</propertyName>
126                                                 </configuration>
127                                         </execution>
128
129
130                                         <execution>
131                                                 <id>post-unit-test</id>
132                                                 <phase>test</phase>
133                                                 <goals>
134                                                         <goal>report</goal>
135                                                 </goals>
136                                                 <configuration>
137                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
138                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
139                                                 </configuration>
140                                         </execution>
141                                         <execution>
142                                                 <id>pre-integration-test</id>
143                                                 <phase>pre-integration-test</phase>
144                                                 <goals>
145                                                         <goal>prepare-agent</goal>
146                                                 </goals>
147                                                 <configuration>
148                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
149                                                         <propertyName>failsafeArgLine</propertyName>
150                                                 </configuration>
151                                         </execution>
152
153                                         <execution>
154                                                 <id>post-integration-test</id>
155                                                 <phase>post-integration-test</phase>
156                                                 <goals>
157                                                         <goal>report</goal>
158                                                 </goals>
159                                                 <configuration>
160                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
161                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
162                                                 </configuration>
163                                         </execution>
164                                 </executions>
165                         </plugin>
166                         <plugin>
167                                 <artifactId>maven-assembly-plugin</artifactId>
168                                 <configuration>
169                                         <classifier>tests</classifier>
170                                         <archive>
171                                                 <manifest>
172                                                         <mainClass>org.onap.aaf.auth.cmd.AAFcli</mainClass>
173                                                 </manifest>
174                                                 <manifestEntries>
175                                                         <Sealed>true</Sealed>
176                                                 </manifestEntries>
177                                         </archive>
178                                 </configuration>
179                                 <executions>
180                                         <execution>
181                                                 <id>full</id>
182                                                 <phase>package</phase>
183                                                 <goals>
184                                                         <goal>single</goal>
185                                                 </goals>
186                                                 <configuration>
187                                                         <descriptors>
188                                                                 <descriptor>src/assemble/auth-cmd.xml</descriptor>
189                                                         </descriptors>
190                                                 </configuration>
191                                         </execution>
192                                 </executions>
193                         </plugin>
194                         
195                 </plugins>
196         </build>
197
198         <dependencies>
199                 <dependency>
200                         <groupId>org.onap.aaf.authz</groupId>
201                         <artifactId>aaf-cadi-aaf</artifactId>
202                 </dependency>
203
204                 <dependency>
205                         <groupId>org.onap.aaf.authz</groupId>
206                         <artifactId>aaf-auth-core</artifactId>
207                 </dependency>
208
209                 <dependency>
210                         <groupId>jline</groupId>
211                         <artifactId>jline</artifactId>
212                         <version>2.14.2</version>
213                 </dependency>
214
215         </dependencies>
216
217         <distributionManagement>
218                 <repository>
219                         <id>ecomp-releases</id>
220                         <name>AAF Release Repository</name>
221                         <url>${nexusproxy}${releaseNexusPath}</url>
222                 </repository>
223                 <snapshotRepository>
224                         <id>ecomp-snapshots</id>
225                         <name>AAF Snapshot Repository</name>
226                         <url>${nexusproxy}${snapshotNexusPath}</url>
227                 </snapshotRepository>
228                 <site>
229                         <id>ecomp-site</id>
230                         <url>dav:${nexusproxy}${sitePath}</url>
231                 </site>
232         </distributionManagement>
233 </project>