changed to unmaintained
[aaf/authz.git] / cadi / aaf / jenkins-pom.xml
1 <!--
2  * ============LICENSE_START====================================================
3  * org.onap.aaf
4  * ===========================================================================
5  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6  * ===========================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END====================================================
19  *
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <parent>
24         <groupId>com.att.cadi</groupId>
25         <artifactId>parent</artifactId>
26         <version>1.2.2</version>
27         <relativePath>..</relativePath>
28     </parent>
29
30     <modelVersion>4.0.0</modelVersion>
31     <name>CADI AAF (Application Authorization Framework) LUR</name>
32     <packaging>jar</packaging>
33     <artifactId>cadi-aaf</artifactId>
34
35     <dependencies>
36         <dependency>
37             <groupId>com.att.authz</groupId>
38             <artifactId>authz-client</artifactId>
39         </dependency>
40
41         <dependency>
42             <groupId>com.att.cadi</groupId>
43             <artifactId>cadi-client</artifactId>
44         </dependency>
45         
46         <dependency>
47             <groupId>com.att.aft</groupId>
48             <artifactId>dme2</artifactId>
49             <exclusions>
50               <exclusion> 
51                 <groupId>org.slf4j</groupId>
52                 <artifactId>slf4j-log4j12</artifactId>
53               </exclusion>
54               <exclusion> 
55                 <groupId>log4j</groupId>
56                 <artifactId>log4j</artifactId>
57               </exclusion>
58             </exclusions>
59         </dependency>
60
61         <!-- dependency>
62             <groupId>org.apache.cassandra</groupId>
63             <artifactId>cassandra-all</artifactId>
64             <version>2.1.2</version>
65             <scope>compile</scope>
66             <exclusions>
67               <exclusion> 
68                 <groupId>org.slf4j</groupId>
69                 <artifactId>slf4j-log4j12</artifactId>
70               </exclusion>
71               <exclusion> 
72                 <groupId>log4j</groupId>
73                 <artifactId>log4j</artifactId>
74               </exclusion>
75             </exclusions> 
76         </dependency-->
77         
78     </dependencies>
79     <build>
80         <plugins>
81             <plugin>
82                 <groupId>org.codehaus.mojo</groupId>
83                 <artifactId>jaxb2-maven-plugin</artifactId>
84                 <version>1.3</version>
85                 <executions>
86                     <execution>
87                         <phase>generate-sources</phase>
88                         <goals>
89                             <goal>xjc</goal>
90                         </goals>
91                     </execution>
92                 </executions>
93                 <configuration>
94                     <schemaDirectory>src/main/xsd</schemaDirectory>
95                 </configuration>
96             </plugin>
97             <plugin>
98                 <groupId>org.apache.maven.plugins</groupId>
99                 <artifactId>maven-jar-plugin</artifactId>
100                 <configuration>
101                     <archive>
102                         <manifestEntries>
103                             <Sealed>true</Sealed>
104                         </manifestEntries>
105                     </archive>
106
107                 </configuration>
108                 <executions>
109                     <execution>
110                         <id>test-jar</id>
111                         <phase>package</phase>
112                         <goals>
113                             <goal>test-jar</goal>
114                         </goals>
115                     </execution>
116                 </executions>
117                 
118             </plugin>
119
120             <!-- We want to create a Jar with Rosetta built in (since I don't want 
121                 a separate deployment at this time Use this one as the jar to put in SWM 
122                 packages -->
123             <plugin>
124                 <artifactId>maven-assembly-plugin</artifactId>
125                 <version>2.4</version>
126                 <configuration>
127                     <classifier>tests</classifier>
128                     <archive>
129                         <manifestEntries>
130                             <Sealed>true</Sealed>
131                         </manifestEntries>
132                     </archive>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <id>full</id>
137                         <phase>package</phase>
138                         <goals>
139                             <goal>single</goal>
140                         </goals>
141                         <configuration>
142                             <descriptors>
143                                 <descriptor>src/assemble/cadi-aaf.xml</descriptor>
144                             </descriptors>
145                         </configuration>
146                     </execution>
147                 </executions>
148             </plugin>
149
150             <plugin>
151                 <!-- Must put this in to turn on Signing, but Configuration itself is 
152                     in Parent -->
153                 <groupId>org.apache.maven.plugins</groupId>
154                 <artifactId>maven-jarsigner-plugin</artifactId>
155                 <configuration>
156                     <skip>false</skip>
157                 </configuration>
158                 <executions>
159                     <execution>
160                         <id>sign-full</id>
161                         <goals>
162                             <goal>sign</goal>
163                         </goals>
164                         <configuration>
165                             <archive>target/${project.artifactId}-${project.version}-full.jar</archive>
166                         </configuration>
167                     </execution>
168                     <execution>
169                         <id>verify-full</id>
170                         <goals>
171                             <goal>verify</goal>
172                         </goals>
173                         <configuration>
174                             <archive>target/${project.artifactId}-${project.version}-full.jar</archive>
175                         </configuration>
176                     </execution>
177                 </executions>
178             </plugin>
179
180             <plugin>
181                 <groupId>org.codehaus.mojo</groupId>
182                 <artifactId>jaxb2-maven-plugin</artifactId>
183                 <version>1.3</version>
184                 <executions>
185                     <execution>
186                         <phase>generate-sources</phase>
187                         <goals>
188                             <goal>xjc</goal>
189                         </goals>
190                     </execution>
191                 </executions>
192                 <configuration>
193                     <schemaDirectory>src/main/xsd</schemaDirectory>
194                 </configuration>
195             </plugin>
196             <plugin>
197                 <groupId>org.apache.maven.plugins</groupId>
198                 <artifactId>maven-deploy-plugin</artifactId>
199                 <version>2.6</version>
200                 <configuration>
201                     <skip>false</skip>
202                 </configuration>
203             </plugin>
204         </plugins>
205
206         <pluginManagement>
207             <plugins>
208                 <!--This plugin's configuration is used to store Eclipse m2e settings 
209                     only. It has no influence on the Maven build itself. -->
210                 <plugin>
211                     <groupId>org.eclipse.m2e</groupId>
212                     <artifactId>lifecycle-mapping</artifactId>
213                     <version>1.0.0</version>
214                     <configuration>
215                         <lifecycleMappingMetadata>
216                             <pluginExecutions>
217                                 <pluginExecution>
218                                     <pluginExecutionFilter>
219                                         <groupId>
220                                             org.codehaus.mojo
221                                         </groupId>
222                                         <artifactId>
223                                             jaxb2-maven-plugin
224                                         </artifactId>
225                                         <versionRange>
226                                             [1.3,)
227                                         </versionRange>
228                                         <goals>
229                                             <goal>xjc</goal>
230                                         </goals>
231                                     </pluginExecutionFilter>
232                                     <action>
233                                         <ignore></ignore>
234                                     </action>
235                                 </pluginExecution>
236                             </pluginExecutions>
237                         </lifecycleMappingMetadata>
238                     </configuration>
239                 </plugin>
240             </plugins>
241         </pluginManagement>
242     </build>
243
244
245 </project>