Skip to content

Commit

Permalink
fix: pom.xml to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538
  • Loading branch information
snyk-io[bot] authored Jul 27, 2024
1 parent 89c2263 commit dd2769d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- build-parent properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<buildversion_prefix />
<buildversion_prefix/>

<ant-contrib.version>1.0b3</ant-contrib.version>

Expand Down Expand Up @@ -71,7 +71,7 @@
<jackson.version>2.9.10.8</jackson.version>
<jackson.datatype.version>2.9.10</jackson.datatype.version>
<jackson.databind.version>2.9.10.8</jackson.databind.version>
<jackson.jaxrs.version>2.9.10</jackson.jaxrs.version>
<jackson.jaxrs.version>2.15.0</jackson.jaxrs.version>
<jackson.jsonschema.version>2.9.10</jackson.jsonschema.version>
<jasmine-maven-plugin.version>1.3.1.3</jasmine-maven-plugin.version>
<javassist.version>3.22.0-GA</javassist.version>
Expand Down Expand Up @@ -789,7 +789,7 @@
</goals>
<configuration>
<target>
<echo message="writing target/${project.build.finalName}/${buildversion_prefix}buildversion.txt" />
<echo message="writing target/${project.build.finalName}/${buildversion_prefix}buildversion.txt"/>
<echo file="target/${project.build.finalName}/${buildversion_prefix}buildversion.txt">
<![CDATA[artifactId=${project.artifactId}
version=${project.version}
Expand All @@ -799,8 +799,8 @@
buildTtime=${maven.build.timestamp}
]]>
</echo>
<loadfile property="buildversiontxt" srcFile="target/${project.build.finalName}/${buildversion_prefix}buildversion.txt" />
<echo message="${buildversiontxt}" />
<loadfile property="buildversiontxt" srcFile="target/${project.build.finalName}/${buildversion_prefix}buildversion.txt"/>
<echo message="${buildversiontxt}"/>
<echo file="target/mavenversion.txt">${project.version}</echo>
</target>
</configuration>
Expand Down Expand Up @@ -981,7 +981,7 @@
<requireJavaVersion>
<version>1.8</version>
</requireJavaVersion>
<dependencyConvergence />
<dependencyConvergence/>
</rules>
</configuration>
</execution>
Expand Down Expand Up @@ -1207,25 +1207,25 @@
</goals>
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath"/>
<if>
<available file="${project.build.directory}/classes/fi" />
<available file="${project.build.directory}/classes/fi"/>
<then>
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="maven.plugin.classpath" />
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="maven.plugin.classpath"/>

<property name="findbugsclasspath" refid="maven.plugin.classpath" />
<property name="runtime_classpath" refid="maven.runtime.classpath" />
<property name="compile_classpath" refid="maven.compile.classpath" />
<property name="findbugsclasspath" refid="maven.plugin.classpath"/>
<property name="runtime_classpath" refid="maven.runtime.classpath"/>
<property name="compile_classpath" refid="maven.compile.classpath"/>

<mkdir dir="${project.build.directory}/findbugs" />
<mkdir dir="${project.build.directory}/findbugs"/>
<echo>Using localRepository: ${settings.localRepository}</echo>
<findbugs output="html" outputFile="${project.build.directory}/findbugs/findbugs.html" classpath="${findbugsclasspath}" pluginlist="${settings.localRepository}/net/sourceforge/findbugs/coreplugin/${findbugs.version}/coreplugin-${findbugs.version}.jar" jvmargs="-Xmx256m" reportLevel="medium" effort="default" failOnError="true">
<sourcePath location="${project.basedir}/src/main/java" />
<class location="${project.build.directory}/classes" />
<sourcePath location="${project.basedir}/src/main/java"/>
<class location="${project.build.directory}/classes"/>
<auxClasspath>
<path refid="maven.compile.classpath" />
<path refid="maven.runtime.classpath" />
<path refid="maven.plugin.classpath" />
<path refid="maven.compile.classpath"/>
<path refid="maven.runtime.classpath"/>
<path refid="maven.plugin.classpath"/>
</auxClasspath>
</findbugs>
</then>
Expand Down Expand Up @@ -1370,7 +1370,7 @@
<echo>Deploy: ${project.version} to ${tomcat-host}</echo>

<ant antfile="${project.basedir}\${ant.file}">
<property name="pom.version" value="${project.version}" />
<property name="pom.version" value="${project.version}"/>
</ant>
</target>
</configuration>
Expand Down Expand Up @@ -1412,7 +1412,7 @@
<target>
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${clover.outputDirectory}_old">
<include name="**/**" />
<include name="**/**"/>
</fileset>
</delete>
</target>
Expand Down Expand Up @@ -1457,11 +1457,11 @@
<echo>Clean clover output directory from ${clover.base}.</echo>
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${clover.base}">
<include name="**/**" />
<exclude name="history/**" />
<include name="**/**"/>
<exclude name="history/**"/>
</fileset>
</delete>
<move failonerror="false" file="${clover.outputDirectory}" tofile="${clover.outputDirectory}_old" />
<move failonerror="false" file="${clover.outputDirectory}" tofile="${clover.outputDirectory}_old"/>
</target>
</configuration>
</execution>
Expand Down Expand Up @@ -1561,7 +1561,7 @@
<echo>Remove Scala files from target/clover directory.</echo>
<delete failonerror="false" verbose="true">
<fileset dir="target/clover">
<include name="**/*.scala" />
<include name="**/*.scala"/>
</fileset>
</delete>
</target>
Expand Down

0 comments on commit dd2769d

Please sign in to comment.