Update version.properties to aaf authz
[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                 <sonar.language>java</sonar.language>\r
58                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
59                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
60                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
61                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
62                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
63                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
64         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
65                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
66                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
67                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
68                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
69         </properties>\r
70         \r
71         <dependencies>\r
72                 <dependency>\r
73                         <groupId>junit</groupId>\r
74                         <artifactId>junit</artifactId>\r
75                         <version>4.10</version>\r
76                         <scope>test</scope>\r
77                 </dependency>\r
78                         \r
79         </dependencies>\r
80 \r
81         <build>\r
82                         <plugins>\r
83                                 <plugin>\r
84                                         <groupId>org.codehaus.mojo</groupId>\r
85                                         <artifactId>jaxb2-maven-plugin</artifactId>\r
86                                         <version>1.3</version>\r
87                                         <executions>\r
88                                                 <execution>\r
89                                                         <phase>generate-sources</phase>\r
90                                                         <goals>\r
91                                                                 <goal>xjc</goal>\r
92                                                         </goals>\r
93                                                 </execution>\r
94                                         </executions>\r
95                                         <configuration>\r
96                                                 <schemaDirectory>src/main/xsd</schemaDirectory>\r
97                                         </configuration>\r
98                                 </plugin>\r
99                                 <plugin>\r
100                                         <groupId>org.apache.maven.plugins</groupId>\r
101                                         <artifactId>maven-compiler-plugin</artifactId>\r
102                                         <configuration>\r
103                                                 <source>1.6</source>\r
104                                                 <target>1.6</target>\r
105                                         </configuration>\r
106                                 </plugin>\r
107                                 <plugin>\r
108                                         <groupId>org.apache.maven.plugins</groupId>\r
109                                         <artifactId>maven-deploy-plugin</artifactId>\r
110                                         <version>2.5</version>\r
111                                         <configuration>\r
112                                                 <skip>false</skip>\r
113                                         </configuration>\r
114                                 </plugin>\r
115 \r
116                                 <!--This plugin's configuration is used to store Eclipse m2e settings \r
117                                         only. It has no influence on the Maven build itself. -->\r
118                                 <plugin>\r
119                                         <groupId>org.eclipse.m2e</groupId>\r
120                                         <artifactId>lifecycle-mapping</artifactId>\r
121                                         <version>1.0.0</version>\r
122                                         <configuration>\r
123                                                 <lifecycleMappingMetadata>\r
124                                                         <pluginExecutions>\r
125                                                                 <pluginExecution>\r
126                                                                         <pluginExecutionFilter>\r
127                                                                                 <groupId>\r
128                                                                                         org.codehaus.mojo\r
129                                                                                 </groupId>\r
130                                                                                 <artifactId>\r
131                                                                                         jaxb2-maven-plugin\r
132                                                                                 </artifactId>\r
133                                                                                 <versionRange>\r
134                                                                                         [1.3,)\r
135                                                                                 </versionRange>\r
136                                                                                 <goals>\r
137                                                                                         <goal>xjc</goal>\r
138                                                                                 </goals>\r
139                                                                         </pluginExecutionFilter>\r
140                                                                         <action>\r
141                                                                                 <ignore></ignore>\r
142                                                                         </action>\r
143                                                                 </pluginExecution>\r
144                                                         </pluginExecutions>\r
145                                                 </lifecycleMappingMetadata>\r
146                                         </configuration>\r
147                                 </plugin>\r
148                                 <plugin>\r
149                                         <groupId>org.apache.maven.plugins</groupId>\r
150                                         <artifactId>maven-compiler-plugin</artifactId>\r
151                                         <version>2.3.2</version>\r
152                                         <configuration>\r
153                                                 <source>1.6</source>\r
154                                                 <target>1.6</target>\r
155                                         </configuration>\r
156                                 </plugin>\r
157                                 \r
158                 <plugin>\r
159                         <groupId>org.apache.maven.plugins</groupId>\r
160                         <artifactId>maven-javadoc-plugin</artifactId>\r
161                         <configuration>\r
162                         <failOnError>false</failOnError>\r
163                         </configuration>\r
164                         <executions>\r
165                                 <execution>\r
166                                         <id>attach-javadocs</id>\r
167                                         <goals>\r
168                                                 <goal>jar</goal>\r
169                                         </goals>\r
170                                 </execution>\r
171                         </executions>\r
172                 </plugin> \r
173            \r
174            \r
175                <plugin>\r
176                       <groupId>org.apache.maven.plugins</groupId>\r
177                       <artifactId>maven-source-plugin</artifactId>\r
178                       <version>2.2.1</version>\r
179                       <executions>\r
180                         <execution>\r
181                           <id>attach-sources</id>\r
182                           <goals>\r
183                             <goal>jar-no-fork</goal>\r
184                           </goals>\r
185                         </execution>\r
186                       </executions>\r
187                     </plugin>\r
188                         \r
189                          <plugin>\r
190                                 <groupId>org.sonatype.plugins</groupId>\r
191                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
192                                 <version>1.6.7</version>\r
193                                 <extensions>true</extensions>\r
194                                 <configuration>\r
195                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
196                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
197                                         <serverId>ecomp-staging</serverId>\r
198                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\r
199                                 </configuration>\r
200                         </plugin>               \r
201                         <plugin>\r
202                                 <groupId>org.jacoco</groupId>\r
203                                 <artifactId>jacoco-maven-plugin</artifactId>\r
204                                 <version>0.7.7.201606060606</version>\r
205                                 <configuration>\r
206                                         <dumpOnExit>true</dumpOnExit>\r
207                                         <includes>\r
208                                                 <include>org.onap.aaf.*</include>\r
209                                         </includes>\r
210                                 </configuration>\r
211                                 <executions>\r
212                                         <execution>\r
213                                                 <id>pre-unit-test</id>\r
214                                                 <goals>\r
215                                                         <goal>prepare-agent</goal>\r
216                                                 </goals>\r
217                                                 <configuration>\r
218                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
219                                                         <!-- <append>true</append> -->\r
220                                                 </configuration>\r
221                                         </execution>\r
222                                         <execution>\r
223                                                 <id>pre-integration-test</id>\r
224                                                 <phase>pre-integration-test</phase>\r
225                                                 <goals>\r
226                                                         <goal>prepare-agent</goal>\r
227                                                 </goals>\r
228                                                 <configuration>\r
229                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
230                                                         <!-- <append>true</append> -->\r
231                                                 </configuration>\r
232                                         </execution>\r
233                                         <execution>\r
234                         <goals>\r
235                             <goal>merge</goal>\r
236                         </goals>\r
237                         <phase>post-integration-test</phase>\r
238                         <configuration>\r
239                             <fileSets>\r
240                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
241                                     <directory>${project.build.directory}/coverage-reports</directory>\r
242                                     <includes>\r
243                                         <include>*.exec</include>\r
244                                     </includes>\r
245                                 </fileSet>\r
246                             </fileSets>\r
247                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
248                         </configuration>\r
249                     </execution>\r
250                                 </executions>\r
251                         </plugin> \r
252                         </plugins>\r
253         </build>\r
254         \r
255         <distributionManagement>\r
256                 <repository>\r
257                         <id>ecomp-releases</id>\r
258                         <name>AAF Release Repository</name>\r
259                         <url>${nexusproxy}${releaseNexusPath}</url>\r
260                 </repository>\r
261                 <snapshotRepository>\r
262                         <id>ecomp-snapshots</id>\r
263                         <name>AAF Snapshot Repository</name>\r
264                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
265                 </snapshotRepository>\r
266                 <site>\r
267                         <id>ecomp-site</id>\r
268                         <url>dav:${nexusproxy}${sitePath}</url>\r
269                 </site>\r
270         </distributionManagement>\r
271 <pluginRepositories>\r
272         <pluginRepository>\r
273             <id>onap-plugin-snapshots</id>\r
274             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
275         </pluginRepository>\r
276     </pluginRepositories>\r
277         \r
278         <repositories>\r
279                 <repository>\r
280                         <id>central</id>\r
281                         <name>Maven 2 repository 2</name>\r
282                         <url>http://repo2.maven.org/maven2/</url>\r
283                 </repository>\r
284                 <repository>\r
285             <id>onap-jar-snapshots</id>\r
286             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
287         </repository>\r
288                 <repository>\r
289                         <id>spring-repo</id>\r
290                         <name>Spring repo</name>\r
291                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
292                 </repository>\r
293                 <repository>\r
294                         <id>repository.jboss.org-public</id>\r
295                         <name>JBoss.org Maven repository</name>\r
296                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
297                 </repository>\r
298         </repositories>\r
299 </project>\r
300 \r