diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2019-05-16 10:29:22 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2019-05-16 10:29:31 +0800 |
commit | 5e13a9ae6ec1d144841aa6868915386fa468cf1f (patch) | |
tree | 627d43c0a7aef9c1910e5248dde459cf8f233ebf | |
parent | b480ab8fb04b352b513a274f9fba929c12d84c50 (diff) |
Fixed some vulnerability issues
Change-Id: Ia7be117096e0856cb4761b8f28cdd6b1ed4ba672
Issue-ID: HOLMES-225
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r-- | engine-d-standalone/pom.xml | 48 |
1 files changed, 39 insertions, 9 deletions
diff --git a/engine-d-standalone/pom.xml b/engine-d-standalone/pom.xml index 0cf3869..eadd488 100644 --- a/engine-d-standalone/pom.xml +++ b/engine-d-standalone/pom.xml @@ -17,8 +17,8 @@ --> <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"> <parent> <groupId>org.onap.holmes.engine-management</groupId> <artifactId>holmes-engine-parent</artifactId> @@ -31,8 +31,8 @@ <packaging>pom</packaging> <properties> - <holmes.engine.project.version>${project.version}</holmes.engine.project.version> - <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> + <holmes.engine.project.version>${project.version}</holmes.engine.project.version> + <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> <build.number>${maven.build.timestamp}</build.number> </properties> @@ -60,7 +60,7 @@ <exclude>**/*.bat</exclude> </excludes> </resource> - <resource> + <resource> <directory>../engine-d/src/main/resources</directory> <filtering>false</filtering> </resource> @@ -87,7 +87,7 @@ <exclude>**/*.sh</exclude> </excludes> </resource> - <resource> + <resource> <directory>../engine-d/src/main/resources</directory> <filtering>false</filtering> </resource> @@ -208,15 +208,15 @@ <source> println project.properties['holmes.engine.project.version']; def versionArray; - if ( project.properties['holmes.engine.project.version'] != null ) { + if (project.properties['holmes.engine.project.version'] != null) { versionArray = project.properties['holmes.engine.project.version'].split('-'); } - project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; + project.properties['project.docker.latesttag.version'] = versionArray[0] + "-STAGING-latest"; project.properties['project.docker.latesttag.version.with.timestamp'] = versionArray[0] + "-STAGING-${build.number}"; println 'New Tag for docker:' + - project.properties['project.docker.latesttag.version']; + project.properties['project.docker.latesttag.version']; </source> </configuration> </execution> @@ -282,6 +282,36 @@ <groupId>org.onap.holmes.engine-management</groupId> <artifactId>holmes-engine-d</artifactId> <version>${project.version}</version> + <exclusions> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback</artifactId> + </exclusion> + <exclusion> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-validator</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-http</artifactId> + </exclusion> + <exclusion> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-util</artifactId> + </exclusion> + <exclusion> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + </exclusion> + <exclusion> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> </project> |