625bde9d3dacc17953f737f24c2248f5a09640a6
[aaf/authz.git] / authz-certman / 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/maven-v4_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-certman</artifactId>\r
35         <name>AAF Certification Managmenent</name>\r
36         <description>Certificate Manager API</description>\r
37                 <url>https://github.com/att/AAF</url>\r
38         <licenses>\r
39                 <license>\r
40                 <name>BSD License</name>\r
41                 <url> </url>\r
42                 </license>\r
43         </licenses>\r
44         <developers>\r
45                 <developer>\r
46                 <name>Jonathan Gathman</name>\r
47                 <email></email>\r
48         <organization>ATT</organization>\r
49         <organizationUrl></organizationUrl>\r
50                 </developer>\r
51         </developers>\r
52 \r
53 \r
54         <properties>\r
55                 <project.swmVersion>45</project.swmVersion>\r
56                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
57                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
58                 <sonar.language>java</sonar.language>\r
59                 <sonar.skip>true</sonar.skip>\r
60                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
61                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
62                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
63                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
64                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
65                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\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                 \r
73         <dependencies>\r
74         <dependency>\r
75             <groupId>org.onap.aaf.authz</groupId>\r
76             <artifactId>authz-core</artifactId>\r
77                         <version>${project.version}</version>\r
78         </dependency>\r
79 \r
80         <dependency>\r
81             <groupId>org.onap.aaf.authz</groupId>\r
82             <artifactId>authz-cass</artifactId>\r
83                         <version>${project.version}</version>\r
84         </dependency>\r
85 \r
86             \r
87                 <dependency> \r
88                         <groupId>org.onap.aaf.cadi</groupId>\r
89                         <artifactId>cadi-aaf</artifactId>\r
90                         <version>${project.cadiVersion}</version>\r
91                 </dependency>\r
92                 \r
93                 <dependency>\r
94                         <groupId>com.google.code.jscep</groupId>\r
95                         <artifactId>jscep</artifactId>\r
96                         <version>2.4.0</version>\r
97                 </dependency>\r
98                 <!--  TESTING -->\r
99                 <dependency>\r
100                         <groupId>org.slf4j</groupId>\r
101                         <artifactId>slf4j-log4j12</artifactId>\r
102                 </dependency>\r
103         </dependencies>\r
104         \r
105         <build>\r
106                 <plugins>\r
107             <plugin>\r
108                                 <groupId>org.apache.maven.plugins</groupId>\r
109                                 <artifactId>maven-jar-plugin</artifactId>\r
110                                         <configuration>\r
111                                 <includes>\r
112                                         <include>**/*.class</include>\r
113                                 </includes>\r
114                                         </configuration>\r
115                                         <version>2.3.1</version>\r
116                                 </plugin>\r
117                             \r
118                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->\r
119                         \r
120                          \r
121                 <plugin>\r
122                         <groupId>org.apache.maven.plugins</groupId>\r
123                         <artifactId>maven-javadoc-plugin</artifactId>\r
124                         <version>2.10.4</version>\r
125                         <configuration>\r
126                         <failOnError>false</failOnError>\r
127                         </configuration>\r
128                         <executions>\r
129                                 <execution>\r
130                                         <id>attach-javadocs</id>\r
131                                         <goals>\r
132                                                 <goal>jar</goal>\r
133                                         </goals>\r
134                                 </execution>\r
135                         </executions>\r
136                 </plugin>  \r
137            \r
138            \r
139                <plugin>\r
140                       <groupId>org.apache.maven.plugins</groupId>\r
141                       <artifactId>maven-source-plugin</artifactId>\r
142                       <version>2.2.1</version>\r
143                       <executions>\r
144                         <execution>\r
145                           <id>attach-sources</id>\r
146                           <goals>\r
147                             <goal>jar-no-fork</goal>\r
148                           </goals>\r
149                         </execution>\r
150                       </executions>\r
151                     </plugin> \r
152                         <plugin>\r
153                                 <groupId>org.sonatype.plugins</groupId>\r
154                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
155                                 <version>1.6.7</version>\r
156                                 <extensions>true</extensions>\r
157                                 <configuration>\r
158                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
159                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
160                                         <serverId>ecomp-staging</serverId>\r
161                                 </configuration>\r
162                         </plugin>               \r
163                         <plugin>\r
164                                 <groupId>org.jacoco</groupId>\r
165                                 <artifactId>jacoco-maven-plugin</artifactId>\r
166                                 <version>0.7.7.201606060606</version>\r
167                                 <configuration>\r
168                                         <dumpOnExit>true</dumpOnExit>\r
169                                         <includes>\r
170                                                 <include>org.onap.aaf.*</include>\r
171                                         </includes>\r
172                                 </configuration>\r
173                                 <executions>\r
174                                         <execution>\r
175                                                 <id>pre-unit-test</id>\r
176                                                 <goals>\r
177                                                         <goal>prepare-agent</goal>\r
178                                                 </goals>\r
179                                                 <configuration>\r
180                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
181                                                         <!-- <append>true</append> -->\r
182                                                 </configuration>\r
183                                         </execution>\r
184                                         <execution>\r
185                                                 <id>pre-integration-test</id>\r
186                                                 <phase>pre-integration-test</phase>\r
187                                                 <goals>\r
188                                                         <goal>prepare-agent</goal>\r
189                                                 </goals>\r
190                                                 <configuration>\r
191                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
192                                                         <!-- <append>true</append> -->\r
193                                                 </configuration>\r
194                                         </execution>\r
195                                         <execution>\r
196                         <goals>\r
197                             <goal>merge</goal>\r
198                         </goals>\r
199                         <phase>post-integration-test</phase>\r
200                         <configuration>\r
201                             <fileSets>\r
202                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
203                                     <directory>${project.build.directory}/coverage-reports</directory>\r
204                                     <includes>\r
205                                         <include>*.exec</include>\r
206                                     </includes>\r
207                                 </fileSet>\r
208                             </fileSets>\r
209                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
210                         </configuration>\r
211                     </execution>\r
212                                 </executions>\r
213                         </plugin>\r
214 \r
215 \r
216                         </plugins>\r
217                 <pluginManagement>\r
218                         <plugins/>\r
219                 </pluginManagement>\r
220         </build>\r
221 <distributionManagement>\r
222                 <repository>\r
223                         <id>ecomp-releases</id>\r
224                         <name>AAF Release Repository</name>\r
225                         <url>${nexusproxy}${releaseNexusPath}</url>\r
226                 </repository>\r
227                 <snapshotRepository>\r
228                         <id>ecomp-snapshots</id>\r
229                         <name>AAF Snapshot Repository</name>\r
230                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
231                 </snapshotRepository>\r
232                 <site>\r
233                         <id>ecomp-site</id>\r
234                         <url>dav:${nexusproxy}${sitePath}</url>\r
235                 </site>\r
236         </distributionManagement>\r
237 \r
238 </project>\r