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