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