Update version.properties to aaf authz
[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                 </dependency>
47
48                 <dependency>
49                         <groupId>org.onap.aaf.inno</groupId>
50                         <artifactId>rosetta</artifactId>
51                 </dependency>
52                 
53                 <dependency>
54                 <groupId>org.onap.aaf.cadi</groupId>
55                 <artifactId>cadi-core</artifactId>
56             </dependency>
57
58                 <dependency>
59                 <groupId>org.onap.aaf.cadi</groupId>
60                 <artifactId>cadi-aaf</artifactId>
61             </dependency>
62
63
64
65                 <!--  <dependency>
66                         <groupId>com.att.authz</groupId>
67                         <artifactId>authz-att</artifactId>
68                         <exclusions>
69                                 <exclusion> 
70                                         <groupId>javax.servlet</groupId>
71                                 <artifactId>servlet-api</artifactId>
72                         </exclusion>
73                         <exclusion>
74                                 <groupId>org.onap.aaf.cadi</groupId>
75                                 <artifactId>cadi-aaf</artifactId>
76                         </exclusion>
77                         <exclusion>
78                                 <groupId>org.onap.aaf.cadi</groupId>
79                                 <artifactId>cadi-core</artifactId>
80                             </exclusion>
81                             <exclusion>
82                                 <groupId>org.onap.aaf.cadi</groupId>
83                                 <artifactId>cadi-client</artifactId>
84                         </exclusion>
85                     </exclusions>
86                         
87                 </dependency>   -->
88                 
89                 <dependency>
90                         <groupId>com.att.authz</groupId>
91                         <artifactId>authz-cass</artifactId>
92                         <exclusions>
93                                 <exclusion> 
94                                         <groupId>javax.servlet</groupId>
95                                 <artifactId>servlet-api</artifactId>
96                         </exclusion>
97                         <exclusion>
98                                 <groupId>org.onap.aaf.cadi</groupId>
99                                 <artifactId>cadi-aaf</artifactId>
100                         </exclusion>
101                         <exclusion>
102                                 <groupId>org.onap.aaf.cadi</groupId>
103                                 <artifactId>cadi-core</artifactId>
104                             </exclusion>
105                             <exclusion>
106                                 <groupId>org.onap.aaf.cadi</groupId>
107                                 <artifactId>cadi-client</artifactId>
108                         </exclusion>
109                         
110                         </exclusions> 
111                 </dependency>
112
113                 <dependency>
114                         <groupId>org.joda</groupId>
115                         <artifactId>joda-time</artifactId>
116                         <version>2.5</version>
117                 </dependency>
118
119                 <dependency>
120                         <groupId>org.slf4j</groupId>
121                         <artifactId>slf4j-log4j12</artifactId>
122                 </dependency>
123                 
124                 <!-- Data Migration 
125                          <dependency>
126             <groupId>com.oracle</groupId>
127             <artifactId>ojdbc6</artifactId>
128             <version>11.2.0</version>
129           </dependency>
130           
131           <dependency>
132             <groupId>com.opencsv</groupId>
133             <artifactId>opencsv</artifactId>
134             <version>3.3</version>
135           </dependency>
136                 -->
137         </dependencies>
138
139         <build>
140                 <plugins>
141                                 <plugin>
142                                         <groupId>org.apache.maven.plugins</groupId>
143                                         <artifactId>maven-deploy-plugin</artifactId>
144                                         <configuration>
145                                                 <skip>true</skip>
146                                         </configuration>
147                                 </plugin>
148                             
149                                 <plugin>
150                                         <artifactId>maven-assembly-plugin</artifactId>
151                                         <version>2.4</version>
152                                         
153                                         <configuration>
154                                                 <classifier>tests</classifier>
155                                                 <archive>
156                                                         <manifestEntries>
157                                                                 <Sealed>true</Sealed>
158                                                         </manifestEntries>
159                                                 </archive>
160                                         </configuration>
161                                         <executions>
162                                                 <execution>
163                                                         <id>depends</id>
164                                                         <phase>package</phase>
165                                                         <goals>
166                                                                 <goal>single</goal>
167                                                         </goals>
168                                                         <configuration>
169                                                         <descriptorRefs>
170                                                           <descriptorRef>jar-with-dependencies</descriptorRef>
171                                                         </descriptorRefs>
172                                                         <archive>
173                                                           <manifest>
174                                                             <mainClass>org.onap.aaf.authz.Batch</mainClass>
175                                                           </manifest>
176                                                         </archive>
177                                                         </configuration>
178                                                 </execution>
179                                                 <execution>
180                                                         <id>swm</id>
181                                                         <phase>package</phase>
182                                                         <goals>
183                                                                 <goal>single</goal>
184                                                         </goals>
185                                                 <configuration>
186                                                         <finalName>authz-batch-${project.version}.${project.swmVersion}</finalName>
187                                                          <descriptors>
188                                                                 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
189                                                         </descriptors>
190                                                         <archive>
191                                                         </archive>
192                                                 </configuration>
193                                                 </execution>
194                                         </executions>
195                                 </plugin>
196                 <plugin>
197                         <groupId>org.apache.maven.plugins</groupId>
198                         <artifactId>maven-javadoc-plugin</artifactId>
199                         <configuration>
200                         <failOnError>false</failOnError>
201                         </configuration>
202                         <executions>
203                                 <execution>
204                                         <id>attach-javadocs</id>
205                                         <goals>
206                                                 <goal>jar</goal>
207                                         </goals>
208                                 </execution>
209                         </executions>
210                 </plugin> 
211            
212            
213                <plugin>
214                       <groupId>org.apache.maven.plugins</groupId>
215                       <artifactId>maven-source-plugin</artifactId>
216                       <version>2.2.1</version>
217                       <executions>
218                         <execution>
219                           <id>attach-sources</id>
220                           <goals>
221                             <goal>jar-no-fork</goal>
222                           </goals>
223                         </execution>
224                       </executions>
225                     </plugin>
226         
227
228         <plugin>
229             <groupId>org.apache.maven.plugins</groupId>
230             <artifactId>maven-gpg-plugin</artifactId>
231             <version>1.5</version>
232             <executions>
233                 <execution>
234                     <id>sign-artifacts</id>
235                     <phase>verify</phase>
236                     <goals>
237                         <goal>sign</goal>
238                     </goals>
239                 </execution>
240             </executions>
241           </plugin> 
242                         
243                 
244                         </plugins>
245         </build>
246 </project>