677d84db355051092b804809bf250d4e4522022b
[aaf/authz.git] / authz-service / 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.0-SNAPSHOT</version>\r
31                 <relativePath>../pom.xml</relativePath>\r
32         </parent>\r
33                 \r
34         <artifactId>authz-service</artifactId>\r
35         <name>Authz Service</name>\r
36         <description>API for Authorization and Authentication</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>1</project.swmVersion>\r
56                         <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
57         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
58                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
59                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
60                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
61                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
62         </properties>\r
63         \r
64                 \r
65         <dependencies>\r
66         <dependency>\r
67             <groupId>org.onap.aaf.authz</groupId>\r
68             <artifactId>authz-client</artifactId>\r
69         </dependency>\r
70 \r
71         <dependency>\r
72             <groupId>org.onap.aaf.authz</groupId>\r
73             <artifactId>authz-core</artifactId>\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.authz</groupId>\r
84             <artifactId>authz-cass</artifactId>\r
85         </dependency>\r
86 \r
87         <dependency>\r
88             <groupId>org.onap.aaf.authz</groupId>\r
89             <artifactId>authz-defOrg</artifactId>\r
90             <version>${project.version}</version>\r
91         </dependency>\r
92 \r
93 \r
94         \r
95         <dependency > \r
96                         <groupId>org.onap.aaf.inno</groupId>\r
97                         <artifactId>env</artifactId>\r
98                 </dependency>\r
99 \r
100 \r
101                 <dependency>\r
102                         <groupId>org.onap.aaf.cadi</groupId>\r
103                         <artifactId>cadi-core</artifactId>\r
104                 </dependency>\r
105 \r
106                 <dependency>\r
107                         <groupId>com.att.aft</groupId>\r
108                         <artifactId>dme2</artifactId>\r
109                 </dependency>\r
110 \r
111                 <dependency>\r
112                         <groupId>org.onap.aaf.inno</groupId>\r
113                         <artifactId>rosetta</artifactId>\r
114                 </dependency>\r
115                 <dependency>\r
116                         <groupId>org.onap.aaf.cadi</groupId>\r
117                         <artifactId>cadi-aaf</artifactId>\r
118                 </dependency>\r
119 \r
120         \r
121 \r
122        \r
123         </dependencies>\r
124         \r
125         <build>\r
126             <plugins>\r
127                     <plugin>\r
128                         <groupId>org.codehaus.mojo</groupId>\r
129                         <artifactId>exec-maven-plugin</artifactId>\r
130                         <version>1.5.0</version>\r
131                         <configuration>\r
132                             <executable>java</executable>\r
133                             <arguments>\r
134                                 <argument>-DAFT_LATITUDE=33</argument>\r
135                                 <argument>-DAFT_LONGITUDE=-84</argument>\r
136                                 <argument>-DAFT_ENVIRONMENT=AFTUAT</argument>\r
137         \r
138                                 <argument>-XX:NewRatio=3</argument>\r
139                                 <argument>-XX:+PrintGCTimeStamps</argument>\r
140                                 <argument>-XX:+PrintGCDetails</argument>\r
141                                 <argument>-Xloggc:gc.log</argument>\r
142                                 <argument>-classpath</argument>\r
143         \r
144                                 <classpath>\r
145                                 \r
146                                 </classpath>\r
147                                 <argument>org.onap.aaf.authz.service.AuthAPI</argument>\r
148         \r
149                            <argument>service=org.onap.aaf.authz.AuthorizationService/version=2.0/envContext=DEV/routeOffer=Dev</argument>\r
150                             </arguments>\r
151                         </configuration>\r
152                     </plugin>\r
153         \r
154                     <plugin>\r
155                                 <groupId>org.apache.maven.plugins</groupId>\r
156                                 <artifactId>maven-jar-plugin</artifactId>\r
157                                         <configuration>\r
158                                                 <excludes>\r
159                                 <exclude>*.properties</exclude>\r
160                                 </excludes>\r
161                                         </configuration>\r
162                                         <version>2.3.1</version>\r
163                                 </plugin>\r
164 \r
165                                 <plugin>\r
166                                         <groupId>org.apache.maven.plugins</groupId>\r
167                                         <artifactId>maven-deploy-plugin</artifactId>\r
168                                         <configuration>\r
169                                                 <skip>true</skip>\r
170                                         </configuration>\r
171                             </plugin>  \r
172 \r
173                 <plugin>\r
174                         <groupId>org.apache.maven.plugins</groupId>\r
175                         <artifactId>maven-javadoc-plugin</artifactId>\r
176                         <configuration>\r
177                         <failOnError>false</failOnError>\r
178                         </configuration>\r
179                         <executions>\r
180                                 <execution>\r
181                                         <id>attach-javadocs</id>\r
182                                         <goals>\r
183                                                 <goal>jar</goal>\r
184                                         </goals>\r
185                                 </execution>\r
186                         </executions>\r
187                 </plugin> \r
188            \r
189            \r
190                <plugin>\r
191                       <groupId>org.apache.maven.plugins</groupId>\r
192                       <artifactId>maven-source-plugin</artifactId>\r
193                       <version>2.2.1</version>\r
194                       <executions>\r
195                         <execution>\r
196                           <id>attach-sources</id>\r
197                           <goals>\r
198                             <goal>jar-no-fork</goal>\r
199                           </goals>\r
200                         </execution>\r
201                       </executions>\r
202                     </plugin>\r
203                         \r
204 <plugin>\r
205                                 <groupId>org.sonatype.plugins</groupId>\r
206                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
207                                 <version>1.6.7</version>\r
208                                 <extensions>true</extensions>\r
209                                 <configuration>\r
210                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
211                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
212                                         <serverId>ecomp-staging</serverId>\r
213                                 </configuration>\r
214                         </plugin> \r
215                 \r
216                         </plugins>\r
217 \r
218         </build>\r
219 \r
220                 <distributionManagement>\r
221                 <repository>\r
222                         <id>ecomp-releases</id>\r
223                         <name>AAF Release Repository</name>\r
224                         <url>${nexusproxy}${releaseNexusPath}</url>\r
225                 </repository>\r
226                 <snapshotRepository>\r
227                         <id>ecomp-snapshots</id>\r
228                         <name>AAF Snapshot Repository</name>\r
229                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
230                 </snapshotRepository>\r
231                 <site>\r
232                         <id>ecomp-site</id>\r
233                         <url>dav:${nexusproxy}${sitePath}</url>\r
234                 </site>\r
235         </distributionManagement>\r
236 <pluginRepositories>\r
237         <pluginRepository>\r
238             <id>onap-plugin-snapshots</id>\r
239             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
240         </pluginRepository>\r
241     </pluginRepositories>\r
242         \r
243         <repositories>\r
244                 <repository>\r
245                         <id>central</id>\r
246                         <name>Maven 2 repository 2</name>\r
247                         <url>http://repo2.maven.org/maven2/</url>\r
248                 </repository>\r
249                 <repository>\r
250             <id>onap-jar-snapshots</id>\r
251             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
252         </repository>\r
253                 <repository>\r
254                         <id>spring-repo</id>\r
255                         <name>Spring repo</name>\r
256                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
257                 </repository>\r
258                 <repository>\r
259                         <id>repository.jboss.org-public</id>\r
260                         <name>JBoss.org Maven repository</name>\r
261                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
262                 </repository>\r
263         </repositories>\r
264 </project>\r