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                         </plugin>
111                                                         <plugin>
112                                 <groupId>org.sonatype.plugins</groupId>
113                                 <artifactId>nexus-staging-maven-plugin</artifactId>
114                                 <version>1.6.7</version>
115                                 <extensions>true</extensions>
116                                 <configuration>
117                                         <nexusUrl>${nexusproxy}</nexusUrl>
118                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
119                                         <serverId>ecomp-staging</serverId>
120                                 </configuration>
121                         </plugin>               
122                         <plugin>
123                                 <groupId>org.jacoco</groupId>
124                                 <artifactId>jacoco-maven-plugin</artifactId>
125                                 <version>0.7.7.201606060606</version>
126                                 <configuration>
127                                         <dumpOnExit>true</dumpOnExit>
128                                         <includes>
129                                                 <include>org.onap.aaf.*</include>
130                                         </includes>
131                                 </configuration>
132                                 <executions>
133                                         <execution>
134                                                 <id>pre-unit-test</id>
135                                                 <goals>
136                                                         <goal>prepare-agent</goal>
137                                                 </goals>
138                                                 <configuration>
139                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
140                                                         <!-- <append>true</append> -->
141                                                 </configuration>
142                                         </execution>
143                                         <execution>
144                                                 <id>pre-integration-test</id>
145                                                 <phase>pre-integration-test</phase>
146                                                 <goals>
147                                                         <goal>prepare-agent</goal>
148                                                 </goals>
149                                                 <configuration>
150                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
151                                                         <!-- <append>true</append> -->
152                                                 </configuration>
153                                         </execution>
154                                         <execution>
155                         <goals>
156                             <goal>merge</goal>
157                         </goals>
158                         <phase>post-integration-test</phase>
159                         <configuration>
160                             <fileSets>
161                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
162                                     <directory>${project.build.directory}/coverage-reports</directory>
163                                     <includes>
164                                         <include>*.exec</include>
165                                     </includes>
166                                 </fileSet>
167                             </fileSets>
168                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
169                         </configuration>
170                     </execution>
171                                 </executions>
172                         </plugin>
173                 </plugins>
174         </build>
175         
176         <distributionManagement>
177                 <repository>
178                         <id>ecomp-releases</id>
179                         <name>AAF Release Repository</name>
180                         <url>${nexusproxy}${releaseNexusPath}</url>
181                 </repository>
182                 <snapshotRepository>
183                         <id>ecomp-snapshots</id>
184                         <name>AAF Snapshot Repository</name>
185                         <url>${nexusproxy}${snapshotNexusPath}</url>
186                 </snapshotRepository>
187                 <site>
188                         <id>ecomp-site</id>
189                         <url>dav:${nexusproxy}${sitePath}</url>
190                 </site>
191         </distributionManagement>
192 </project>