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