Local CA to use Keystores
[aaf/authz.git] / cadi / aaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <parent>
25                 <groupId>org.onap.aaf.cadi</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>1.5.0-SNAPSHOT</version>
28                 <relativePath>..</relativePath>
29         </parent>
30
31         <modelVersion>4.0.0</modelVersion>
32         <artifactId>aaf-cadi-aaf</artifactId>
33         <name>AAF CADI AAF Connection Library</name>
34         <packaging>jar</packaging>
35
36         <properties>
37         <!--  SONAR  -->
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.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
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         <developers>
53                 <developer>
54                         <name>Jonathan Gathman</name>
55                         <email>jonathan.gathman@att.com</email>
56                         <organization>ATT</organization>
57                         <roles>
58                                 <role>Architect</role>
59                                 <role>Lead Developer</role>
60                         </roles>
61                 </developer>
62                 <developer>
63                         <name>Gabe Maurer</name>
64                         <email>gabe.maurer@att.com</email>
65                         <organization>ATT</organization>
66                         <roles>
67                                 <role>Developer</role>
68                         </roles>
69                 </developer>
70                 <developer>
71                         <name>Ian Howell</name>
72                         <email>ian.howell@att.com</email>
73                         <organization>ATT</organization>
74                         <roles>
75                                 <role>Developer</role>
76                         </roles>
77                 </developer>
78                 <developer>
79                         <name>Sai Gandham</name>
80                         <email>sai.gandham@att.com</email>
81                         <organization>ATT</organization>
82                         <roles>
83                                 <role>Developer</role>
84                         </roles>
85                 </developer>
86         </developers>
87
88
89         <dependencies>
90                 <dependency>
91                         <groupId>org.onap.aaf.auth</groupId>
92                         <artifactId>aaf-auth-client</artifactId>
93                 </dependency>
94
95                 <dependency>
96                         <groupId>org.onap.aaf.cadi</groupId>
97                         <artifactId>aaf-cadi-client</artifactId>
98                 </dependency>
99
100                 <dependency>
101                         <groupId>org.onap.aaf.misc</groupId>
102                         <artifactId>aaf-misc-env</artifactId>
103                 </dependency>
104
105                 <dependency>
106                         <groupId>org.onap.aaf.cadi</groupId>
107                         <artifactId>aaf-cadi-core</artifactId>
108                 </dependency>
109
110                 <dependency>
111                         <groupId>javax.servlet</groupId>
112                         <artifactId>servlet-api</artifactId>
113                         <scope>provided</scope>
114                 </dependency>
115         </dependencies>
116         <build>
117                 <plugins>
118                         <plugin>
119                                 <groupId>org.apache.maven.plugins</groupId>
120                                 <artifactId>maven-compiler-plugin</artifactId>
121                         </plugin>
122                                 <plugin>
123                                 <groupId>org.sonatype.plugins</groupId>
124                                 <artifactId>nexus-staging-maven-plugin</artifactId>
125                                 <extensions>true</extensions>
126                                 <configuration>
127                                         <nexusUrl>${nexusproxy}</nexusUrl>
128                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
129                                         <serverId>ecomp-staging</serverId>
130                                 </configuration>
131                         </plugin>               
132                         <plugin>
133                                 <groupId>org.jacoco</groupId>
134                                 <artifactId>jacoco-maven-plugin</artifactId>
135                                 <configuration>
136                                         <dumpOnExit>true</dumpOnExit>
137                                         <includes>
138                                                 <include>org.onap.aaf.*</include>
139                                         </includes>
140                                 </configuration>
141                                 <executions>
142                                         <execution>
143                                                 <id>pre-unit-test</id>
144                                                 <goals>
145                                                         <goal>prepare-agent</goal>
146                                                 </goals>
147                                                 <configuration>
148                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
149                                                         <!-- <append>true</append> -->
150                                                 </configuration>
151                                         </execution>
152                                         <execution>
153                                                 <id>pre-integration-test</id>
154                                                 <phase>pre-integration-test</phase>
155                                                 <goals>
156                                                         <goal>prepare-agent</goal>
157                                                 </goals>
158                                                 <configuration>
159                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
160                                                         <!-- <append>true</append> -->
161                                                 </configuration>
162                                         </execution>
163                                         <execution>
164                         <goals>
165                             <goal>merge</goal>
166                         </goals>
167                         <phase>post-integration-test</phase>
168                         <configuration>
169                             <fileSets>
170                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
171                                     <directory>${project.build.directory}/coverage-reports</directory>
172                                     <includes>
173                                         <include>*.exec</include>
174                                     </includes>
175                                 </fileSet>
176                             </fileSets>
177                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
178                         </configuration>
179                     </execution>
180                                 </executions>
181                         </plugin>
182                         <!-- We want to create a Jar with Rosetta built in (since I don't want 
183                                 a separate deployment at this time Use this one as the jar to put in SWM 
184                                 packages <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> 
185                                 <classifier>tests</classifier> <archive> <manifest> <mainClass>org.onap.aaf.cadi.cm.CmAgent</mainClass> 
186                                 </manifest> <manifestEntries> <Sealed>true</Sealed> </manifestEntries> </archive> 
187                                 </configuration> <executions> <execution> <id>full</id> <phase>package</phase> 
188                                 <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/assemble/cadi-aaf.xml</descriptor> 
189                                 </descriptors> </configuration> </execution> </executions> </plugin> -->
190                 </plugins>
191         </build>
192         
193         <distributionManagement>
194                 <repository>
195                         <id>ecomp-releases</id>
196                         <name>AAF Release Repository</name>
197                         <url>${nexusproxy}${releaseNexusPath}</url>
198                 </repository>
199                 <snapshotRepository>
200                         <id>ecomp-snapshots</id>
201                         <name>AAF Snapshot Repository</name>
202                         <url>${nexusproxy}${snapshotNexusPath}</url>
203                 </snapshotRepository>
204                 <site>
205                         <id>ecomp-site</id>
206                         <url>dav:${nexusproxy}${sitePath}</url>
207                 </site>
208         </distributionManagement>
209 </project>