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