Update version.properties to aaf authz
[aaf/authz.git] / authz-gw / 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-gw</artifactId>\r
35         <name>Authz Gate/Wall</name>\r
36         <description>GW API</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>30</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         <dependencies>\r
72         <dependency>\r
73             <groupId>org.onap.aaf.authz</groupId>\r
74             <artifactId>authz-core</artifactId>\r
75          \r
76             <exclusions>\r
77                           <exclusion> \r
78                                         <groupId>javax.servlet</groupId>\r
79                         <artifactId>servlet-api</artifactId>\r
80                                            </exclusion>\r
81                     </exclusions> \r
82         </dependency>\r
83             \r
84                 <dependency> \r
85                         <groupId>org.onap.aaf.cadi</groupId>\r
86                         <artifactId>cadi-aaf</artifactId>\r
87                 </dependency>\r
88 \r
89 \r
90                 \r
91         </dependencies>\r
92         \r
93         <build>\r
94                 <plugins>\r
95                         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->\r
96                                 <plugin>\r
97                                         <groupId>org.codehaus.mojo</groupId>\r
98                                         <artifactId>jaxb2-maven-plugin</artifactId>\r
99                                 </plugin>\r
100                     <plugin>\r
101                                 <groupId>org.apache.maven.plugins</groupId>\r
102                                 <artifactId>maven-jar-plugin</artifactId>\r
103                                         <configuration>\r
104                                 <includes>\r
105                                         <include>**/*.class</include>\r
106                                 </includes>\r
107                                         </configuration>\r
108                                         <version>2.3.1</version>\r
109                                 </plugin>\r
110                             \r
111                             <plugin>\r
112                                         <groupId>org.apache.maven.plugins</groupId>\r
113                                         <artifactId>maven-deploy-plugin</artifactId>\r
114                                         <configuration>\r
115                                                 <skip>true</skip>\r
116                                         </configuration>\r
117                             </plugin> \r
118            \r
119            \r
120                <plugin>\r
121                       <groupId>org.apache.maven.plugins</groupId>\r
122                       <artifactId>maven-source-plugin</artifactId>\r
123                       <version>2.2.1</version>\r
124                       <executions>\r
125                         <execution>\r
126                           <id>attach-sources</id>\r
127                           <goals>\r
128                             <goal>jar-no-fork</goal>\r
129                           </goals>\r
130                         </execution>\r
131                       </executions>\r
132                     </plugin>\r
133 \r
134 <plugin>\r
135                                 <groupId>org.sonatype.plugins</groupId>\r
136                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
137                                 <version>1.6.7</version>\r
138                                 <extensions>true</extensions>\r
139                                 <configuration>\r
140                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
141                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
142                                         <serverId>ecomp-staging</serverId>\r
143                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\r
144                                 </configuration>\r
145                         </plugin>               \r
146                         <plugin>\r
147                                 <groupId>org.jacoco</groupId>\r
148                                 <artifactId>jacoco-maven-plugin</artifactId>\r
149                                 <version>0.7.7.201606060606</version>\r
150                                 <configuration>\r
151                                         <dumpOnExit>true</dumpOnExit>\r
152                                         <includes>\r
153                                                 <include>org.onap.aaf.*</include>\r
154                                         </includes>\r
155                                 </configuration>\r
156                                 <executions>\r
157                                         <execution>\r
158                                                 <id>pre-unit-test</id>\r
159                                                 <goals>\r
160                                                         <goal>prepare-agent</goal>\r
161                                                 </goals>\r
162                                                 <configuration>\r
163                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
164                                                         <!-- <append>true</append> -->\r
165                                                 </configuration>\r
166                                         </execution>\r
167                                         <execution>\r
168                                                 <id>pre-integration-test</id>\r
169                                                 <phase>pre-integration-test</phase>\r
170                                                 <goals>\r
171                                                         <goal>prepare-agent</goal>\r
172                                                 </goals>\r
173                                                 <configuration>\r
174                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
175                                                         <!-- <append>true</append> -->\r
176                                                 </configuration>\r
177                                         </execution>\r
178                                         <execution>\r
179                         <goals>\r
180                             <goal>merge</goal>\r
181                         </goals>\r
182                         <phase>post-integration-test</phase>\r
183                         <configuration>\r
184                             <fileSets>\r
185                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
186                                     <directory>${project.build.directory}/coverage-reports</directory>\r
187                                     <includes>\r
188                                         <include>*.exec</include>\r
189                                     </includes>\r
190                                 </fileSet>\r
191                             </fileSets>\r
192                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
193                         </configuration>\r
194                     </execution>\r
195                                 </executions>\r
196                         </plugin>\r
197                 \r
198                         </plugins>\r
199         </build>\r
200 <distributionManagement>\r
201                 <repository>\r
202                         <id>ecomp-releases</id>\r
203                         <name>AAF Release Repository</name>\r
204                         <url>${nexusproxy}${releaseNexusPath}</url>\r
205                 </repository>\r
206                 <snapshotRepository>\r
207                         <id>ecomp-snapshots</id>\r
208                         <name>AAF Snapshot Repository</name>\r
209                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
210                 </snapshotRepository>\r
211                 <site>\r
212                         <id>ecomp-site</id>\r
213                         <url>dav:${nexusproxy}${sitePath}</url>\r
214                 </site>\r
215         </distributionManagement>\r
216 <pluginRepositories>\r
217         <pluginRepository>\r
218             <id>onap-plugin-snapshots</id>\r
219             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
220         </pluginRepository>\r
221     </pluginRepositories>\r
222         \r
223         <repositories>\r
224                 <repository>\r
225                         <id>central</id>\r
226                         <name>Maven 2 repository 2</name>\r
227                         <url>http://repo2.maven.org/maven2/</url>\r
228                 </repository>\r
229                 <repository>\r
230             <id>onap-jar-snapshots</id>\r
231             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
232         </repository>\r
233                 <repository>\r
234                         <id>spring-repo</id>\r
235                         <name>Spring repo</name>\r
236                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
237                 </repository>\r
238                 <repository>\r
239                         <id>repository.jboss.org-public</id>\r
240                         <name>JBoss.org Maven repository</name>\r
241                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
242                 </repository>\r
243         </repositories>\r
244 </project>\r