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