20807876dedad504737b6ea7d54a52b331575da0
[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.8-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         <dependencies>
14                 <!-- needs to be first to avoid jar signer implications for servlet api  -->
15                 <dependency>
16                         <groupId>org.eclipse.jetty</groupId>
17                         <artifactId>jetty-webapp</artifactId>
18                         <version>${project.jettyVersion}</version>
19                 </dependency>
20
21                 <dependency>
22                         <groupId>org.onap.aaf.authz</groupId>
23                         <artifactId>aaf-cadi-aaf</artifactId>
24                 </dependency>
25
26         </dependencies>
27         <build>
28                 <plugins>
29                         <plugin>
30                                 <artifactId>maven-assembly-plugin</artifactId>
31                                 <executions>
32                                         <execution>
33                                                 <id>sample</id>
34                                                 <phase>package</phase>
35                                                 <goals>
36                                                         <goal>single</goal>
37                                                 </goals>
38                                                 <configuration>
39                                                         <descriptors>
40                                                                 <descriptor>src/assemble/servlet_sample.xml</descriptor>
41                                                         </descriptors>
42                                                 </configuration>
43                                         </execution>
44                                 </executions>
45                         </plugin>
46                 </plugins>
47                 <pluginManagement>
48                         <plugins>
49                                 <plugin>
50                                         <groupId>org.apache.maven.plugins</groupId>
51                                         <version>2.4</version>
52                                         <artifactId>maven-jar-plugin</artifactId>
53                                         <configuration>
54                                                 <outputDirectory>target</outputDirectory>
55                                                 <archive>
56                                                         <manifestEntries>
57                                                                 <Sealed>true</Sealed>
58                                                         </manifestEntries>
59                                                 </archive>
60                                         </configuration>
61                                 </plugin>
62                                 <plugin>
63                                         <inherited>true</inherited>
64                                         <groupId>org.apache.maven.plugins</groupId>
65                                         <artifactId>maven-compiler-plugin</artifactId>
66                                         <version>3.1</version>
67                                         <configuration>
68                                                 <source>1.7</source>
69                                                 <target>1.7</target>
70                                         </configuration>
71                                 </plugin>
72                         </plugins>
73                 </pluginManagement>
74         </build>
75 </project>