To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit e8558aac authored by John Zhang's avatar John Zhang
Browse files

MD5 update; add dependency to jar

parent da6879cc
......@@ -16,6 +16,9 @@
<property name="bm-src" value="${bm-name}-src-${bm-version}.zip"/>
<property name="jaxen-version" value="1.1.6"/>
<property name="asm-version" value="5.0.4"/>
<property name="commons-io-version" value="2.4"/>
<property name="commons-lang3-version" value="3.4"/>
<property name="jcommander-version" value="1.48"/>
<condition property="mvn-exe" value="mvn.bat">
<os family="windows"/>
......@@ -39,10 +42,10 @@
<!-- set up toolchains.xml for Maven -->
<property name="mvn-toolchains-xml" value="${bm-build-top}/toolchains.xml"/>
<!-- <exec executable="${bm-files}/mvn_toolchain_setup.sh">
<exec executable="${bm-files}/mvn_toolchain_setup.sh">
<arg line="${mvn-toolchains-xml}"/>
</exec> -->
<copy file="/tmp/pmd/toolchains.xml" tofile="${mvn-toolchains-xml}"/>
</exec>
<!-- <copy file="/tmp/pmd/toolchains.xml" tofile="${mvn-toolchains-xml}"/> -->
<!-- execute Maven in build directory -->
<exec dir="${bm-build-top}" executable="mvn">
......@@ -81,7 +84,14 @@
</target>
<target name="libs">
<copy file="${pmd-dist-target}/lib/jaxen-${jaxen-version}.jar" todir="${bm-jars}"/>
<copy file="${pmd-dist-target}/lib/asm-${asm-version}.jar" todir="${bm-jars}"/>
<copy todir="${bm-jars}">
<resources>
<file file="${pmd-dist-target}/lib/jaxen-${jaxen-version}.jar"/>
<file file="${pmd-dist-target}/lib/asm-${asm-version}.jar"/>
<file file="${pmd-dist-target}/lib/commons-io-${commons-io-version}.jar"/>
<file file="${pmd-dist-target}/lib/commons-lang3-${commons-lang3-version}.jar"/>
<file file="${pmd-dist-target}/lib/jcommander-${jcommander-version}.jar"/>
</resources>
</copy>
</target>
</project>
......@@ -23,7 +23,7 @@ if [ ! -e $1 ]; then
<toolchain>
<type>jdk</type>
<provides>
<version>$jver</version>
<version>1.$jver</version>
</provides>
<configuration>
<jdkHome>$JAVA_HOME</jdkHome>
......
benchmark pmd
class org.dacapo.harness.Pmd
thread-model single
jars "pmd-core-5.7.0.jar", "jaxen-1.1.6.jar", "asm-5.0.4.jar", "junit-3.8.1.jar", "xercesImpl.jar", "xml-apis.jar";
jars "pmd-core-5.7.0.jar", "jaxen-1.1.6.jar", "asm-5.0.4.jar", "commons-io-2.4.jar", "commons-lang3-3.4.jar", "jcommander-1.48.jar", "junit-3.8.1.jar", "xercesImpl.jar", "xml-apis.jar";
size xsmall args "@pmd/small.lst","xml","pmd/rulesets/imports.xml","-debug"
output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment