fe789cb5fbc14717faa1ca02668d4b87e82a59e6
[aaf/authz.git] / authz-fs / 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-fs</artifactId>\r
35         <name>Authz File Server</name>\r
36         <description>Independent FileServer via HTTP (not S) for Public Files (i.e. CRLs)</description>\r
37                 <url>https://github.com/att/AAF</url>\r
38 \r
39         <developers>\r
40                 <developer>\r
41                 <name>Jonathan Gathman</name>\r
42                 <email></email>\r
43         <organization>ATT</organization>\r
44         <organizationUrl></organizationUrl>\r
45                 </developer>\r
46         </developers>\r
47 \r
48         <properties>\r
49                 <maven.test.failure.ignore>true</maven.test.failure.ignore>\r
50                 <project.swmVersion>9</project.swmVersion>\r
51                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
52              <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>\r
53                         <sonar.language>java</sonar.language>\r
54                         <sonar.skip>true</sonar.skip>\r
55                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
56                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
57                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
58                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
59                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
60                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
61         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
62                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
63                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
64                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
65                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
66         </properties>\r
67         \r
68                 \r
69         <dependencies>\r
70         <dependency>\r
71             <groupId>org.onap.aaf.authz</groupId>\r
72             <artifactId>authz-core</artifactId>\r
73                         <version>${project.version}</version>\r
74         </dependency>\r
75         <dependency> \r
76                         <groupId>org.onap.aaf.cadi</groupId>\r
77                         <artifactId>cadi-core</artifactId>\r
78                         <version>${project.cadiVersion}</version>\r
79                 </dependency>\r
80                 <dependency>\r
81                     <groupId>com.att.aft</groupId>\r
82                         <artifactId>dme2</artifactId>\r
83                 </dependency>\r
84         </dependencies>\r
85         \r
86         <build>\r
87                 <plugins>\r
88             <plugin>\r
89                                 <groupId>org.apache.maven.plugins</groupId>\r
90                                 <artifactId>maven-jar-plugin</artifactId>\r
91                                         <configuration>\r
92                                 <includes>\r
93                                         <include>**/*.class</include>\r
94                                 </includes>\r
95                                         </configuration>\r
96                                         <version>2.3.1</version>\r
97                                 </plugin>\r
98                                 \r
99                         <plugin>\r
100                         <groupId>org.apache.maven.plugins</groupId>\r
101                         <artifactId>maven-javadoc-plugin</artifactId>\r
102                         <version>2.10.4</version>\r
103                         <configuration>\r
104                         <failOnError>false</failOnError>\r
105                         </configuration>\r
106                         <executions>\r
107                                 <execution>\r
108                                         <id>attach-javadocs</id>\r
109                                         <goals>\r
110                                                 <goal>jar</goal>\r
111                                         </goals>\r
112                                 </execution>\r
113                         </executions>\r
114                 </plugin> \r
115            \r
116            \r
117                <plugin>\r
118                       <groupId>org.apache.maven.plugins</groupId>\r
119                       <artifactId>maven-source-plugin</artifactId>\r
120                       <version>2.2.1</version>\r
121                       <executions>\r
122                         <execution>\r
123                           <id>attach-sources</id>\r
124                           <goals>\r
125                             <goal>jar-no-fork</goal>\r
126                           </goals>\r
127                         </execution>\r
128                       </executions>\r
129                     </plugin>\r
130                          <plugin>\r
131                                 <groupId>org.sonatype.plugins</groupId>\r
132                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
133                                 <version>1.6.7</version>\r
134                                 <extensions>true</extensions>\r
135                                 <configuration>\r
136                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
137                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
138                                         <serverId>ecomp-staging</serverId>\r
139                                 </configuration>\r
140                         </plugin>               \r
141                         <plugin>\r
142                                 <groupId>org.jacoco</groupId>\r
143                                 <artifactId>jacoco-maven-plugin</artifactId>\r
144                                 <version>0.7.7.201606060606</version>\r
145                                 <configuration>\r
146                                         <dumpOnExit>true</dumpOnExit>\r
147                                         <includes>\r
148                                                 <include>org.onap.aaf.*</include>\r
149                                         </includes>\r
150                                 </configuration>\r
151                                 <executions>\r
152                                         <execution>\r
153                                                 <id>pre-unit-test</id>\r
154                                                 <goals>\r
155                                                         <goal>prepare-agent</goal>\r
156                                                 </goals>\r
157                                                 <configuration>\r
158                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
159                                                         <!-- <append>true</append> -->\r
160                                                 </configuration>\r
161                                         </execution>\r
162                                         <execution>\r
163                                                 <id>pre-integration-test</id>\r
164                                                 <phase>pre-integration-test</phase>\r
165                                                 <goals>\r
166                                                         <goal>prepare-agent</goal>\r
167                                                 </goals>\r
168                                                 <configuration>\r
169                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
170                                                         <!-- <append>true</append> -->\r
171                                                 </configuration>\r
172                                         </execution>\r
173                                         <execution>\r
174                         <goals>\r
175                             <goal>merge</goal>\r
176                         </goals>\r
177                         <phase>post-integration-test</phase>\r
178                         <configuration>\r
179                             <fileSets>\r
180                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
181                                     <directory>${project.build.directory}/coverage-reports</directory>\r
182                                     <includes>\r
183                                         <include>*.exec</include>\r
184                                     </includes>\r
185                                 </fileSet>\r
186                             </fileSets>\r
187                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
188                         </configuration>\r
189                     </execution>\r
190                                 </executions>\r
191                         </plugin>   \r
192 \r
193                         </plugins>\r
194 \r
195         </build>\r
196 <distributionManagement>\r
197                 <repository>\r
198                         <id>ecomp-releases</id>\r
199                         <name>AAF Release Repository</name>\r
200                         <url>${nexusproxy}${releaseNexusPath}</url>\r
201                 </repository>\r
202                 <snapshotRepository>\r
203                         <id>ecomp-snapshots</id>\r
204                         <name>AAF Snapshot Repository</name>\r
205                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
206                 </snapshotRepository>\r
207                 <site>\r
208                         <id>ecomp-site</id>\r
209                         <url>dav:${nexusproxy}${sitePath}</url>\r
210                 </site>\r
211         </distributionManagement>\r
212 \r
213 </project>\r