summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2019-04-25 15:20:16 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2019-04-25 15:20:16 +0800
commit4a3f55693f0673722cabb6661fb48d9019bf2c20 (patch)
treedf3c0fb656cc0dc146faaa53b10f2ee4d73eb1c4
parentc80b5653aa98b8f9745675a9b60b5b9400aa1d3e (diff)
Fixed some vulnerability issues
Change-Id: Ida0008d6fd5084d4d2bed5428065c86aad32ee99 Issue-ID: HOLMES-217 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r--engine-d/pom.xml40
1 files changed, 32 insertions, 8 deletions
diff --git a/engine-d/pom.xml b/engine-d/pom.xml
index 9b554a5..8b839e8 100644
--- a/engine-d/pom.xml
+++ b/engine-d/pom.xml
@@ -15,8 +15,8 @@
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -31,6 +31,7 @@
<properties>
<drools.version>6.5.0.Final</drools.version>
+ <jetty.version>9.4.17.v20190418</jetty.version>
</properties>
<dependencies>
@@ -85,6 +86,14 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.squareup.okhttp3</groupId>
+ <artifactId>okhttp</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -198,22 +207,36 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
- <version>9.4.11.v20180605</version>
+ <version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
- <version>9.4.17.v20190418</version>
+ <version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
- <version>9.4.11.v20180605</version>
+ <version>${jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ <version>${jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.squareup.okhttp3</groupId>
+ <artifactId>okhttp</artifactId>
+ <version>3.14.1</version>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
@@ -335,9 +358,9 @@
<configuration>
<transformers>
<transformer
- implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+ implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.onap.holmes.engine.EngineDActiveApp
</mainClass>
</transformer>
@@ -387,7 +410,8 @@
<title>API Descriptions for Holmes Engine Management</title>
<version>v1</version>
<description>
- This page shows all the APIs available in the Holmes engine management module.
+ This page shows all the APIs available in the Holmes engine management
+ module.
</description>
<termsOfService>
http://www.github.com/kongchen/swagger-maven-plugin