blob: 8b089b8ffb6669d3dcfa1a65a9733d8301bb650e [file] [log] [blame]
Michal Ptacek7168a9a2019-11-04 06:45:08 +00001<!--
2 * ============LICENSE_START====================================================
3 * org.onap.aaf
4 * ===========================================================================
5 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
19 *
20-->
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <parent>
23 <groupId>org.onap.aaf.authz</groupId>
24 <artifactId>cadiparent</artifactId>
25 <version>2.1.2</version>
26 <relativePath>..</relativePath>
27 </parent>
28
29 <artifactId>aaf-cadi-client</artifactId>
30 <name>AAF CADI Client</name>
31 <packaging>jar</packaging>
32 <modelVersion>4.0.0</modelVersion>
33
34 <properties>
35 <scijava.jvm.version>1.8</scijava.jvm.version>
36 <!-- SONAR -->
37 <!-- <sonar.skip>true</sonar.skip> -->
38 <jacoco.version>0.7.7.201606060606</jacoco.version>
39 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41 <!-- Default Sonar configuration -->
42 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
43 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
45 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46 <nexusproxy>https://nexus.onap.org</nexusproxy>
47 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51 </properties>
52
53 <developers>
54 <developer>
55 <name>Jonathan Gathman</name>
56 <email>jonathan.gathman@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Architect</role>
60 <role>Lead Developer</role>
61 </roles>
62 </developer>
63 <developer>
64 <name>Gabe Maurer</name>
65 <email>gabe.maurer@att.com</email>
66 <organization>ATT</organization>
67 <roles>
68 <role>Developer</role>
69 </roles>
70 </developer>
71 <developer>
72 <name>Ian Howell</name>
73 <email>ian.howell@att.com</email>
74 <organization>ATT</organization>
75 <roles>
76 <role>Developer</role>
77 </roles>
78 </developer>
79 <developer>
80 <name>Sai Gandham</name>
81 <email>sai.gandham@att.com</email>
82 <organization>ATT</organization>
83 <roles>
84 <role>Developer</role>
85 </roles>
86 </developer>
87 </developers>
88
89 <dependencies>
90 <dependency>
91 <groupId>org.onap.aaf.authz</groupId>
92 <artifactId>aaf-misc-rosetta</artifactId>
93 </dependency>
94 <dependency>
95 <groupId>org.onap.aaf.authz</groupId>
96 <artifactId>aaf-cadi-core</artifactId>
97 </dependency>
98
99 <dependency>
100 <groupId>javax.servlet</groupId>
101 <artifactId>javax.servlet-api</artifactId>
102 <scope>compile</scope>
103 </dependency>
104 </dependencies>
105
106 <build>
107 <plugins>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-jarsigner-plugin</artifactId>
111 <version>1.4</version>
112 </plugin>
113 <plugin>
114 <groupId>org.sonatype.plugins</groupId>
115 <artifactId>nexus-staging-maven-plugin</artifactId>
116 <extensions>true</extensions>
117 <configuration>
118 <nexusUrl>${nexusproxy}</nexusUrl>
119 <stagingProfileId>176c31dfe190a</stagingProfileId>
120 <serverId>ecomp-staging</serverId>
121 </configuration>
122 </plugin>
123 <plugin>
124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
126 <configuration>
127 <excludes>
128 <exclude>**/gen/**</exclude>
129 <exclude>**/generated-sources/**</exclude>
130 <exclude>**/yang-gen/**</exclude>
131 <exclude>**/pax/**</exclude>
132 </excludes>
133 </configuration>
134 <executions>
135 <execution>
136 <id>pre-unit-test</id>
137 <goals>
138 <goal>prepare-agent</goal>
139 </goals>
140 <configuration>
141 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
142 <propertyName>surefireArgLine</propertyName>
143 </configuration>
144 </execution>
145 <execution>
146 <id>post-unit-test</id>
147 <phase>test</phase>
148 <goals>
149 <goal>report</goal>
150 </goals>
151 <configuration>
152 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
153 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
154 </configuration>
155 </execution>
156 <execution>
157 <id>pre-integration-test</id>
158 <phase>pre-integration-test</phase>
159 <goals>
160 <goal>prepare-agent</goal>
161 </goals>
162 <configuration>
163 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
164 <propertyName>failsafeArgLine</propertyName>
165 </configuration>
166 </execution>
167 <execution>
168 <id>post-integration-test</id>
169 <phase>post-integration-test</phase>
170 <goals>
171 <goal>report</goal>
172 </goals>
173 <configuration>
174 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
175 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
176 </configuration>
177 </execution>
178 </executions>
179 </plugin>
180 </plugins>
181 </build>
182
183 <distributionManagement>
184 <repository>
185 <id>ecomp-releases</id>
186 <name>AAF Release Repository</name>
187 <url>${nexusproxy}${releaseNexusPath}</url>
188 </repository>
189 <snapshotRepository>
190 <id>ecomp-snapshots</id>
191 <name>AAF Snapshot Repository</name>
192 <url>${nexusproxy}${snapshotNexusPath}</url>
193 </snapshotRepository>
194 <site>
195 <id>ecomp-site</id>
196 <url>dav:${nexusproxy}${sitePath}</url>
197 </site>
198 </distributionManagement>
199</project>