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