Update version.properties to aaf authz
[aaf/authz.git] / authz-cmd / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aaf\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * ===========================================================================\r
8   * Licensed under the Apache License, Version 2.0 (the "License");\r
9   * you may not use this file except in compliance with the License.\r
10   * You may obtain a copy of the License at\r
11   * \r
12    *      http://www.apache.org/licenses/LICENSE-2.0\r
13   * \r
14    * Unless required by applicable law or agreed to in writing, software\r
15   * distributed under the License is distributed on an "AS IS" BASIS,\r
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   * See the License for the specific language governing permissions and\r
18   * limitations under the License.\r
19   * ============LICENSE_END====================================================\r
20   *\r
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22   *\r
23 -->\r
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
25          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
26   <modelVersion>4.0.0</modelVersion>\r
27   <parent>\r
28     <groupId>org.onap.aaf.authz</groupId>\r
29     <artifactId>parent</artifactId>\r
30     <version>1.0.0-SNAPSHOT</version>\r
31     <relativePath>../pom.xml</relativePath>\r
32   </parent>\r
33   \r
34   <artifactId>authz-cmd</artifactId>\r
35   <name>Authz Command</name>\r
36   <description>Command Line Processor for Authz</description>\r
37   <packaging>jar</packaging>\r
38         <url>https://github.com/att/AAF</url>\r
39         <licenses>\r
40                 <license>\r
41                 <name>BSD License</name>\r
42                 <url> </url>\r
43                 </license>\r
44         </licenses>\r
45         <developers>\r
46                 <developer>\r
47                 <name>Jonathan Gathman</name>\r
48                 <email></email>\r
49         <organization>ATT</organization>\r
50         <organizationUrl></organizationUrl>\r
51                 </developer>\r
52         </developers>\r
53 \r
54   <properties>\r
55     <maven.test.failure.ignore>false</maven.test.failure.ignore>\r
56     <project.swmVersion>21</project.swmVersion>\r
57         <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
58                 <sonar.language>java</sonar.language>\r
59                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
60                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
61                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
62                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
63                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
64                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
65         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
66                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
67                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
68                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
69                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
70   </properties>\r
71   \r
72   <dependencies>\r
73     <dependency>\r
74       <groupId>org.onap.aaf.cadi</groupId>\r
75       <artifactId>cadi-aaf</artifactId>\r
76     </dependency>\r
77     \r
78     <dependency>\r
79       <groupId>org.onap.aaf.authz</groupId>\r
80       <artifactId>authz-core</artifactId>\r
81     </dependency>\r
82     \r
83     <dependency> \r
84       <groupId>jline</groupId> \r
85       <artifactId>jline</artifactId> \r
86       <version>2.14.2</version> \r
87     </dependency>\r
88 \r
89         <dependency>\r
90                 <groupId>org.slf4j</groupId>\r
91                 <artifactId>slf4j-log4j12</artifactId>\r
92         </dependency>\r
93 \r
94   </dependencies>\r
95 \r
96         <build>\r
97                 <plugins>\r
98                         <plugin>\r
99                                 <artifactId>maven-assembly-plugin</artifactId>\r
100                                 <version>2.4</version>\r
101                                 <configuration>\r
102                                         <classifier>tests</classifier>\r
103                                         <archive>\r
104                                                 <manifestEntries>\r
105                                                         <Sealed>true</Sealed>\r
106                                                 </manifestEntries>\r
107                                         </archive>\r
108                                 </configuration>\r
109                                 <executions>\r
110                                         <execution>\r
111                                                 <id>full</id>\r
112                                                 <phase>package</phase>\r
113                                                 <goals>\r
114                                                         <goal>single</goal>\r
115                                                 </goals>\r
116                                                 <configuration>\r
117                                                         <descriptors>\r
118                                                                 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>\r
119                                                         </descriptors>\r
120                                                 </configuration>\r
121                                         </execution>\r
122                                 </executions>\r
123                         </plugin>\r
124         \r
125                                 <plugin>\r
126                                         <groupId>org.apache.maven.plugins</groupId>\r
127                                         <artifactId>maven-deploy-plugin</artifactId>\r
128                                         <configuration>\r
129                                                 <skip>true</skip>\r
130                                         </configuration>\r
131                                 </plugin>\r
132                                 \r
133                                 \r
134                 <plugin>\r
135                         <groupId>org.apache.maven.plugins</groupId>\r
136                         <artifactId>maven-javadoc-plugin</artifactId>\r
137                         <configuration>\r
138                         <failOnError>false</failOnError>\r
139                         </configuration>\r
140                         <executions>\r
141                                 <execution>\r
142                                         <id>attach-javadocs</id>\r
143                                         <goals>\r
144                                                 <goal>jar</goal>\r
145                                         </goals>\r
146                                 </execution>\r
147                         </executions>\r
148                 </plugin> \r
149            \r
150            \r
151                <plugin>\r
152                       <groupId>org.apache.maven.plugins</groupId>\r
153                       <artifactId>maven-source-plugin</artifactId>\r
154                       <version>2.2.1</version>\r
155                       <executions>\r
156                         <execution>\r
157                           <id>attach-sources</id>\r
158                           <goals>\r
159                             <goal>jar-no-fork</goal>\r
160                           </goals>\r
161                         </execution>\r
162                       </executions>\r
163                     </plugin>\r
164                  <plugin>\r
165                                 <groupId>org.sonatype.plugins</groupId>\r
166                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
167                                 <version>1.6.7</version>\r
168                                 <extensions>true</extensions>\r
169                                 <configuration>\r
170                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
171                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
172                                         <serverId>ecomp-staging</serverId>\r
173                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\r
174                                 </configuration>\r
175                         </plugin>               \r
176                         <plugin>\r
177                                 <groupId>org.jacoco</groupId>\r
178                                 <artifactId>jacoco-maven-plugin</artifactId>\r
179                                 <version>0.7.7.201606060606</version>\r
180                                 <configuration>\r
181                                         <dumpOnExit>true</dumpOnExit>\r
182                                         <includes>\r
183                                                 <include>org.onap.aaf.*</include>\r
184                                         </includes>\r
185                                 </configuration>\r
186                                 <executions>\r
187                                         <execution>\r
188                                                 <id>pre-unit-test</id>\r
189                                                 <goals>\r
190                                                         <goal>prepare-agent</goal>\r
191                                                 </goals>\r
192                                                 <configuration>\r
193                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
194                                                         <!-- <append>true</append> -->\r
195                                                 </configuration>\r
196                                         </execution>\r
197                                         <execution>\r
198                                                 <id>pre-integration-test</id>\r
199                                                 <phase>pre-integration-test</phase>\r
200                                                 <goals>\r
201                                                         <goal>prepare-agent</goal>\r
202                                                 </goals>\r
203                                                 <configuration>\r
204                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
205                                                         <!-- <append>true</append> -->\r
206                                                 </configuration>\r
207                                         </execution>\r
208                                         <execution>\r
209                         <goals>\r
210                             <goal>merge</goal>\r
211                         </goals>\r
212                         <phase>post-integration-test</phase>\r
213                         <configuration>\r
214                             <fileSets>\r
215                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
216                                     <directory>${project.build.directory}/coverage-reports</directory>\r
217                                     <includes>\r
218                                         <include>*.exec</include>\r
219                                     </includes>\r
220                                 </fileSet>\r
221                             </fileSets>\r
222                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
223                         </configuration>\r
224                     </execution>\r
225                                 </executions>\r
226                         </plugin>\r
227                 \r
228                         </plugins>\r
229                 <pluginManagement>\r
230                         <plugins/>\r
231                 </pluginManagement>\r
232         </build>\r
233 <distributionManagement>\r
234                 <repository>\r
235                         <id>ecomp-releases</id>\r
236                         <name>AAF Release Repository</name>\r
237                         <url>${nexusproxy}${releaseNexusPath}</url>\r
238                 </repository>\r
239                 <snapshotRepository>\r
240                         <id>ecomp-snapshots</id>\r
241                         <name>AAF Snapshot Repository</name>\r
242                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
243                 </snapshotRepository>\r
244                 <site>\r
245                         <id>ecomp-site</id>\r
246                         <url>dav:${nexusproxy}${sitePath}</url>\r
247                 </site>\r
248         </distributionManagement>\r
249 <pluginRepositories>\r
250         <pluginRepository>\r
251             <id>onap-plugin-snapshots</id>\r
252             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
253         </pluginRepository>\r
254     </pluginRepositories>\r
255         \r
256         <repositories>\r
257                 <repository>\r
258                         <id>central</id>\r
259                         <name>Maven 2 repository 2</name>\r
260                         <url>http://repo2.maven.org/maven2/</url>\r
261                 </repository>\r
262                 <repository>\r
263             <id>onap-jar-snapshots</id>\r
264             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
265         </repository>\r
266                 <repository>\r
267                         <id>spring-repo</id>\r
268                         <name>Spring repo</name>\r
269                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
270                 </repository>\r
271                 <repository>\r
272                         <id>repository.jboss.org-public</id>\r
273                         <name>JBoss.org Maven repository</name>\r
274                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
275                 </repository>\r
276         </repositories>\r
277 \r
278 </project>\r