Hi,
When I attempt to use the Black Duck Vulnerability Maven Integration in a test Jenkins job, I get StackOverflowErrors (see attached).
The job compiles the java code ok when I turn off the Black Duck integration. This is the first time I have attempted to use the plugin.
Dummy job’s config file attached
Software Used
Jenkins 1.611
JDK 1.8 u05
Maven 3.2.5
Subversion
ERROR: [ERROR] This Wrapper should only be run with a Maven Builder ERROR: [ERROR] Will not run the Black Duck Vulnerability Report plugin
Started by user Jonathan Graham [EnvInject] - Loading node environment variables. Building in workspace E:\Jenkins\jobs\BlackDuckTest\workspace Deleting project workspace... done Cleaning local Directory . Checking out http://xxxxxxxxx/javalibraries/trunk/LDAPAccess at revision '2015-09-10T08:37:32.443 +0100' A Src A Src\LDAPAccess A Src\LDAPAccess\test A Src\LDAPAccess\test\com A Src\LDAPAccess\test\com\almac A Src\LDAPAccess\test\com\almac\ldapaccess A Src\LDAPAccess\test\com\almac\ldapaccess\TestLDAPAuthenticationHelper.java A Src\LDAPAccess\test\com\almac\ldapaccess\TestLDAPUtilityCreateADAMContainers.java A Src\LDAPAccess\test\com\almac\ldapaccess\TestAdamUtility.java A Src\LDAPAccess\test\com\almac\ldapaccess\TestLDAPUlity.java A Src\LDAPAccess\test\com\almac\ldapaccess\TestADAMUtilsCreateContainers.java A Src\LDAPAccess\test\com\almac\ldapaccess\TestUser.java A Src\LDAPAccess\lib AU Src\LDAPAccess\lib\junit.jar AU Src\LDAPAccess\lib\log4j-1.2.15.jar A Src\LDAPAccess\src A Src\LDAPAccess\src\com A Src\LDAPAccess\src\com\almac A Src\LDAPAccess\src\com\almac\ldapaccess A Src\LDAPAccess\src\com\almac\ldapaccess\LDAPAuthenticationHelper.java A Src\LDAPAccess\src\com\almac\ldapaccess\ADAMUser.java A Src\LDAPAccess\src\com\almac\ldapaccess\LDAPAccessException.java A Src\LDAPAccess\src\com\almac\ldapaccess\ADAMUtililty.java A Src\LDAPAccess\src\com\almac\ldapaccess\LDAPUtility.java A Src\LDAPAccess\src\com\almac\ldapaccess\ILDAPUser.java A Src\LDAPAccess\src\com\almac\ldapaccess\BaseUser.java A Src\LDAPAccess\src\com\almac\ldapaccess\TestUser.java A Src\LDAPAccess\LDAPAccessJar.deploy A Src\LDAPAccess\LDAPAccess.jpr A Src\LDAPAccess\deploy AU Src\LDAPAccess\deploy\LDAPAccess.jar A Docs A Docs\readme.txt A pom.xml U . At revision 178 no change for http://xxxxxxxxx/javalibraries/trunk/LDAPAccess since the previous build [INFO] Build Recorder enabled [INFO] Black Duck Vulnerability Report plugin version : 1.1.4 ERROR: [ERROR] Unsupported version of Maven. Maven version: unknown [workspace] $ cmd.exe /C '"mvn.bat -f pom.xml compile clean install -V && exit %%ERRORLEVEL%%"' Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00) Maven home: E:\Maven Java version: 1.6.0_45, vendor: Sun Microsystems Inc. Java home: E:\Program Files (x86)\Java\jdk1.6.0_45\jre Default locale: en_GB, platform encoding: Cp1252 OS name: "windows server 2012", version: "6.2", arch: "amd64", family: "windows"[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building LDAPAccess 1.2.0 [INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ LDAPAccess ---[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory E:\Jenkins\jobs\BlackDuckTest\workspace\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ LDAPAccess ---[INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 8 source files to E:\Jenkins\jobs\BlackDuckTest\workspace\target\classes[WARNING] Note: Some input files use unchecked or unsafe operations. [WARNING] Note: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ LDAPAccess ---[INFO] Deleting E:\Jenkins\jobs\BlackDuckTest\workspace\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ LDAPAccess --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory E:\Jenkins\jobs\BlackDuckTest\workspace\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ LDAPAccess --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 8 source files to E:\Jenkins\jobs\BlackDuckTest\workspace\target\classes [WARNING] Note: Some input files use unchecked or unsafe operations. [WARNING] Note: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ LDAPAccess --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory E:\Jenkins\jobs\BlackDuckTest\workspace\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ LDAPAccess --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ LDAPAccess ---[INFO] No tests to run.[INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ LDAPAccess --- [INFO] Building jar: E:\Jenkins\jobs\BlackDuckTest\workspace\target\LDAPAccess-1.2.0.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ LDAPAccess ---[INFO] Installing E:\Jenkins\jobs\BlackDuckTest\workspace\target\LDAPAccess-1.2.0.jar to C:\Users\build\.m2\repository\almac\javalibraries\LDAPAccess\1.2.0\LDAPAccess-1.2.0.jar [INFO] Installing E:\Jenkins\jobs\BlackDuckTest\workspace\pom.xml to C:\Users\build\.m2\repository\almac\javalibraries\LDAPAccess\1.2.0\LDAPAccess-1.2.0.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.610 s [INFO] Finished at: 2015-09-10T08:38:01+01:00 [INFO] Final Memory: 11M/247M [INFO] ------------------------------------------------------------------------ ERROR: [ERROR] The build-info.json file does not exist at : E:\Jenkins\jobs\BlackDuckTest\workspace\build-info.json Finished: UNSTABLE