Modify distribution management for authz
[aaf/authz.git] / cadi / client / pom.xml
1 <!--
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.cadi</groupId>
24         <artifactId>parent</artifactId>
25         <version>1.5.0-SNAPSHOT</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         <!--  SONAR  -->
36                  <jacoco.version>0.7.7.201606060606</jacoco.version>
37             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
38             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
39             <!-- Default Sonar configuration -->
40             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
41             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
42             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
43             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
44                 <nexusproxy>https://nexus.onap.org</nexusproxy>
45                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
46                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
47                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
48                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
49         </properties>
50         
51         <developers>
52                 <developer>
53                         <name>Jonathan Gathman</name>
54                         <email>jonathan.gathman@att.com</email>
55                         <organization>ATT</organization>
56                         <roles>
57                                 <role>Architect</role>
58                                 <role>Lead Developer</role>
59                         </roles>
60                 </developer>
61                 <developer>
62                         <name>Gabe Maurer</name>
63                         <email>gabe.maurer@att.com</email>
64                         <organization>ATT</organization>
65                         <roles>
66                                 <role>Developer</role>
67                         </roles>
68                 </developer>
69                 <developer>
70                         <name>Ian Howell</name>
71                         <email>ian.howell@att.com</email>
72                         <organization>ATT</organization>
73                         <roles>
74                                 <role>Developer</role>
75                         </roles>
76                 </developer>
77                 <developer>
78                         <name>Sai Gandham</name>
79                         <email>sai.gandham@att.com</email>
80                         <organization>ATT</organization>
81                         <roles>
82                                 <role>Developer</role>
83                         </roles>
84                 </developer>
85         </developers>
86
87         <dependencies>
88                 <dependency>
89                         <groupId>org.onap.aaf.misc</groupId>
90                         <artifactId>aaf-misc-rosetta</artifactId>
91                         
92                 </dependency>
93                 <dependency>
94                         <groupId>org.onap.aaf.cadi</groupId>
95                         <artifactId>aaf-cadi-core</artifactId>
96                 </dependency>
97
98                 <dependency>
99                         <groupId>javax.servlet</groupId>
100                         <artifactId>servlet-api</artifactId>
101                         <scope>compile</scope>
102                 </dependency>
103         </dependencies>
104
105         <build>
106                 <plugins>
107                         <plugin>
108                                 <groupId>org.apache.maven.plugins</groupId>
109                                 <artifactId>maven-jarsigner-plugin</artifactId>
110                                 <version>1.4</version>
111                         </plugin>
112                                                         <plugin>
113                                 <groupId>org.sonatype.plugins</groupId>
114                                 <artifactId>nexus-staging-maven-plugin</artifactId>
115                                 <version>1.6.7</version>
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                                 <version>0.7.7.201606060606</version>
127                                 <configuration>
128                                         <dumpOnExit>true</dumpOnExit>
129                                         <includes>
130                                                 <include>org.onap.aaf.*</include>
131                                         </includes>
132                                 </configuration>
133                                 <executions>
134                                         <execution>
135                                                 <id>pre-unit-test</id>
136                                                 <goals>
137                                                         <goal>prepare-agent</goal>
138                                                 </goals>
139                                                 <configuration>
140                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
141                                                         <!-- <append>true</append> -->
142                                                 </configuration>
143                                         </execution>
144                                         <execution>
145                                                 <id>pre-integration-test</id>
146                                                 <phase>pre-integration-test</phase>
147                                                 <goals>
148                                                         <goal>prepare-agent</goal>
149                                                 </goals>
150                                                 <configuration>
151                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
152                                                         <!-- <append>true</append> -->
153                                                 </configuration>
154                                         </execution>
155                                         <execution>
156                         <goals>
157                             <goal>merge</goal>
158                         </goals>
159                         <phase>post-integration-test</phase>
160                         <configuration>
161                             <fileSets>
162                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
163                                     <directory>${project.build.directory}/coverage-reports</directory>
164                                     <includes>
165                                         <include>*.exec</include>
166                                     </includes>
167                                 </fileSet>
168                             </fileSets>
169                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
170                         </configuration>
171                     </execution>
172                                 </executions>
173                         </plugin>
174                 </plugins>
175         </build>
176         
177         <distributionManagement>
178                 <repository>
179                         <id>ecomp-releases</id>
180                         <name>AAF Release Repository</name>
181                         <url>${nexusproxy}${releaseNexusPath}</url>
182                 </repository>
183                 <snapshotRepository>
184                         <id>ecomp-snapshots</id>
185                         <name>AAF Snapshot Repository</name>
186                         <url>${nexusproxy}${snapshotNexusPath}</url>
187                 </snapshotRepository>
188                 <site>
189                         <id>ecomp-site</id>
190                         <url>dav:${nexusproxy}${sitePath}</url>
191                 </site>
192         </distributionManagement>
193 </project>