Update to 2.1.11-SNAPSHOT
[aaf/authz.git] / cadi / servlet-sample / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <parent>
4                 <groupId>org.onap.aaf.authz</groupId>
5                 <artifactId>cadiparent</artifactId>
6                 <relativePath>..</relativePath>
7                 <version>2.1.11-SNAPSHOT</version>
8         </parent>
9         <modelVersion>4.0.0</modelVersion>
10         <name>CADI Servlet Sample (Test Only)</name>
11         <artifactId>aaf-cadi-servlet-sample</artifactId>
12         <packaging>jar</packaging>
13         
14         <properties>
15                 <!-- SONAR -->
16                 <sonar.skip>true</sonar.skip>
17                 <jacoco.version>0.7.7.201606060606</jacoco.version>
18                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
19                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
20                 <!-- Default Sonar configuration -->
21                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
22                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
23                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
24                         below -->
25                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
26                 <nexusproxy>https://nexus.onap.org</nexusproxy>
27                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
28                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
29                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
30                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
31                 <project.bouncyCastleVersion>1.60</project.bouncyCastleVersion>
32         </properties>
33         <dependencies>
34                 <!-- needs to be first to avoid jar signer implications for servlet api  -->
35                 <dependency>
36                         <groupId>org.eclipse.jetty</groupId>
37                         <artifactId>jetty-webapp</artifactId>
38                         <version>${project.jettyVersion}</version>
39                 </dependency>
40
41                 <dependency>
42                         <groupId>org.onap.aaf.authz</groupId>
43                         <artifactId>aaf-cadi-aaf</artifactId>
44                 </dependency>
45
46         </dependencies>
47         <build>
48                 <plugins>
49                         <plugin>
50                                 <artifactId>maven-assembly-plugin</artifactId>
51                                 <executions>
52                                         <execution>
53                                                 <id>sample</id>
54                                                 <phase>package</phase>
55                                                 <goals>
56                                                         <goal>single</goal>
57                                                 </goals>
58                                                 <configuration>
59                                                         <descriptors>
60                                                                 <descriptor>src/assemble/servlet_sample.xml</descriptor>
61                                                         </descriptors>
62                                                 </configuration>
63                                         </execution>
64                                 </executions>
65                         </plugin>
66                 </plugins>
67                 <pluginManagement>
68                         <plugins>
69                                 <plugin>
70                                         <groupId>org.apache.maven.plugins</groupId>
71                                         <version>2.4</version>
72                                         <artifactId>maven-jar-plugin</artifactId>
73                                         <configuration>
74                                                 <outputDirectory>target</outputDirectory>
75                                                 <archive>
76                                                         <manifestEntries>
77                                                                 <Sealed>true</Sealed>
78                                                         </manifestEntries>
79                                                 </archive>
80                                         </configuration>
81                                 </plugin>
82                                 <plugin>
83                                         <inherited>true</inherited>
84                                         <groupId>org.apache.maven.plugins</groupId>
85                                         <artifactId>maven-compiler-plugin</artifactId>
86                                         <version>3.1</version>
87                                         <configuration>
88                                                 <source>1.7</source>
89                                                 <target>1.7</target>
90                                         </configuration>
91                                 </plugin>
92                         </plugins>
93                 </pluginManagement>
94         </build>
95 </project>