Release docker image of AAF to onap nexus
[aaf/authz.git] / authz-batch / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
4  -->
5
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
8         <modelVersion>4.0.0</modelVersion>
9         <parent>
10                 <groupId>com.att.authz</groupId>
11                 <artifactId>parent</artifactId>
12                 <version>1.0.0-SNAPSHOT</version>
13                 <relativePath>../pom.xml</relativePath>
14         </parent>
15                 
16         <artifactId>authz-batch</artifactId>
17         <name>Authz Batch</name>
18         <description>Batch Processing for Authz</description>
19         <packaging>jar</packaging>
20                 <url>https://github.com/att/AAF</url>
21         <licenses>
22                 <license>
23                 <name>BSD License</name>
24                 <url> </url>
25                 </license>
26         </licenses>
27         <developers>
28                 <developer>
29                 <name>Jonathan Gathman</name>
30                 <email></email>
31         <organization>ATT</organization>
32         <organizationUrl></organizationUrl>
33                 </developer>
34         </developers>
35
36         <properties>
37                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
38                 <project.swmVersion>1</project.swmVersion>
39         </properties>
40         
41         <dependencies>
42
43                 <dependency>
44                         <groupId>org.onap.aaf.inno</groupId>
45                         <artifactId>env</artifactId>
46                         <version>${project.version}</version>
47                 </dependency>
48
49                 <dependency>
50                         <groupId>org.onap.aaf.inno</groupId>
51                         <artifactId>rosetta</artifactId>
52                         <version>${project.version}</version>
53                 </dependency>
54                 
55                 <dependency>
56                 <groupId>org.onap.aaf.cadi</groupId>
57                 <artifactId>cadi-core</artifactId>
58                         <version>${project.version}</version>
59             </dependency>
60
61                 <dependency>
62                 <groupId>org.onap.aaf.cadi</groupId>
63                 <artifactId>cadi-aaf</artifactId>
64                         <version>${project.version}</version>
65             </dependency>
66
67
68
69                 <!--  <dependency>
70                         <groupId>com.att.authz</groupId>
71                         <artifactId>authz-att</artifactId>
72                         <exclusions>
73                                 <exclusion> 
74                                         <groupId>javax.servlet</groupId>
75                                 <artifactId>servlet-api</artifactId>
76                         </exclusion>
77                         <exclusion>
78                                 <groupId>org.onap.aaf.cadi</groupId>
79                                 <artifactId>cadi-aaf</artifactId>
80                         </exclusion>
81                         <exclusion>
82                                 <groupId>org.onap.aaf.cadi</groupId>
83                                 <artifactId>cadi-core</artifactId>
84                             </exclusion>
85                             <exclusion>
86                                 <groupId>org.onap.aaf.cadi</groupId>
87                                 <artifactId>cadi-client</artifactId>
88                         </exclusion>
89                     </exclusions>
90                         
91                 </dependency>   -->
92                 
93                 <dependency>
94                         <groupId>prg.onap.aaf.authz</groupId>
95                         <artifactId>authz-cass</artifactId>
96                         <version>${project.version}</version>
97                         <exclusions>
98                                 <exclusion> 
99                                         <groupId>javax.servlet</groupId>
100                                 <artifactId>servlet-api</artifactId>
101                         </exclusion>
102                         <exclusion>
103                                 <groupId>org.onap.aaf.cadi</groupId>
104                                 <artifactId>cadi-aaf</artifactId>
105                         </exclusion>
106                         <exclusion>
107                                 <groupId>org.onap.aaf.cadi</groupId>
108                                 <artifactId>cadi-core</artifactId>
109                             </exclusion>
110                             <exclusion>
111                                 <groupId>org.onap.aaf.cadi</groupId>
112                                 <artifactId>cadi-client</artifactId>
113                         </exclusion>
114                         
115                         </exclusions> 
116                 </dependency>
117
118                 <dependency>
119                         <groupId>org.joda</groupId>
120                         <artifactId>joda-time</artifactId>
121                         <version>2.5</version>
122                 </dependency>
123
124                 <dependency>
125                         <groupId>org.slf4j</groupId>
126                         <artifactId>slf4j-log4j12</artifactId>
127                 </dependency>
128                 
129                 <!-- Data Migration 
130                          <dependency>
131             <groupId>com.oracle</groupId>
132             <artifactId>ojdbc6</artifactId>
133             <version>11.2.0</version>
134           </dependency>
135           
136           <dependency>
137             <groupId>com.opencsv</groupId>
138             <artifactId>opencsv</artifactId>
139             <version>3.3</version>
140           </dependency>
141                 -->
142         </dependencies>
143
144         <build>
145                 <plugins>
146                                 <plugin>
147                                         <groupId>org.apache.maven.plugins</groupId>
148                                         <artifactId>maven-deploy-plugin</artifactId>
149                                         <configuration>
150                                                 <skip>true</skip>
151                                         </configuration>
152                                 </plugin>
153                             
154                                 <plugin>
155                                         <artifactId>maven-assembly-plugin</artifactId>
156                                         <version>2.4</version>
157                                         
158                                         <configuration>
159                                                 <classifier>tests</classifier>
160                                                 <archive>
161                                                         <manifestEntries>
162                                                                 <Sealed>true</Sealed>
163                                                         </manifestEntries>
164                                                 </archive>
165                                         </configuration>
166                                         <executions>
167                                                 <execution>
168                                                         <id>depends</id>
169                                                         <phase>package</phase>
170                                                         <goals>
171                                                                 <goal>single</goal>
172                                                         </goals>
173                                                         <configuration>
174                                                         <descriptorRefs>
175                                                           <descriptorRef>jar-with-dependencies</descriptorRef>
176                                                         </descriptorRefs>
177                                                         <archive>
178                                                           <manifest>
179                                                             <mainClass>org.onap.aaf.authz.Batch</mainClass>
180                                                           </manifest>
181                                                         </archive>
182                                                         </configuration>
183                                                 </execution>
184                                                 <execution>
185                                                         <id>swm</id>
186                                                         <phase>package</phase>
187                                                         <goals>
188                                                                 <goal>single</goal>
189                                                         </goals>
190                                                 <configuration>
191                                                         <finalName>authz-batch-${project.version}.${project.swmVersion}</finalName>
192                                                          <descriptors>
193                                                                 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
194                                                         </descriptors>
195                                                         <archive>
196                                                         </archive>
197                                                 </configuration>
198                                                 </execution>
199                                         </executions>
200                                 </plugin>
201                 <plugin>
202                         <groupId>org.apache.maven.plugins</groupId>
203                         <artifactId>maven-javadoc-plugin</artifactId>
204                         <configuration>
205                         <failOnError>false</failOnError>
206                         </configuration>
207                         <executions>
208                                 <execution>
209                                         <id>attach-javadocs</id>
210                                         <goals>
211                                                 <goal>jar</goal>
212                                         </goals>
213                                 </execution>
214                         </executions>
215                 </plugin> 
216            
217            
218                <plugin>
219                       <groupId>org.apache.maven.plugins</groupId>
220                       <artifactId>maven-source-plugin</artifactId>
221                       <version>2.2.1</version>
222                       <executions>
223                         <execution>
224                           <id>attach-sources</id>
225                           <goals>
226                             <goal>jar-no-fork</goal>
227                           </goals>
228                         </execution>
229                       </executions>
230                     </plugin>
231         
232
233         <plugin>
234             <groupId>org.apache.maven.plugins</groupId>
235             <artifactId>maven-gpg-plugin</artifactId>
236             <version>1.5</version>
237             <executions>
238                 <execution>
239                     <id>sign-artifacts</id>
240                     <phase>verify</phase>
241                     <goals>
242                         <goal>sign</goal>
243                     </goals>
244                 </execution>
245             </executions>
246           </plugin> 
247                         
248                 
249                         </plugins>
250         </build>
251 </project>