b779e3edb167a09d358dd8513593f2a5bfbac704
[aaf/authz.git] / authz-core / 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/xsd/maven-4.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-core</artifactId>\r
35         <name>Authz Core</name>\r
36         <description>Core Libraries for Authz</description>\r
37         <packaging>jar</packaging>\r
38                 <url>https://github.com/att/AAF</url>\r
39         <licenses>\r
40                 <license>\r
41                 <name>BSD License</name>\r
42                 <url> </url>\r
43                 </license>\r
44         </licenses>\r
45         <developers>\r
46                 <developer>\r
47                 <name>Jonathan Gathman</name>\r
48                 <email></email>\r
49         <organization>ATT</organization>\r
50         <organizationUrl></organizationUrl>\r
51                 </developer>\r
52         </developers>\r
53 <properties>\r
54         <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
55         <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>\r
56         <!--  SONAR  -->\r
57                  <jacoco.version>0.7.7.201606060606</jacoco.version>\r
58                  <sonar.skip>true</sonar.skip>\r
59             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
60             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
61             <!-- Default Sonar configuration -->\r
62             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
63             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
64             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->\r
65             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
66         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
67                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
68                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
69                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
70                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
71 </properties>\r
72         <dependencies>\r
73                 <dependency>\r
74                         <groupId>org.onap.aaf.inno</groupId>\r
75                         <artifactId>env</artifactId>\r
76                         <version>${project.innoVersion}</version>\r
77                 </dependency>\r
78                 <dependency>\r
79                         <groupId>org.onap.aaf.inno</groupId>\r
80                         <artifactId>log4j</artifactId>\r
81                         <version>${project.innoVersion}</version>\r
82                 </dependency>\r
83                 <dependency>\r
84                         <groupId>org.onap.aaf.inno</groupId>\r
85                         <artifactId>rosetta</artifactId>\r
86                         <version>${project.innoVersion}</version>\r
87                 </dependency>\r
88                 <dependency>\r
89                         <groupId>org.onap.aaf.cadi</groupId>\r
90                         <artifactId>cadi-aaf</artifactId>\r
91                         <version>${project.cadiVersion}</version>\r
92                                 <exclusions>\r
93                                   <exclusion> \r
94                                         <groupId>javax.servlet</groupId>\r
95                                 <artifactId>servlet-api</artifactId>\r
96                            </exclusion>\r
97                             </exclusions> \r
98                         \r
99                 </dependency>\r
100                 <dependency>\r
101                   <groupId>javax.servlet</groupId>\r
102                   <artifactId>servlet-api</artifactId>\r
103                 </dependency>\r
104 \r
105         </dependencies>\r
106 \r
107         <build>\r
108                 <plugins>\r
109                 </plugins>\r
110                 <pluginManagement>\r
111                         <plugins>\r
112 \r
113                 <plugin>\r
114                         <groupId>org.apache.maven.plugins</groupId>\r
115                         <artifactId>maven-javadoc-plugin</artifactId>\r
116                         <version>2.10.4</version>\r
117                         <configuration>\r
118                         <failOnError>false</failOnError>\r
119                         </configuration>\r
120                         <executions>\r
121                                 <execution>\r
122                                         <id>attach-javadocs</id>\r
123                                         <goals>\r
124                                                 <goal>jar</goal>\r
125                                         </goals>\r
126                                 </execution>\r
127                         </executions>\r
128                 </plugin>  \r
129            \r
130            \r
131                <plugin>\r
132                       <groupId>org.apache.maven.plugins</groupId>\r
133                       <artifactId>maven-source-plugin</artifactId>\r
134                       <version>2.2.1</version>\r
135                       <executions>\r
136                         <execution>\r
137                           <id>attach-sources</id>\r
138                           <goals>\r
139                             <goal>jar-no-fork</goal>\r
140                           </goals>\r
141                         </execution>\r
142                       </executions>\r
143                     </plugin>\r
144                         \r
145  <plugin>\r
146                                 <groupId>org.sonatype.plugins</groupId>\r
147                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
148                                 <version>1.6.7</version>\r
149                                 <extensions>true</extensions>\r
150                                 <configuration>\r
151                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
152                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
153                                         <serverId>ecomp-staging</serverId>\r
154                                 </configuration>\r
155                         </plugin>               \r
156                         <plugin>\r
157           <groupId>org.jacoco</groupId>\r
158           <artifactId>jacoco-maven-plugin</artifactId>\r
159           <version>${jacoco.version}</version>\r
160           <configuration>\r
161             <excludes>\r
162               <exclude>**/gen/**</exclude>\r
163               <exclude>**/generated-sources/**</exclude>\r
164               <exclude>**/yang-gen/**</exclude>\r
165               <exclude>**/pax/**</exclude>\r
166             </excludes>\r
167           </configuration>\r
168           <executions>\r
169 \r
170             <execution>\r
171               <id>pre-unit-test</id>\r
172               <goals>\r
173                 <goal>prepare-agent</goal>\r
174               </goals>\r
175               <configuration>\r
176                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
177                 <propertyName>surefireArgLine</propertyName>\r
178               </configuration>\r
179             </execution>\r
180             \r
181        \r
182             <execution>\r
183               <id>post-unit-test</id>\r
184               <phase>test</phase>\r
185               <goals>\r
186                 <goal>report</goal>\r
187               </goals>\r
188               <configuration>\r
189                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
190                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
191               </configuration>\r
192             </execution>\r
193             <execution>\r
194               <id>pre-integration-test</id>\r
195               <phase>pre-integration-test</phase>\r
196               <goals>\r
197                 <goal>prepare-agent</goal>\r
198               </goals>\r
199               <configuration>\r
200                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
201 \r
202                 <propertyName>failsafeArgLine</propertyName>\r
203               </configuration>\r
204             </execution>\r
205 \r
206        \r
207             <execution>\r
208               <id>post-integration-test</id>\r
209               <phase>post-integration-test</phase>\r
210               <goals>\r
211                 <goal>report</goal>\r
212               </goals>\r
213               <configuration>\r
214                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
215                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
216               </configuration>\r
217             </execution>\r
218           </executions>\r
219         </plugin>       \r
220                 \r
221                         </plugins>\r
222                 </pluginManagement>\r
223         </build>\r
224         <distributionManagement>\r
225                 <repository>\r
226                         <id>ecomp-releases</id>\r
227                         <name>AAF Release Repository</name>\r
228                         <url>${nexusproxy}${releaseNexusPath}</url>\r
229                 </repository>\r
230                 <snapshotRepository>\r
231                         <id>ecomp-snapshots</id>\r
232                         <name>AAF Snapshot Repository</name>\r
233                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
234                 </snapshotRepository>\r
235                 <site>\r
236                         <id>ecomp-site</id>\r
237                         <url>dav:${nexusproxy}${sitePath}</url>\r
238                 </site>\r
239         </distributionManagement>\r
240 \r
241         \r
242 </project>\r
243 \r