Upgrade jetty to 9.3.24 security
[policy/drools-pdp.git] / policy-management / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine - Drools PDP
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20   -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24   <modelVersion>4.0.0</modelVersion>
25
26   <parent>
27     <groupId>org.onap.policy.drools-pdp</groupId>
28     <artifactId>drools-pdp</artifactId>
29     <version>1.3.0-SNAPSHOT</version>
30   </parent>
31
32   <artifactId>policy-management</artifactId>
33
34   <name>policy-management</name>
35   <description>Policy Management</description>
36
37   <properties>
38           <gson.version>2.8.0</gson.version>
39   </properties>
40
41
42   <build>
43     <plugins>
44                         <plugin>
45                                 <artifactId>maven-assembly-plugin</artifactId>
46                                 <version>2.6</version>
47                                 <executions>
48                                         <execution>
49                                                 <id>zipfile</id>
50                                                 <goals>
51                                                         <goal>single</goal>
52                                                 </goals>
53                                                 <phase>package</phase>
54                                                 <configuration>
55                                                         <attach>true</attach>
56                                                         <finalName>${project.artifactId}-${project.version}</finalName>
57                                                         <descriptors>
58                                                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
59                                                         </descriptors>
60                                                         <appendAssemblyId>false</appendAssemblyId>
61                                                 </configuration>
62                                         </execution>
63                                 </executions>
64                         </plugin>
65                         <plugin>
66                                 <groupId>org.apache.maven.plugins</groupId>
67                                 <artifactId>maven-dependency-plugin</artifactId>
68                                 <version>2.8</version>
69                                 <executions>
70                                         <execution>
71                                                 <id>copy-dependencies</id>
72                                                 <goals>
73                                                         <goal>copy-dependencies</goal>
74                                                 </goals>
75                                                 <phase>prepare-package</phase>
76                                                 <configuration>
77                                                         <transitive>false</transitive>
78                                                         <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
79                                                         <overWriteReleases>false</overWriteReleases>
80                                                         <overWriteSnapshots>true</overWriteSnapshots>
81                                                         <overWriteIfNewer>true</overWriteIfNewer>
82                                                         <useRepositoryLayout>false</useRepositoryLayout>
83                                                         <addParentPoms>false</addParentPoms>
84                                                         <copyPom>false</copyPom>
85                                                         <excludeGroupIds>javax.inject</excludeGroupIds>
86                                                         <includeScope>runtime</includeScope>
87                                                 </configuration>
88                                         </execution>
89                                 </executions>
90                         </plugin>
91                         <plugin>
92                                 <artifactId>maven-resources-plugin</artifactId>
93                                 <version>2.6</version>
94                                 <executions>
95                                         <execution>
96                                                 <id>copy-version</id>
97                                                 <goals>
98                                                         <goal>copy-resources</goal>
99                                                 </goals>
100                                                 <phase>validate</phase>
101                                                 <configuration>
102                                                         <outputDirectory>${basedir}/target/versions</outputDirectory>
103                                                         <resources>
104                                                                 <resource>
105                                                                         <directory>src/main/resources/versions</directory>
106                                                                         <includes>
107                                                                                 <include>version.properties</include>
108                                                                         </includes>
109                                                                         <filtering>true</filtering>
110                                                                 </resource>
111                                                         </resources>
112                                                 </configuration>
113                                         </execution>
114                                         <execution>
115                                                 <id>copy-resources</id>
116                                                 <goals>
117                                                         <goal>copy-resources</goal>
118                                                 </goals>
119                                                 <phase>validate</phase>
120                                                 <configuration>
121                                                         <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
122                                                         <resources>
123                                                                 <resource>
124                                                                         <directory>src/main/resources/etc/bvc-extensions</directory>
125                                                                         <includes>
126                                                                                 <include>feature_config_template.cfg</include>
127                                                                                 <include>feature_custom.install</include>
128                                                                         </includes>
129                                                                         <filtering>true</filtering>
130                                                                 </resource>
131                                                         </resources>
132                                                 </configuration>
133                                         </execution>
134                                 </executions>
135                         </plugin>
136     </plugins>
137   </build>
138
139   <dependencies>
140     
141     <dependency>
142       <groupId>org.onap.policy.drools-pdp</groupId>
143       <artifactId>policy-core</artifactId>
144       <version>${project.version}</version>
145     </dependency>
146     
147     <dependency>
148       <groupId>org.onap.policy.drools-pdp</groupId>
149       <artifactId>policy-endpoints</artifactId>
150       <version>${project.version}</version>
151     </dependency>
152
153         <dependency>
154                 <groupId>org.eclipse.jetty</groupId>
155                 <artifactId>jetty-server</artifactId>
156                 <version>${jetty.version}</version>
157         </dependency>
158
159         <dependency>
160                 <groupId>org.eclipse.jetty</groupId>
161                 <artifactId>jetty-servlet</artifactId>
162                 <version>${jetty.version}</version>
163         </dependency>
164                         
165         <dependency>
166                 <groupId>org.glassfish.jersey.core</groupId>
167                 <artifactId>jersey-server</artifactId>
168                 <version>${jersey.version}</version>
169         </dependency>
170         
171         <dependency>
172                 <groupId>org.glassfish.jersey.containers</groupId>
173                 <artifactId>jersey-container-servlet-core</artifactId>
174         </dependency>
175         
176         <dependency>
177         <groupId>org.glassfish.jersey.media</groupId>
178         <artifactId>jersey-media-json-jackson</artifactId>
179         <version>${jersey.version}</version>
180     </dependency>
181     
182         <dependency>
183                 <groupId>org.glassfish.jersey.containers</groupId>
184                 <artifactId>jersey-container-jetty-http</artifactId>
185                 <version>${jersey.version}</version>
186                 <exclusions>
187                         <exclusion>
188                                 <groupId>org.eclipse.jetty</groupId>
189                                 <artifactId>jetty-util</artifactId>
190                         </exclusion>
191                 </exclusions>
192         </dependency>
193         
194         <dependency>
195             <groupId>io.swagger</groupId>
196             <artifactId>swagger-jersey2-jaxrs</artifactId>
197         </dependency>
198         
199         <dependency>
200         <groupId>com.fasterxml.jackson.core</groupId>
201         <artifactId>jackson-databind</artifactId>
202         <version>${jackson.version}</version>
203         </dependency>
204         
205         <dependency>
206           <groupId>com.fasterxml.jackson.datatype</groupId>
207           <artifactId>jackson-datatype-jsr310</artifactId>
208           <version>${jackson.version}</version>
209         </dependency> 
210         
211         <dependency>
212             <groupId>com.fasterxml.jackson.core</groupId>
213             <artifactId>jackson-annotations</artifactId>
214             <version>${jackson.version}</version>
215         </dependency>
216         
217         <dependency>
218         <groupId>com.google.code.gson</groupId>
219         <artifactId>gson</artifactId>
220         <version>${gson.version}</version>
221         </dependency>
222         
223         <dependency>
224           <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
225           <artifactId>gson-javatime-serialisers</artifactId>
226           <version>1.1.1</version>
227         </dependency>
228         
229         <dependency>
230                 <groupId>org.apache.commons</groupId>
231                 <artifactId>commons-collections4</artifactId>
232                 <version>4.1</version>
233         </dependency>
234         
235         <!-- if we don't explicitly specify the version here, we seem to end up
236                  with version 1.4 (as a dependency to drools-core). This version is
237                  not compatible with 'saClientLibrary' version 1.2.1-oss -->
238         <dependency>
239                 <groupId>commons-codec</groupId>
240                 <artifactId>commons-codec</artifactId>
241                 <version>1.9</version>
242         </dependency>
243         
244         <dependency>
245                 <groupId>ch.qos.logback</groupId>
246                 <artifactId>logback-classic</artifactId>
247         </dependency>
248
249         <dependency>
250                 <groupId>junit</groupId>
251                 <artifactId>junit</artifactId>
252                 <scope>test</scope>
253         </dependency>
254         
255         <!--
256                 The following dependencies are for features and drools
257                 applications usage
258          -->
259          
260         <dependency>
261                 <groupId>org.eclipse.persistence</groupId>
262                 <artifactId>eclipselink</artifactId>
263         </dependency>
264         
265         <dependency>
266                 <groupId>org.eclipse.persistence</groupId>
267                 <artifactId>org.eclipse.persistence.jpa</artifactId>
268         </dependency>
269         
270         <dependency>
271             <groupId>org.mariadb.jdbc</groupId>
272             <artifactId>mariadb-java-client</artifactId>
273         </dependency>
274
275         <dependency>
276             <groupId>org.hibernate</groupId>
277             <artifactId>hibernate-core</artifactId>
278         </dependency>
279
280         <dependency>
281             <groupId>org.hibernate.common</groupId>
282             <artifactId>hibernate-commons-annotations</artifactId>
283         </dependency>
284         
285         <dependency>
286             <groupId>commons-io</groupId>
287             <artifactId>commons-io</artifactId>
288         </dependency>
289                         
290   </dependencies>
291
292 </project>