e1a14e2766675e5c99dd347527fef3362b0f5907
[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         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
59                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
60                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
61                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
62                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
63   </properties>\r
64   \r
65   <dependencies>\r
66     <dependency>\r
67       <groupId>org.onap.aaf.cadi</groupId>\r
68       <artifactId>cadi-aaf</artifactId>\r
69     </dependency>\r
70     \r
71     <dependency>\r
72       <groupId>org.onap.aaf.authz</groupId>\r
73       <artifactId>authz-core</artifactId>\r
74     </dependency>\r
75     \r
76     <dependency> \r
77       <groupId>jline</groupId> \r
78       <artifactId>jline</artifactId> \r
79       <version>2.14.2</version> \r
80     </dependency>\r
81 \r
82         <dependency>\r
83                 <groupId>org.slf4j</groupId>\r
84                 <artifactId>slf4j-log4j12</artifactId>\r
85         </dependency>\r
86 \r
87   </dependencies>\r
88 \r
89         <build>\r
90                 <plugins>\r
91                         <plugin>\r
92                                 <artifactId>maven-assembly-plugin</artifactId>\r
93                                 <version>2.4</version>\r
94                                 <configuration>\r
95                                         <classifier>tests</classifier>\r
96                                         <archive>\r
97                                                 <manifestEntries>\r
98                                                         <Sealed>true</Sealed>\r
99                                                 </manifestEntries>\r
100                                         </archive>\r
101                                 </configuration>\r
102                                 <executions>\r
103                                         <execution>\r
104                                                 <id>full</id>\r
105                                                 <phase>package</phase>\r
106                                                 <goals>\r
107                                                         <goal>single</goal>\r
108                                                 </goals>\r
109                                                 <configuration>\r
110                                                         <descriptors>\r
111                                                                 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>\r
112                                                         </descriptors>\r
113                                                 </configuration>\r
114                                         </execution>\r
115                                 </executions>\r
116                         </plugin>\r
117         \r
118                                 <plugin>\r
119                                         <groupId>org.apache.maven.plugins</groupId>\r
120                                         <artifactId>maven-deploy-plugin</artifactId>\r
121                                         <configuration>\r
122                                                 <skip>true</skip>\r
123                                         </configuration>\r
124                                 </plugin>\r
125                                 \r
126                                 \r
127                 <plugin>\r
128                         <groupId>org.apache.maven.plugins</groupId>\r
129                         <artifactId>maven-javadoc-plugin</artifactId>\r
130                         <configuration>\r
131                         <failOnError>false</failOnError>\r
132                         </configuration>\r
133                         <executions>\r
134                                 <execution>\r
135                                         <id>attach-javadocs</id>\r
136                                         <goals>\r
137                                                 <goal>jar</goal>\r
138                                         </goals>\r
139                                 </execution>\r
140                         </executions>\r
141                 </plugin> \r
142            \r
143            \r
144                <plugin>\r
145                       <groupId>org.apache.maven.plugins</groupId>\r
146                       <artifactId>maven-source-plugin</artifactId>\r
147                       <version>2.2.1</version>\r
148                       <executions>\r
149                         <execution>\r
150                           <id>attach-sources</id>\r
151                           <goals>\r
152                             <goal>jar-no-fork</goal>\r
153                           </goals>\r
154                         </execution>\r
155                       </executions>\r
156                     </plugin>\r
157                  <plugin>\r
158                                 <groupId>org.sonatype.plugins</groupId>\r
159                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
160                                 <version>1.6.7</version>\r
161                                 <extensions>true</extensions>\r
162                                 <configuration>\r
163                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
164                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
165                                         <serverId>ecomp-staging</serverId>\r
166                                 </configuration>\r
167                         </plugin> \r
168                 \r
169                         </plugins>\r
170                 <pluginManagement>\r
171                         <plugins/>\r
172                 </pluginManagement>\r
173         </build>\r
174 <distributionManagement>\r
175                 <repository>\r
176                         <id>ecomp-releases</id>\r
177                         <name>AAF Release Repository</name>\r
178                         <url>${nexusproxy}${releaseNexusPath}</url>\r
179                 </repository>\r
180                 <snapshotRepository>\r
181                         <id>ecomp-snapshots</id>\r
182                         <name>AAF Snapshot Repository</name>\r
183                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
184                 </snapshotRepository>\r
185                 <site>\r
186                         <id>ecomp-site</id>\r
187                         <url>dav:${nexusproxy}${sitePath}</url>\r
188                 </site>\r
189         </distributionManagement>\r
190 <pluginRepositories>\r
191         <pluginRepository>\r
192             <id>onap-plugin-snapshots</id>\r
193             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
194         </pluginRepository>\r
195     </pluginRepositories>\r
196         \r
197         <repositories>\r
198                 <repository>\r
199                         <id>central</id>\r
200                         <name>Maven 2 repository 2</name>\r
201                         <url>http://repo2.maven.org/maven2/</url>\r
202                 </repository>\r
203                 <repository>\r
204             <id>onap-jar-snapshots</id>\r
205             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
206         </repository>\r
207                 <repository>\r
208                         <id>spring-repo</id>\r
209                         <name>Spring repo</name>\r
210                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
211                 </repository>\r
212                 <repository>\r
213                         <id>repository.jboss.org-public</id>\r
214                         <name>JBoss.org Maven repository</name>\r
215                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
216                 </repository>\r
217         </repositories>\r
218 \r
219 </project>\r