AT&T 2.0.19 Code drop, stage 4
[aaf/authz.git] / authz-client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aai\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * Copyright © 2017 Amdocs\r
8   * ===========================================================================\r
9   * Licensed under the Apache License, Version 2.0 (the "License");\r
10   * you may not use this file except in compliance with the License.\r
11   * You may obtain a copy of the License at\r
12   * \r
13    *      http://www.apache.org/licenses/LICENSE-2.0\r
14   * \r
15    * Unless required by applicable law or agreed to in writing, software\r
16   * distributed under the License is distributed on an "AS IS" BASIS,\r
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
18   * See the License for the specific language governing permissions and\r
19   * limitations under the License.\r
20   * ============LICENSE_END====================================================\r
21   *\r
22   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
23   *\r
24 -->\r
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
26         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
27         <modelVersion>4.0.0</modelVersion>\r
28 \r
29         \r
30         <parent>\r
31                 <groupId>org.onap.aaf.authz</groupId>\r
32                 <artifactId>parent</artifactId>\r
33                 <version>1.0.1-SNAPSHOT</version>\r
34                 <relativePath>../pom.xml</relativePath>\r
35         </parent>\r
36         \r
37         <!-- No Parent on Purpose!!! -->\r
38         <artifactId>authz-client</artifactId>\r
39         <name>Authz Client</name>\r
40         <description>Client and XSD Generated code for Authz</description>\r
41         <groupId>org.onap.aaf.authz</groupId>\r
42         <version>1.0.1-SNAPSHOT</version>\r
43         <packaging>jar</packaging>\r
44         <url>https://github.com/att/AAF</url>\r
45 \r
46         <developers>\r
47                 <developer>\r
48                 <name>Jonathan Gathman</name>\r
49                 <email></email>\r
50         <organization>ATT</organization>\r
51         <organizationUrl></organizationUrl>\r
52                 </developer>\r
53         </developers>\r
54         \r
55                 <properties>\r
56                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
57                 <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>\r
58                 <maven.test.failure.ignore>true</maven.test.failure.ignore>\r
59                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
60                 <!--  SONAR  -->\r
61                  <jacoco.version>0.7.7.201606060606</jacoco.version>\r
62                  <sonar.skip>true</sonar.skip>\r
63             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
64             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
65             <!-- Default Sonar configuration -->\r
66             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
67             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
68             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->\r
69             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
70         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
71                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
72                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
73                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
74                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
75         </properties>\r
76         \r
77         <dependencies>\r
78                 <dependency>\r
79                         <groupId>junit</groupId>\r
80                         <artifactId>junit</artifactId>\r
81                         <version>4.10</version>\r
82                         <scope>test</scope>\r
83                 </dependency>\r
84                         \r
85         </dependencies>\r
86 \r
87         <build>\r
88                         <plugins>\r
89                                 <plugin>\r
90                                         <groupId>org.codehaus.mojo</groupId>\r
91                                         <artifactId>jaxb2-maven-plugin</artifactId>\r
92                                         <version>1.3</version>\r
93                                         <executions>\r
94                                                 <execution>\r
95                                                         <phase>generate-sources</phase>\r
96                                                         <goals>\r
97                                                                 <goal>xjc</goal>\r
98                                                         </goals>\r
99                                                 </execution>\r
100                                         </executions>\r
101                                         <configuration>\r
102                                                 <schemaDirectory>src/main/xsd</schemaDirectory>\r
103                                         </configuration>\r
104                                 </plugin>\r
105 \r
106                                 <!--This plugin's configuration is used to store Eclipse m2e settings \r
107                                         only. It has no influence on the Maven build itself. -->\r
108                                 <plugin>\r
109                                         <groupId>org.eclipse.m2e</groupId>\r
110                                         <artifactId>lifecycle-mapping</artifactId>\r
111                                         <version>1.0.0</version>\r
112                                         <configuration>\r
113                                                 <lifecycleMappingMetadata>\r
114                                                         <pluginExecutions>\r
115                                                                 <pluginExecution>\r
116                                                                         <pluginExecutionFilter>\r
117                                                                                 <groupId>\r
118                                                                                         org.codehaus.mojo\r
119                                                                                 </groupId>\r
120                                                                                 <artifactId>\r
121                                                                                         jaxb2-maven-plugin\r
122                                                                                 </artifactId>\r
123                                                                                 <versionRange>\r
124                                                                                         [1.3,)\r
125                                                                                 </versionRange>\r
126                                                                                 <goals>\r
127                                                                                         <goal>xjc</goal>\r
128                                                                                 </goals>\r
129                                                                         </pluginExecutionFilter>\r
130                                                                         <action>\r
131                                                                                 <ignore></ignore>\r
132                                                                         </action>\r
133                                                                 </pluginExecution>\r
134                                                         </pluginExecutions>\r
135                                                 </lifecycleMappingMetadata>\r
136                                         </configuration>\r
137                                 </plugin>\r
138                                 <plugin>\r
139                                         <groupId>org.apache.maven.plugins</groupId>\r
140                                         <artifactId>maven-compiler-plugin</artifactId>\r
141                                         <version>2.3.2</version>\r
142                                         <configuration>\r
143                                                 <source>1.6</source>\r
144                                                 <target>1.6</target>\r
145                                         </configuration>\r
146                                 </plugin>\r
147                                 \r
148                 <plugin>\r
149                         <groupId>org.apache.maven.plugins</groupId>\r
150                         <artifactId>maven-javadoc-plugin</artifactId>\r
151                         <version>2.10.4</version>\r
152                         <configuration>\r
153                         <failOnError>false</failOnError>\r
154                         </configuration>\r
155                         <executions>\r
156                                 <execution>\r
157                                         <id>attach-javadocs</id>\r
158                                         <goals>\r
159                                                 <goal>jar</goal>\r
160                                         </goals>\r
161                                 </execution>\r
162                         </executions>\r
163                 </plugin> \r
164            \r
165            \r
166                <plugin>\r
167                       <groupId>org.apache.maven.plugins</groupId>\r
168                       <artifactId>maven-source-plugin</artifactId>\r
169                       <version>2.2.1</version>\r
170                       <executions>\r
171                         <execution>\r
172                           <id>attach-sources</id>\r
173                           <goals>\r
174                             <goal>jar-no-fork</goal>\r
175                           </goals>\r
176                         </execution>\r
177                       </executions>\r
178                     </plugin>\r
179                         \r
180                          <plugin>\r
181                                 <groupId>org.sonatype.plugins</groupId>\r
182                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
183                                 <version>1.6.7</version>\r
184                                 <extensions>true</extensions>\r
185                                 <configuration>\r
186                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
187                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
188                                         <serverId>ecomp-staging</serverId>\r
189                                 </configuration>\r
190                         </plugin>               \r
191                         <plugin>\r
192           <groupId>org.jacoco</groupId>\r
193           <artifactId>jacoco-maven-plugin</artifactId>\r
194           <version>${jacoco.version}</version>\r
195           <configuration>\r
196             <excludes>\r
197               <exclude>**/gen/**</exclude>\r
198               <exclude>**/generated-sources/**</exclude>\r
199               <exclude>**/yang-gen/**</exclude>\r
200               <exclude>**/pax/**</exclude>\r
201             </excludes>\r
202           </configuration>\r
203           <executions>\r
204 \r
205             <execution>\r
206               <id>pre-unit-test</id>\r
207               <goals>\r
208                 <goal>prepare-agent</goal>\r
209               </goals>\r
210               <configuration>\r
211                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
212                 <propertyName>surefireArgLine</propertyName>\r
213               </configuration>\r
214             </execution>\r
215             \r
216        \r
217             <execution>\r
218               <id>post-unit-test</id>\r
219               <phase>test</phase>\r
220               <goals>\r
221                 <goal>report</goal>\r
222               </goals>\r
223               <configuration>\r
224                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
225                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
226               </configuration>\r
227             </execution>\r
228             <execution>\r
229               <id>pre-integration-test</id>\r
230               <phase>pre-integration-test</phase>\r
231               <goals>\r
232                 <goal>prepare-agent</goal>\r
233               </goals>\r
234               <configuration>\r
235                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
236 \r
237                 <propertyName>failsafeArgLine</propertyName>\r
238               </configuration>\r
239             </execution>\r
240 \r
241        \r
242             <execution>\r
243               <id>post-integration-test</id>\r
244               <phase>post-integration-test</phase>\r
245               <goals>\r
246                 <goal>report</goal>\r
247               </goals>\r
248               <configuration>\r
249                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
250                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
251               </configuration>\r
252             </execution>\r
253           </executions>\r
254         </plugin>       \r
255 \r
256                         </plugins>\r
257         </build>\r
258         \r
259         <distributionManagement>\r
260                 <repository>\r
261                         <id>ecomp-releases</id>\r
262                         <name>AAF Release Repository</name>\r
263                         <url>${nexusproxy}${releaseNexusPath}</url>\r
264                 </repository>\r
265                 <snapshotRepository>\r
266                         <id>ecomp-snapshots</id>\r
267                         <name>AAF Snapshot Repository</name>\r
268                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
269                 </snapshotRepository>\r
270                 <site>\r
271                         <id>ecomp-site</id>\r
272                         <url>dav:${nexusproxy}${sitePath}</url>\r
273                 </site>\r
274         </distributionManagement>\r
275 \r
276 </project>\r
277 \r