Update version.properties to aaf authz
[aaf/authz.git] / authz-gui / 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-gui</artifactId>
17         <name>Authz GUI (Mobile First)</name>
18         <description>GUI for Authz Management</description>
19                 <url>https://github.com/att/AAF</url>
20         <licenses>
21                 <license>
22                 <name>BSD License</name>
23                 <url> </url>
24                 </license>
25         </licenses>
26         <developers>
27                 <developer>
28                 <name>Jonathan Gathman</name>
29                 <email></email>
30         <organization>ATT</organization>
31         <organizationUrl></organizationUrl>
32                 </developer>
33         </developers>
34
35
36         <properties>
37                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
38                 <project.swmVersion>28</project.swmVersion>
39         </properties>
40         
41                 
42         <dependencies>
43         <dependency>
44             <groupId>com.att.authz</groupId>
45             <artifactId>authz-core</artifactId>
46             <exclusions>
47                           <exclusion> 
48                                         <groupId>javax.servlet</groupId>
49                         <artifactId>servlet-api</artifactId>
50                    </exclusion>
51                     </exclusions> 
52         </dependency>
53             
54         <dependency>
55             <groupId>com.att.authz</groupId>
56             <artifactId>authz-client</artifactId>
57         </dependency>
58         
59      <!--    <dependency>
60             <groupId>com.att.authz</groupId>
61             <artifactId>authz-att</artifactId>
62         </dependency>    --> 
63         
64         
65         <dependency>
66             <groupId>com.att.authz</groupId>
67             <artifactId>authz-cmd</artifactId>
68             <exclusions>
69                       <exclusion> 
70                         <groupId>org.slf4j</groupId>
71                         <artifactId>slf4j-log4j12</artifactId>
72                       </exclusion>
73                       <exclusion> 
74                         <groupId>log4j</groupId>
75                         <artifactId>log4j</artifactId>
76                       </exclusion>
77             </exclusions>
78         </dependency>
79
80                 <dependency> 
81                         <groupId>org.onap.aaf.cadi</groupId>
82                         <artifactId>cadi-aaf</artifactId>
83                 </dependency>
84
85                 <dependency> 
86                         <groupId>org.onap.aaf.cadi</groupId>
87                         <artifactId>cadi-tguard</artifactId>
88                 </dependency>
89
90                 <dependency> 
91                         <groupId>org.onap.aaf.cadi</groupId>
92                         <artifactId>cadi-client</artifactId>
93                 </dependency>
94
95                 <dependency>
96                         <groupId>gso</groupId>
97                         <artifactId>GLCookieDecryption</artifactId>
98                 </dependency>
99                 
100                 <dependency>
101                         <groupId>org.onap.aaf.inno</groupId>
102                         <artifactId>xgen</artifactId>
103                 </dependency>
104                 
105         </dependencies>
106         
107         <build>
108                 <plugins>
109             <plugin>
110                         <groupId>org.apache.maven.plugins</groupId>
111                         <artifactId>maven-jar-plugin</artifactId>
112                                 <configuration>
113                         <includes>
114                                 <include>**/*.class</include>
115                         </includes>
116                                 </configuration>
117                                 <version>2.3.1</version>
118                         </plugin>
119         
120                         <plugin>
121                       <artifactId>maven-assembly-plugin</artifactId>
122                       <executions>
123                         <execution>
124                                 <id>swm</id>
125                                 <phase>package</phase>
126                                 <goals>
127                                         <goal>single</goal>
128                                 </goals>
129                                 <configuration>
130                                         <finalName>authz-gui-${project.version}.${project.swmVersion}</finalName>
131                                 
132                                          <descriptors>
133                                                 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
134                                         </descriptors>
135                                         <archive>
136                                         </archive>
137                                 </configuration>
138                         </execution>
139                       </executions>
140                     </plugin>
141                     
142                     <plugin>
143                                 <groupId>org.apache.maven.plugins</groupId>
144                                 <artifactId>maven-deploy-plugin</artifactId>
145                                 <configuration>
146                                         <skip>true</skip>
147                                 </configuration>
148                     </plugin>
149                         
150                 <plugin>
151                         <groupId>org.apache.maven.plugins</groupId>
152                         <artifactId>maven-javadoc-plugin</artifactId>
153                         <configuration>
154                         <failOnError>false</failOnError>
155                         </configuration>
156                         <executions>
157                                 <execution>
158                                         <id>attach-javadocs</id>
159                                         <goals>
160                                                 <goal>jar</goal>
161                                         </goals>
162                                 </execution>
163                         </executions>
164                 </plugin> 
165            
166            
167                <plugin>
168                       <groupId>org.apache.maven.plugins</groupId>
169                       <artifactId>maven-source-plugin</artifactId>
170                       <version>2.2.1</version>
171                       <executions>
172                         <execution>
173                           <id>attach-sources</id>
174                           <goals>
175                             <goal>jar-no-fork</goal>
176                           </goals>
177                         </execution>
178                       </executions>
179                     </plugin>
180         
181 <plugin>
182                                 <groupId>org.sonatype.plugins</groupId>
183                                 <artifactId>nexus-staging-maven-plugin</artifactId>
184                                 <version>1.6.7</version>
185                                 <extensions>true</extensions>
186                                 <configuration>
187                                         <nexusUrl>${nexusproxy}</nexusUrl>
188                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
189                                         <serverId>ecomp-staging</serverId>
190                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
191                                 </configuration>
192                         </plugin>               
193                         <plugin>
194                                 <groupId>org.jacoco</groupId>
195                                 <artifactId>jacoco-maven-plugin</artifactId>
196                                 <version>0.7.7.201606060606</version>
197                                 <configuration>
198                                         <dumpOnExit>true</dumpOnExit>
199                                         <includes>
200                                                 <include>org.onap.aaf.*</include>
201                                         </includes>
202                                 </configuration>
203                                 <executions>
204                                         <execution>
205                                                 <id>pre-unit-test</id>
206                                                 <goals>
207                                                         <goal>prepare-agent</goal>
208                                                 </goals>
209                                                 <configuration>
210                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
211                                                         <!-- <append>true</append> -->
212                                                 </configuration>
213                                         </execution>
214                                         <execution>
215                                                 <id>pre-integration-test</id>
216                                                 <phase>pre-integration-test</phase>
217                                                 <goals>
218                                                         <goal>prepare-agent</goal>
219                                                 </goals>
220                                                 <configuration>
221                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
222                                                         <!-- <append>true</append> -->
223                                                 </configuration>
224                                         </execution>
225                                         <execution>
226                         <goals>
227                             <goal>merge</goal>
228                         </goals>
229                         <phase>post-integration-test</phase>
230                         <configuration>
231                             <fileSets>
232                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
233                                     <directory>${project.build.directory}/coverage-reports</directory>
234                                     <includes>
235                                         <include>*.exec</include>
236                                     </includes>
237                                 </fileSet>
238                             </fileSets>
239                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
240                         </configuration>
241                     </execution>
242                                 </executions>
243                         </plugin>
244                         
245         
246                 
247                 </plugins>
248                 <pluginManagement>
249                         <plugins/>
250                 </pluginManagement>
251         </build>
252
253 </project>