Include all modules in AAF parent
[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.0-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                                 <version>1.6.7</version>
99                                 <extensions>true</extensions>
100                                 <configuration>
101                                         <nexusUrl>${nexusproxy}</nexusUrl>
102                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
103                                         <serverId>ecomp-staging</serverId>
104                                 </configuration>
105                         </plugin>
106                         <plugin>
107                                 <groupId>org.jacoco</groupId>
108                                 <artifactId>jacoco-maven-plugin</artifactId>
109                                 <version>${jacoco.version}</version>
110                                 <configuration>
111                                         <excludes>
112                                                 <exclude>**/gen/**</exclude>
113                                                 <exclude>**/generated-sources/**</exclude>
114                                                 <exclude>**/yang-gen/**</exclude>
115                                                 <exclude>**/pax/**</exclude>
116                                         </excludes>
117                                 </configuration>
118                                 <executions>
119
120                                         <execution>
121                                                 <id>pre-unit-test</id>
122                                                 <goals>
123                                                         <goal>prepare-agent</goal>
124                                                 </goals>
125                                                 <configuration>
126                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
127                                                         <propertyName>surefireArgLine</propertyName>
128                                                 </configuration>
129                                         </execution>
130
131
132                                         <execution>
133                                                 <id>post-unit-test</id>
134                                                 <phase>test</phase>
135                                                 <goals>
136                                                         <goal>report</goal>
137                                                 </goals>
138                                                 <configuration>
139                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
140                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
141                                                 </configuration>
142                                         </execution>
143                                         <execution>
144                                                 <id>pre-integration-test</id>
145                                                 <phase>pre-integration-test</phase>
146                                                 <goals>
147                                                         <goal>prepare-agent</goal>
148                                                 </goals>
149                                                 <configuration>
150                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
151                                                         <propertyName>failsafeArgLine</propertyName>
152                                                 </configuration>
153                                         </execution>
154
155                                         <execution>
156                                                 <id>post-integration-test</id>
157                                                 <phase>post-integration-test</phase>
158                                                 <goals>
159                                                         <goal>report</goal>
160                                                 </goals>
161                                                 <configuration>
162                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
163                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
164                                                 </configuration>
165                                         </execution>
166                                 </executions>
167                         </plugin>
168                 </plugins>
169         </build>
170
171         <dependencies>
172                 <dependency>
173                         <groupId>org.onap.aaf.authz</groupId>
174                         <artifactId>aaf-cadi-aaf</artifactId>
175                         <version>${project.version}</version>
176                 </dependency>
177
178                 <dependency>
179                         <groupId>org.onap.aaf.authz</groupId>
180                         <artifactId>aaf-auth-core</artifactId>
181                         <version>${project.version}</version>
182                 </dependency>
183
184                 <dependency>
185                         <groupId>jline</groupId>
186                         <artifactId>jline</artifactId>
187                         <version>2.14.2</version>
188                 </dependency>
189
190         </dependencies>
191
192         <distributionManagement>
193                 <repository>
194                         <id>ecomp-releases</id>
195                         <name>AAF Release Repository</name>
196                         <url>${nexusproxy}${releaseNexusPath}</url>
197                 </repository>
198                 <snapshotRepository>
199                         <id>ecomp-snapshots</id>
200                         <name>AAF Snapshot Repository</name>
201                         <url>${nexusproxy}${snapshotNexusPath}</url>
202                 </snapshotRepository>
203                 <site>
204                         <id>ecomp-site</id>
205                         <url>dav:${nexusproxy}${sitePath}</url>
206                 </site>
207         </distributionManagement>
208 </project>