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