93224123e2f697848ec37122b1f8bd93c87986b5
[aaf/authz.git] / authz-gw / 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-gw</artifactId>\r
35         <name>Authz Gate/Wall</name>\r
36         <description>GW API</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>30</project.swmVersion>\r
51                         <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>\r
52                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\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         <dependencies>\r
69         <dependency>\r
70             <groupId>org.onap.aaf.authz</groupId>\r
71             <artifactId>authz-core</artifactId>\r
72                         <version>${project.version}</version>\r
73          \r
74             <exclusions>\r
75                           <exclusion> \r
76                                         <groupId>javax.servlet</groupId>\r
77                         <artifactId>servlet-api</artifactId>\r
78                                            </exclusion>\r
79                     </exclusions> \r
80         </dependency>\r
81             \r
82                 <dependency> \r
83                         <groupId>org.onap.aaf.cadi</groupId>\r
84                         <artifactId>cadi-aaf</artifactId>\r
85                         <version>${project.cadiVersion}</version>\r
86                 </dependency>\r
87 \r
88 \r
89                 \r
90         </dependencies>\r
91         \r
92         <build>\r
93                 <plugins>\r
94                         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->\r
95                                 <plugin>\r
96                                         <groupId>org.codehaus.mojo</groupId>\r
97                                         <artifactId>jaxb2-maven-plugin</artifactId>\r
98                                 </plugin>\r
99                     <plugin>\r
100                                 <groupId>org.apache.maven.plugins</groupId>\r
101                                 <artifactId>maven-jar-plugin</artifactId>\r
102                                         <configuration>\r
103                                 <includes>\r
104                                         <include>**/*.class</include>\r
105                                 </includes>\r
106                                         </configuration>\r
107                                         <version>2.3.1</version>\r
108                                 </plugin>\r
109 \r
110            <plugin>\r
111                         <groupId>org.apache.maven.plugins</groupId>\r
112                         <artifactId>maven-javadoc-plugin</artifactId>\r
113                         <version>2.10.4</version>\r
114                         <configuration>\r
115                         <failOnError>false</failOnError>\r
116                         </configuration>\r
117                         <executions>\r
118                                 <execution>\r
119                                         <id>attach-javadocs</id>\r
120                                         <goals>\r
121                                                 <goal>jar</goal>\r
122                                         </goals>\r
123                                 </execution>\r
124                         </executions>\r
125                 </plugin> \r
126                <plugin>\r
127                       <groupId>org.apache.maven.plugins</groupId>\r
128                       <artifactId>maven-source-plugin</artifactId>\r
129                       <version>2.2.1</version>\r
130                       <executions>\r
131                         <execution>\r
132                           <id>attach-sources</id>\r
133                           <goals>\r
134                             <goal>jar-no-fork</goal>\r
135                           </goals>\r
136                         </execution>\r
137                       </executions>\r
138                     </plugin>\r
139 \r
140 <plugin>\r
141                                 <groupId>org.sonatype.plugins</groupId>\r
142                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
143                                 <version>1.6.7</version>\r
144                                 <extensions>true</extensions>\r
145                                 <configuration>\r
146                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
147                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
148                                         <serverId>ecomp-staging</serverId>\r
149                                 </configuration>\r
150                         </plugin>               \r
151                         <plugin>\r
152                                 <groupId>org.jacoco</groupId>\r
153                                 <artifactId>jacoco-maven-plugin</artifactId>\r
154                                 <version>0.7.7.201606060606</version>\r
155                                 <configuration>\r
156                                         <dumpOnExit>true</dumpOnExit>\r
157                                         <includes>\r
158                                                 <include>org.onap.aaf.*</include>\r
159                                         </includes>\r
160                                 </configuration>\r
161                                 <executions>\r
162                                         <execution>\r
163                                                 <id>pre-unit-test</id>\r
164                                                 <goals>\r
165                                                         <goal>prepare-agent</goal>\r
166                                                 </goals>\r
167                                                 <configuration>\r
168                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
169                                                         <!-- <append>true</append> -->\r
170                                                 </configuration>\r
171                                         </execution>\r
172                                         <execution>\r
173                                                 <id>pre-integration-test</id>\r
174                                                 <phase>pre-integration-test</phase>\r
175                                                 <goals>\r
176                                                         <goal>prepare-agent</goal>\r
177                                                 </goals>\r
178                                                 <configuration>\r
179                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
180                                                         <!-- <append>true</append> -->\r
181                                                 </configuration>\r
182                                         </execution>\r
183                                         <execution>\r
184                         <goals>\r
185                             <goal>merge</goal>\r
186                         </goals>\r
187                         <phase>post-integration-test</phase>\r
188                         <configuration>\r
189                             <fileSets>\r
190                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
191                                     <directory>${project.build.directory}/coverage-reports</directory>\r
192                                     <includes>\r
193                                         <include>*.exec</include>\r
194                                     </includes>\r
195                                 </fileSet>\r
196                             </fileSets>\r
197                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
198                         </configuration>\r
199                     </execution>\r
200                                 </executions>\r
201                         </plugin>   \r
202 \r
203                 \r
204                         </plugins>\r
205         </build>\r
206 <distributionManagement>\r
207                 <repository>\r
208                         <id>ecomp-releases</id>\r
209                         <name>AAF Release Repository</name>\r
210                         <url>${nexusproxy}${releaseNexusPath}</url>\r
211                 </repository>\r
212                 <snapshotRepository>\r
213                         <id>ecomp-snapshots</id>\r
214                         <name>AAF Snapshot Repository</name>\r
215                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
216                 </snapshotRepository>\r
217                 <site>\r
218                         <id>ecomp-site</id>\r
219                         <url>dav:${nexusproxy}${sitePath}</url>\r
220                 </site>\r
221         </distributionManagement>\r
222 \r
223 </project>\r