38fe15c5e47bf81268a734abeb734bb82b17a2c5
[aaf/authz.git] / authz-client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aai\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * Copyright © 2017 Amdocs\r
8   * ===========================================================================\r
9   * Licensed under the Apache License, Version 2.0 (the "License");\r
10   * you may not use this file except in compliance with the License.\r
11   * You may obtain a copy of the License at\r
12   * \r
13    *      http://www.apache.org/licenses/LICENSE-2.0\r
14   * \r
15    * Unless required by applicable law or agreed to in writing, software\r
16   * distributed under the License is distributed on an "AS IS" BASIS,\r
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
18   * See the License for the specific language governing permissions and\r
19   * limitations under the License.\r
20   * ============LICENSE_END====================================================\r
21   *\r
22   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
23   *\r
24 -->\r
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
26         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
27         <modelVersion>4.0.0</modelVersion>\r
28 \r
29         <!-- No Parent on Purpose!!! -->\r
30         <artifactId>authz-client</artifactId>\r
31         <name>Authz Client</name>\r
32         <description>Client and XSD Generated code for Authz</description>\r
33         <groupId>org.onap.aaf.authz</groupId>\r
34         <version>1.0.0-SNAPSHOT</version>\r
35         <packaging>jar</packaging>\r
36         <url>https://github.com/att/AAF</url>\r
37         <licenses>\r
38                 <license>\r
39                 <name>BSD License</name>\r
40                 <url> </url>\r
41                 </license>\r
42         </licenses>\r
43         <developers>\r
44                 <developer>\r
45                 <name>Jonathan Gathman</name>\r
46                 <email></email>\r
47         <organization>ATT</organization>\r
48         <organizationUrl></organizationUrl>\r
49                 </developer>\r
50         </developers>\r
51         \r
52                 <properties>\r
53                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
54                 <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>\r
55                 <maven.test.failure.ignore>true</maven.test.failure.ignore>\r
56                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
57         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
58                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
59                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
60                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
61                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
62         </properties>\r
63         \r
64         <dependencies>\r
65                 <dependency>\r
66                         <groupId>junit</groupId>\r
67                         <artifactId>junit</artifactId>\r
68                         <version>4.10</version>\r
69                         <scope>test</scope>\r
70                 </dependency>\r
71                         \r
72         </dependencies>\r
73 \r
74         <build>\r
75                         <plugins>\r
76                                 <plugin>\r
77                                         <groupId>org.codehaus.mojo</groupId>\r
78                                         <artifactId>jaxb2-maven-plugin</artifactId>\r
79                                         <version>1.3</version>\r
80                                         <executions>\r
81                                                 <execution>\r
82                                                         <phase>generate-sources</phase>\r
83                                                         <goals>\r
84                                                                 <goal>xjc</goal>\r
85                                                         </goals>\r
86                                                 </execution>\r
87                                         </executions>\r
88                                         <configuration>\r
89                                                 <schemaDirectory>src/main/xsd</schemaDirectory>\r
90                                         </configuration>\r
91                                 </plugin>\r
92                                 <plugin>\r
93                                         <groupId>org.apache.maven.plugins</groupId>\r
94                                         <artifactId>maven-compiler-plugin</artifactId>\r
95                                         <configuration>\r
96                                                 <source>1.6</source>\r
97                                                 <target>1.6</target>\r
98                                         </configuration>\r
99                                 </plugin>\r
100                                 <plugin>\r
101                                         <groupId>org.apache.maven.plugins</groupId>\r
102                                         <artifactId>maven-deploy-plugin</artifactId>\r
103                                         <version>2.5</version>\r
104                                         <configuration>\r
105                                                 <skip>false</skip>\r
106                                         </configuration>\r
107                                 </plugin>\r
108 \r
109                                 <!--This plugin's configuration is used to store Eclipse m2e settings \r
110                                         only. It has no influence on the Maven build itself. -->\r
111                                 <plugin>\r
112                                         <groupId>org.eclipse.m2e</groupId>\r
113                                         <artifactId>lifecycle-mapping</artifactId>\r
114                                         <version>1.0.0</version>\r
115                                         <configuration>\r
116                                                 <lifecycleMappingMetadata>\r
117                                                         <pluginExecutions>\r
118                                                                 <pluginExecution>\r
119                                                                         <pluginExecutionFilter>\r
120                                                                                 <groupId>\r
121                                                                                         org.codehaus.mojo\r
122                                                                                 </groupId>\r
123                                                                                 <artifactId>\r
124                                                                                         jaxb2-maven-plugin\r
125                                                                                 </artifactId>\r
126                                                                                 <versionRange>\r
127                                                                                         [1.3,)\r
128                                                                                 </versionRange>\r
129                                                                                 <goals>\r
130                                                                                         <goal>xjc</goal>\r
131                                                                                 </goals>\r
132                                                                         </pluginExecutionFilter>\r
133                                                                         <action>\r
134                                                                                 <ignore></ignore>\r
135                                                                         </action>\r
136                                                                 </pluginExecution>\r
137                                                         </pluginExecutions>\r
138                                                 </lifecycleMappingMetadata>\r
139                                         </configuration>\r
140                                 </plugin>\r
141                                 <plugin>\r
142                                         <groupId>org.apache.maven.plugins</groupId>\r
143                                         <artifactId>maven-compiler-plugin</artifactId>\r
144                                         <version>2.3.2</version>\r
145                                         <configuration>\r
146                                                 <source>1.6</source>\r
147                                                 <target>1.6</target>\r
148                                         </configuration>\r
149                                 </plugin>\r
150                                 \r
151                 <plugin>\r
152                         <groupId>org.apache.maven.plugins</groupId>\r
153                         <artifactId>maven-javadoc-plugin</artifactId>\r
154                         <configuration>\r
155                         <failOnError>false</failOnError>\r
156                         </configuration>\r
157                         <executions>\r
158                                 <execution>\r
159                                         <id>attach-javadocs</id>\r
160                                         <goals>\r
161                                                 <goal>jar</goal>\r
162                                         </goals>\r
163                                 </execution>\r
164                         </executions>\r
165                 </plugin> \r
166            \r
167            \r
168                <plugin>\r
169                       <groupId>org.apache.maven.plugins</groupId>\r
170                       <artifactId>maven-source-plugin</artifactId>\r
171                       <version>2.2.1</version>\r
172                       <executions>\r
173                         <execution>\r
174                           <id>attach-sources</id>\r
175                           <goals>\r
176                             <goal>jar-no-fork</goal>\r
177                           </goals>\r
178                         </execution>\r
179                       </executions>\r
180                     </plugin>\r
181                         \r
182                          <plugin>\r
183                                 <groupId>org.sonatype.plugins</groupId>\r
184                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
185                                 <version>1.6.7</version>\r
186                                 <extensions>true</extensions>\r
187                                 <configuration>\r
188                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
189                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
190                                         <serverId>ecomp-staging</serverId>\r
191                                 </configuration>\r
192                         </plugin> \r
193                         </plugins>\r
194         </build>\r
195         \r
196         <distributionManagement>\r
197                 <repository>\r
198                         <id>ecomp-releases</id>\r
199                         <name>AAF Release Repository</name>\r
200                         <url>${nexusproxy}${releaseNexusPath}</url>\r
201                 </repository>\r
202                 <snapshotRepository>\r
203                         <id>ecomp-snapshots</id>\r
204                         <name>AAF Snapshot Repository</name>\r
205                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
206                 </snapshotRepository>\r
207                 <site>\r
208                         <id>ecomp-site</id>\r
209                         <url>dav:${nexusproxy}${sitePath}</url>\r
210                 </site>\r
211         </distributionManagement>\r
212 <pluginRepositories>\r
213         <pluginRepository>\r
214             <id>onap-plugin-snapshots</id>\r
215             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
216         </pluginRepository>\r
217     </pluginRepositories>\r
218         \r
219         <repositories>\r
220                 <repository>\r
221                         <id>central</id>\r
222                         <name>Maven 2 repository 2</name>\r
223                         <url>http://repo2.maven.org/maven2/</url>\r
224                 </repository>\r
225                 <repository>\r
226             <id>onap-jar-snapshots</id>\r
227             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
228         </repository>\r
229                 <repository>\r
230                         <id>spring-repo</id>\r
231                         <name>Spring repo</name>\r
232                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
233                 </repository>\r
234                 <repository>\r
235                         <id>repository.jboss.org-public</id>\r
236                         <name>JBoss.org Maven repository</name>\r
237                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
238                 </repository>\r
239         </repositories>\r
240 </project>\r
241 \r