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