Update version.properties to aaf authz
[aaf/authz.git] / authz-service / 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-service</artifactId>\r
35         <name>Authz Service</name>\r
36         <description>API for Authorization and Authentication</description>\r
37                 <url>https://github.com/att/AAF</url>\r
38         <licenses>\r
39                 <license>\r
40                 <name>BSD License</name>\r
41                 <url> </url>\r
42                 </license>\r
43         </licenses>\r
44         <developers>\r
45                 <developer>\r
46                 <name>Jonathan Gathman</name>\r
47                 <email></email>\r
48         <organization>ATT</organization>\r
49         <organizationUrl></organizationUrl>\r
50                 </developer>\r
51         </developers>\r
52 \r
53         <properties>\r
54                 <maven.test.failure.ignore>true</maven.test.failure.ignore>\r
55                 <project.swmVersion>1</project.swmVersion>\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                 \r
72         <dependencies>\r
73         <dependency>\r
74             <groupId>org.onap.aaf.authz</groupId>\r
75             <artifactId>authz-client</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             <exclusions>\r
82                           <exclusion> \r
83                                         <groupId>javax.servlet</groupId>\r
84                         <artifactId>servlet-api</artifactId>\r
85                    </exclusion>\r
86                     </exclusions> \r
87         </dependency>\r
88         \r
89         <dependency>\r
90             <groupId>org.onap.aaf.authz</groupId>\r
91             <artifactId>authz-cass</artifactId>\r
92         </dependency>\r
93 \r
94         <dependency>\r
95             <groupId>org.onap.aaf.authz</groupId>\r
96             <artifactId>authz-defOrg</artifactId>\r
97             <version>${project.version}</version>\r
98         </dependency>\r
99 \r
100 \r
101         \r
102         <dependency > \r
103                         <groupId>org.onap.aaf.inno</groupId>\r
104                         <artifactId>env</artifactId>\r
105                 </dependency>\r
106 \r
107 \r
108                 <dependency>\r
109                         <groupId>org.onap.aaf.cadi</groupId>\r
110                         <artifactId>cadi-core</artifactId>\r
111                 </dependency>\r
112 \r
113                 <dependency>\r
114                         <groupId>com.att.aft</groupId>\r
115                         <artifactId>dme2</artifactId>\r
116                 </dependency>\r
117 \r
118                 <dependency>\r
119                         <groupId>org.onap.aaf.inno</groupId>\r
120                         <artifactId>rosetta</artifactId>\r
121                 </dependency>\r
122                 <dependency>\r
123                         <groupId>org.onap.aaf.cadi</groupId>\r
124                         <artifactId>cadi-aaf</artifactId>\r
125                 </dependency>\r
126 \r
127         \r
128 \r
129        \r
130         </dependencies>\r
131         \r
132         <build>\r
133             <plugins>\r
134                     <plugin>\r
135                         <groupId>org.codehaus.mojo</groupId>\r
136                         <artifactId>exec-maven-plugin</artifactId>\r
137                         <version>1.5.0</version>\r
138                         <configuration>\r
139                             <executable>java</executable>\r
140                             <arguments>\r
141                                 <argument>-DAFT_LATITUDE=33</argument>\r
142                                 <argument>-DAFT_LONGITUDE=-84</argument>\r
143                                 <argument>-DAFT_ENVIRONMENT=AFTUAT</argument>\r
144         \r
145                                 <argument>-XX:NewRatio=3</argument>\r
146                                 <argument>-XX:+PrintGCTimeStamps</argument>\r
147                                 <argument>-XX:+PrintGCDetails</argument>\r
148                                 <argument>-Xloggc:gc.log</argument>\r
149                                 <argument>-classpath</argument>\r
150         \r
151                                 <classpath>\r
152                                 \r
153                                 </classpath>\r
154                                 <argument>org.onap.aaf.authz.service.AuthAPI</argument>\r
155         \r
156                            <argument>service=org.onap.aaf.authz.AuthorizationService/version=2.0/envContext=DEV/routeOffer=Dev</argument>\r
157                             </arguments>\r
158                         </configuration>\r
159                     </plugin>\r
160         \r
161                     <plugin>\r
162                                 <groupId>org.apache.maven.plugins</groupId>\r
163                                 <artifactId>maven-jar-plugin</artifactId>\r
164                                         <configuration>\r
165                                                 <excludes>\r
166                                 <exclude>*.properties</exclude>\r
167                                 </excludes>\r
168                                         </configuration>\r
169                                         <version>2.3.1</version>\r
170                                 </plugin>\r
171 \r
172                                 <plugin>\r
173                                         <groupId>org.apache.maven.plugins</groupId>\r
174                                         <artifactId>maven-deploy-plugin</artifactId>\r
175                                         <configuration>\r
176                                                 <skip>true</skip>\r
177                                         </configuration>\r
178                             </plugin>  \r
179 \r
180                 <plugin>\r
181                         <groupId>org.apache.maven.plugins</groupId>\r
182                         <artifactId>maven-javadoc-plugin</artifactId>\r
183                         <configuration>\r
184                         <failOnError>false</failOnError>\r
185                         </configuration>\r
186                         <executions>\r
187                                 <execution>\r
188                                         <id>attach-javadocs</id>\r
189                                         <goals>\r
190                                                 <goal>jar</goal>\r
191                                         </goals>\r
192                                 </execution>\r
193                         </executions>\r
194                 </plugin> \r
195            \r
196            \r
197                <plugin>\r
198                       <groupId>org.apache.maven.plugins</groupId>\r
199                       <artifactId>maven-source-plugin</artifactId>\r
200                       <version>2.2.1</version>\r
201                       <executions>\r
202                         <execution>\r
203                           <id>attach-sources</id>\r
204                           <goals>\r
205                             <goal>jar-no-fork</goal>\r
206                           </goals>\r
207                         </execution>\r
208                       </executions>\r
209                     </plugin>\r
210                         \r
211 <plugin>\r
212                                 <groupId>org.sonatype.plugins</groupId>\r
213                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
214                                 <version>1.6.7</version>\r
215                                 <extensions>true</extensions>\r
216                                 <configuration>\r
217                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
218                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
219                                         <serverId>ecomp-staging</serverId>\r
220                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\r
221                                 </configuration>\r
222                         </plugin>               \r
223                         <plugin>\r
224                                 <groupId>org.jacoco</groupId>\r
225                                 <artifactId>jacoco-maven-plugin</artifactId>\r
226                                 <version>0.7.7.201606060606</version>\r
227                                 <configuration>\r
228                                         <dumpOnExit>true</dumpOnExit>\r
229                                         <includes>\r
230                                                 <include>org.onap.aaf.*</include>\r
231                                         </includes>\r
232                                 </configuration>\r
233                                 <executions>\r
234                                         <execution>\r
235                                                 <id>pre-unit-test</id>\r
236                                                 <goals>\r
237                                                         <goal>prepare-agent</goal>\r
238                                                 </goals>\r
239                                                 <configuration>\r
240                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
241                                                         <!-- <append>true</append> -->\r
242                                                 </configuration>\r
243                                         </execution>\r
244                                         <execution>\r
245                                                 <id>pre-integration-test</id>\r
246                                                 <phase>pre-integration-test</phase>\r
247                                                 <goals>\r
248                                                         <goal>prepare-agent</goal>\r
249                                                 </goals>\r
250                                                 <configuration>\r
251                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
252                                                         <!-- <append>true</append> -->\r
253                                                 </configuration>\r
254                                         </execution>\r
255                                         <execution>\r
256                         <goals>\r
257                             <goal>merge</goal>\r
258                         </goals>\r
259                         <phase>post-integration-test</phase>\r
260                         <configuration>\r
261                             <fileSets>\r
262                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
263                                     <directory>${project.build.directory}/coverage-reports</directory>\r
264                                     <includes>\r
265                                         <include>*.exec</include>\r
266                                     </includes>\r
267                                 </fileSet>\r
268                             </fileSets>\r
269                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
270                         </configuration>\r
271                     </execution>\r
272                                 </executions>\r
273                         </plugin>\r
274                 \r
275                         </plugins>\r
276 \r
277         </build>\r
278 \r
279                 <distributionManagement>\r
280                 <repository>\r
281                         <id>ecomp-releases</id>\r
282                         <name>AAF Release Repository</name>\r
283                         <url>${nexusproxy}${releaseNexusPath}</url>\r
284                 </repository>\r
285                 <snapshotRepository>\r
286                         <id>ecomp-snapshots</id>\r
287                         <name>AAF Snapshot Repository</name>\r
288                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
289                 </snapshotRepository>\r
290                 <site>\r
291                         <id>ecomp-site</id>\r
292                         <url>dav:${nexusproxy}${sitePath}</url>\r
293                 </site>\r
294         </distributionManagement>\r
295 <pluginRepositories>\r
296         <pluginRepository>\r
297             <id>onap-plugin-snapshots</id>\r
298             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
299         </pluginRepository>\r
300     </pluginRepositories>\r
301         \r
302         <repositories>\r
303                 <repository>\r
304                         <id>central</id>\r
305                         <name>Maven 2 repository 2</name>\r
306                         <url>http://repo2.maven.org/maven2/</url>\r
307                 </repository>\r
308                 <repository>\r
309             <id>onap-jar-snapshots</id>\r
310             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
311         </repository>\r
312                 <repository>\r
313                         <id>spring-repo</id>\r
314                         <name>Spring repo</name>\r
315                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
316                 </repository>\r
317                 <repository>\r
318                         <id>repository.jboss.org-public</id>\r
319                         <name>JBoss.org Maven repository</name>\r
320                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
321                 </repository>\r
322         </repositories>\r
323 </project>\r