Remove Tomcat (Security Issue)
[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.2-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         <properties>
14                 <!--  Jetty Version set by oParent -->
15                 <tomcat.version>8.5.23</tomcat.version>
16           </properties>
17
18         <dependencies>
19                 <!-- needs to be first to avoid jar signer implications for servlet api  -->
20                 <dependency>
21                         <groupId>org.eclipse.jetty</groupId>
22                         <artifactId>jetty-webapp</artifactId>
23                         <version>${project.jettyVersion}</version>
24                 </dependency>
25
26              <!-- Tomcat Embedded has security flaws.  not worth it for a sample
27              <dependency>
28                 <groupId>org.apache.tomcat.embed</groupId>
29                 <artifactId>tomcat-embed-jasper</artifactId>
30                 <version>${tomcat.version}</version>
31              </dependency>
32              -->
33              <dependency>
34                 <groupId>org.apache.tomcat.embed</groupId>
35                 <artifactId>tomcat-embed-core</artifactId>
36                 <version>${tomcat.version}</version>
37             </dependency>
38             <dependency>
39                 <groupId>org.apache.tomcat.embed</groupId>
40                 <artifactId>tomcat-embed-jasper</artifactId>
41                 <version>${tomcat.version}</version>
42             </dependency>
43             <dependency>
44                 <groupId>org.apache.tomcat</groupId>
45                 <artifactId>tomcat-jasper</artifactId>
46                 <version>${tomcat.version}</version>
47             </dependency>
48             <dependency>
49                 <groupId>org.apache.tomcat</groupId>
50                 <artifactId>tomcat-jasper-el</artifactId>
51                 <version>${tomcat.version}</version>
52             </dependency>
53             <dependency>
54                 <groupId>org.apache.tomcat</groupId>
55                 <artifactId>tomcat-jsp-api</artifactId>
56                 <version>${tomcat.version}</version>
57             </dependency>
58
59                 <dependency>
60                         <groupId>org.onap.aaf.authz</groupId>
61                         <artifactId>aaf-cadi-aaf</artifactId>
62                         <version>${project.version}</version>
63                 </dependency>
64
65         </dependencies>
66         <build>
67                 <pluginManagement>
68                         <plugins>
69                                 <plugin>
70                                         <inherited>true</inherited>
71                                         <groupId>org.apache.maven.plugins</groupId>
72                                         <artifactId>maven-compiler-plugin</artifactId>
73                                         <version>3.1</version>
74                                         <configuration>
75                                                 <source>1.7</source>
76                                                 <target>1.7</target>
77                                         </configuration>
78                                 </plugin>
79                                 <plugin>
80                                         <groupId>org.apache.maven.plugins</groupId>
81                                         <version>2.4</version>
82                                         <artifactId>maven-jar-plugin</artifactId>
83                                         <configuration>
84                                                 <outputDirectory>target</outputDirectory>
85                                                 <archive>
86                                                         <manifestEntries>
87                                                                 <Sealed>true</Sealed>
88                                                         </manifestEntries>
89                                                 </archive>
90                                         </configuration>
91                                 </plugin>
92                         </plugins>
93                 </pluginManagement>
94         </build>
95 </project>