Hello World Archetype on Windows failing mvn verify

108 views
Skip to first unread message

Sean Dukehart

unread,
Jul 3, 2018, 11:34:09 AM7/3/18
to Jenkins Developers
Maven Version: 3.3.9 (but have also tried newer versions)
JDK Version: 1.8.0_152 normalized as: 1.8.0-152
OS Info: Arch: amd64 Family: windows Name: windows 10 Version: 10.0

I'm trying to run something about as simple as it gets. As per https://jenkins.io/doc/developer/tutorial/create, I'm attempting to create a hello world plugin via:

$ mvn -U archetype:generate -Dfilter=io.jenkins.archetypes:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: remote -> io.jenkins.archetypes:hello-world-plugin (Skeleton of a Jenkins plugin with a POM and an example build step.)
2: remote -> io.jenkins.archetypes:empty-plugin (Skeleton of a Jenkins plugin with a POM and an empty source tree.)
3: remote -> io.jenkins.archetypes:global-configuration-plugin (Skeleton of a Jenkins plugin with a POM and an example piece of global configuration.)
4: remote -> io.jenkins.archetypes:scripted-pipeline (Uses the Jenkins Pipeline Unit mock library to test the logic inside a Pipeline script.)
5: remote -> io.jenkins.archetypes:global-shared-library (Uses the Jenkins Pipeline Unit mock library to test the usage of a Global Shared Library)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose io.jenkins.archetypes:hello-world-plugin version:
1: 1.1
2: 1.2
3: 1.3
4: 1.4
Choose a number: 4: 4
[INFO] Using property: groupId = unused
Define value for property 'artifactId': demo
Define value for property 'version' 1.0-SNAPSHOT: :
[INFO] Using property: package = io.jenkins.plugins.sample
Confirm properties configuration:
groupId
: unused
artifactId
: demo
version
: 1.0-SNAPSHOT
package: io.jenkins.plugins.sample
 Y
: : y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: hello-world-plugin:1.4
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: unused
[INFO] Parameter: artifactId, Value: demo
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: io.jenkins.plugins.sample
[INFO] Parameter: packageInPathFormat, Value: io/jenkins/plugins/sample
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: io.jenkins.plugins.sample
[INFO] Parameter: groupId, Value: unused
[INFO] Parameter: artifactId, Value: demo
[INFO] Project created from Archetype in dir: C:\Users\USER_PIN\workspaces\demo
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2018-07-03T09:41:04-04:00
[INFO] Final Memory: 13M/123M
[INFO] ------------------------------------------------------------------------


This works fine. However, when trying to run the next step, I get Maven errors. Another developer at my organization has tried the exact same procedure with the same results.


$ mvn verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TODO Plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:2.2:validate (default-validate) @ demo ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:display-info (display-info) @ demo ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 1.8.0_152 normalized as: 1.8.0-152
[INFO] OS Info: Arch: amd64 Family: windows Name: windows 10 Version: 10.0
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (display-info) @ demo ---
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO] Ignoring requireUpperBoundDeps in com.google.code.findbugs:jsr305
[INFO]
[INFO] --- maven-localizer-plugin:1.24:generate (default) @ demo ---
[INFO]
[INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default) > generate-sources @ demo >>>
[INFO]
[INFO] --- maven-hpi-plugin:2.2:validate (default-validate) @ demo ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:display-info (display-info) @ demo ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 1.8.0_152 normalized as: 1.8.0-152
[INFO] OS Info: Arch: amd64 Family: windows Name: windows 10 Version: 10.0
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (display-info) @ demo ---
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO] Ignoring requireUpperBoundDeps in com.google.code.findbugs:jsr305
[INFO]
[INFO] --- maven-localizer-plugin:1.24:generate (default) @ demo ---
[INFO]
[INFO] <<< maven-javadoc-plugin:2.10.4:javadoc (default) < generate-sources @ demo <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.4:javadoc (default) @ demo ---
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - Error fetching URL: http://javadoc.jenkins.io/
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\Users\USER_PIN\workspaces\demo-plugin\target\classes
[INFO]
[INFO] --- access-modifier-checker:1.8:enforce (default-enforce) @ demo ---
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.15:check (check) @ demo ---
[INFO] Resolved signature org.codehaus.mojo.signature:java17 version as 1.0 from dependencyManagement
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO]
[INFO] --- maven-hpi-plugin:2.2:insert-test (default-insert-test) @ demo ---
[INFO]
[INFO] --- gmaven-plugin:1.5-jenkins-3:generateTestStubs (test-in-groovy) @ demo ---
[INFO] No sources found for Java stub generation
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\USER_PIN\workspaces\demo-plugin\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\Users\USER_PIN\workspaces\demo-plugin\target\test-classes
[INFO]
[INFO] --- maven-hpi-plugin:2.2:test-hpl (default-test-hpl) @ demo ---
[INFO] Generating C:\Users\USER_PIN\workspaces\demo-plugin\target\test-classes\the.hpl
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.273 s
[INFO] Finished at: 2018-07-03T09:43:56-04:00
[INFO] Final Memory: 51M/444M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:2.2:test-hpl (default-test-hpl) on project demo: Execution default-test-hpl of goal org.jenkins-ci.tools:maven-hpi-plugin:2.2:test-hpl failed: An API incompatibility was encountered while executing org.jenkins-ci.tools:maven-hpi-plugin:2.2:test-hpl: java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.jar.Manifest.getMainSection()Lorg/codehaus/plexus/archiver/jar/Manifest$Section;
[ERROR] -----------------------------------------------------
[ERROR] realm =    extension>org.jenkins-ci.tools:maven-hpi-plugin:2.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/USER_PIN/.m2/repository/org/jenkins-ci/tools/maven-hpi-plugin/2.2/maven-hpi-plugin-2.2.jar
[ERROR] urls[1] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.1/plexus-utils-3.0.1.jar
[ERROR] urls[2] = file:/C:/Users/USER_PIN/.m2/repository/com/ibm/icu/icu4j/52.1/icu4j-52.1.jar
[ERROR] urls[3] = file:/C:/Users/USER_PIN/.m2/repository/com/sun/codemodel/codemodel/2.6/codemodel-2.6.jar
[ERROR] urls[4] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/stapler/stapler-groovy/1.237/stapler-groovy-1.237.jar
[ERROR] urls[5] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/stapler/stapler-jelly/1.237/stapler-jelly-1.237.jar
[ERROR] urls[6] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/stapler/stapler/1.237/stapler-1.237.jar
[ERROR] urls[7] = file:/C:/Users/USER_PIN/.m2/repository/commons-discovery/commons-discovery/0.4/commons-discovery-0.4.jar
[ERROR] urls[8] = file:/C:/Users/USER_PIN/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[9] = file:/C:/Users/USER_PIN/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
[ERROR] urls[10] = file:/C:/Users/USER_PIN/.m2/repository/org/jvnet/localizer/localizer/1.7/localizer-1.7.jar
[ERROR] urls[11] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/stapler/json-lib/2.4-jenkins-2/json-lib-2.4-jenkins-2.jar
[ERROR] urls[12] = file:/C:/Users/USER_PIN/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar
[ERROR] urls[13] = file:/C:/Users/USER_PIN/.m2/repository/org/jvnet/tiger-types/1.3/tiger-types-1.3.jar
[ERROR] urls[14] = file:/C:/Users/USER_PIN/.m2/repository/com/google/guava/guava/14.0/guava-14.0.jar
[ERROR] urls[15] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/asm5/5.0.1/asm5-5.0.1.jar
[ERROR] urls[16] = file:/C:/Users/USER_PIN/.m2/repository/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar
[ERROR] urls[17] = file:/C:/Users/USER_PIN/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[18] = file:/C:/Users/USER_PIN/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar
[ERROR] urls[19] = file:/C:/Users/USER_PIN/.m2/repository/org/jenkins-ci/commons-jelly/1.1-jenkins-20120928/commons-jelly-1.1-jenkins-20120928.jar
[ERROR] urls[20] = file:/C:/Users/USER_PIN/.m2/repository/org/jenkins-ci/commons-jexl/1.1-jenkins-20111212/commons-jexl-1.1-jenkins-20111212.jar
[ERROR] urls[21] = file:/C:/Users/USER_PIN/.m2/repository/org/jenkins-ci/dom4j/dom4j/1.6.1-jenkins-4/dom4j-1.6.1-jenkins-4.jar
[ERROR] urls[22] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/groovy/groovy-all/1.8.3/groovy-all-1.8.3.jar
[ERROR] urls[23] = file:/C:/Users/USER_PIN/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[24] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[ERROR] urls[25] = file:/C:/Users/USER_PIN/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[26] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar
[ERROR] urls[27] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-maven-plugin/9.4.5.v20170502/jetty-maven-plugin-9.4.5.v20170502.jar
[ERROR] urls[28] = file:/C:/Users/USER_PIN/.m2/repository/org/sonatype/aether/aether-util/1.11/aether-util-1.11.jar
[ERROR] urls[29] = file:/C:/Users/USER_PIN/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.1.1/sisu-inject-bean-2.1.1.jar
[ERROR] urls[30] = file:/C:/Users/USER_PIN/.m2/repository/org/sonatype/sisu/sisu-guice/2.9.4/sisu-guice-2.9.4-no_aop.jar
[ERROR] urls[31] = file:/C:/Users/USER_PIN/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[32] = file:/C:/Users/USER_PIN/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[33] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-tools-api/3.4/maven-plugin-tools-api-3.4.jar
[ERROR] urls[34] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-util/9.4.5.v20170502/jetty-util-9.4.5.v20170502.jar
[ERROR] urls[35] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.5.v20170502/jetty-webapp-9.4.5.v20170502.jar
[ERROR] urls[36] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-xml/9.4.5.v20170502/jetty-xml-9.4.5.v20170502.jar
[ERROR] urls[37] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-servlet/9.4.5.v20170502/jetty-servlet-9.4.5.v20170502.jar
[ERROR] urls[38] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-quickstart/9.4.5.v20170502/jetty-quickstart-9.4.5.v20170502.jar
[ERROR] urls[39] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-jaas/9.4.5.v20170502/jetty-jaas-9.4.5.v20170502.jar
[ERROR] urls[40] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-security/9.4.5.v20170502/jetty-security-9.4.5.v20170502.jar
[ERROR] urls[41] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-plus/9.4.5.v20170502/jetty-plus-9.4.5.v20170502.jar
[ERROR] urls[42] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-jndi/9.4.5.v20170502/jetty-jndi-9.4.5.v20170502.jar
[ERROR] urls[43] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-server/9.4.5.v20170502/jetty-server-9.4.5.v20170502.jar
[ERROR] urls[44] = file:/C:/Users/USER_PIN/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar
[ERROR] urls[45] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-http/9.4.5.v20170502/jetty-http-9.4.5.v20170502.jar
[ERROR] urls[46] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-io/9.4.5.v20170502/jetty-io-9.4.5.v20170502.jar
[ERROR] urls[47] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-jmx/9.4.5.v20170502/jetty-jmx-9.4.5.v20170502.jar
[ERROR] urls[48] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-annotations/9.4.5.v20170502/jetty-annotations-9.4.5.v20170502.jar
[ERROR] urls[49] = file:/C:/Users/USER_PIN/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
[ERROR] urls[50] = file:/C:/Users/USER_PIN/.m2/repository/org/ow2/asm/asm/5.1/asm-5.1.jar
[ERROR] urls[51] = file:/C:/Users/USER_PIN/.m2/repository/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
[ERROR] urls[52] = file:/C:/Users/USER_PIN/.m2/repository/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
[ERROR] urls[53] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-server-impl/9.4.5.v20170502/javax-websocket-server-impl-9.4.5.v20170502.jar
[ERROR] urls[54] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-client-impl/9.4.5.v20170502/javax-websocket-client-impl-9.4.5.v20170502.jar
[ERROR] urls[55] = file:/C:/Users/USER_PIN/.m2/repository/javax/websocket/javax.websocket-api/1.0/javax.websocket-api-1.0.jar
[ERROR] urls[56] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/websocket-server/9.4.5.v20170502/websocket-server-9.4.5.v20170502.jar
[ERROR] urls[57] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/websocket-common/9.4.5.v20170502/websocket-common-9.4.5.v20170502.jar
[ERROR] urls[58] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/websocket-api/9.4.5.v20170502/websocket-api-9.4.5.v20170502.jar
[ERROR] urls[59] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/websocket-client/9.4.5.v20170502/websocket-client-9.4.5.v20170502.jar
[ERROR] urls[60] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/jetty-client/9.4.5.v20170502/jetty-client-9.4.5.v20170502.jar
[ERROR] urls[61] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/websocket/websocket-servlet/9.4.5.v20170502/websocket-servlet-9.4.5.v20170502.jar
[ERROR] urls[62] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/apache-jsp/9.4.5.v20170502/apache-jsp-9.4.5.v20170502.jar
[ERROR] urls[63] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.jar
[ERROR] urls[64] = file:/C:/Users/USER_PIN/.m2/repository/org/mortbay/jasper/apache-jsp/8.5.9.1/apache-jsp-8.5.9.1.jar
[ERROR] urls[65] = file:/C:/Users/USER_PIN/.m2/repository/org/mortbay/jasper/apache-el/8.5.9.1/apache-el-8.5.9.1.jar
[ERROR] urls[66] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.jar
[ERROR] urls[67] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/jetty/apache-jstl/9.4.5.v20170502/apache-jstl-9.4.5.v20170502.jar
[ERROR] urls[68] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/taglibs/taglibs-standard-spec/1.2.5/taglibs-standard-spec-1.2.5.jar
[ERROR] urls[69] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/taglibs/taglibs-standard-impl/1.2.5/taglibs-standard-impl-1.2.5.jar
[ERROR] urls[70] = file:/C:/Users/USER_PIN/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar
[ERROR] urls[71] = file:/C:/Users/USER_PIN/.m2/repository/net/java/sezpoz/sezpoz/1.9/sezpoz-1.9.jar
[ERROR] urls[72] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar
[ERROR] urls[73] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[74] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar
[ERROR] urls[75] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
[ERROR] urls[76] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
[ERROR] urls[77] = file:/C:/Users/USER_PIN/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[78] = file:/C:/Users/USER_PIN/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[79] = file:/C:/Users/USER_PIN/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[80] = file:/C:/Users/USER_PIN/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[81] = file:/C:/Users/USER_PIN/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[82] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
[ERROR] urls[83] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
[ERROR] urls[84] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[85] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[86] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[87] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
[ERROR] urls[88] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
[ERROR] urls[89] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
[ERROR] urls[90] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
[ERROR] urls[91] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
[ERROR] urls[92] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.jar
[ERROR] urls[93] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
[ERROR] urls[94] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
[ERROR] urls[95] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
[ERROR] urls[96] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.jar
[ERROR] urls[97] = file:/C:/Users/USER_PIN/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar
[ERROR] urls[98] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
[ERROR] urls[99] = file:/C:/Users/USER_PIN/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[100] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[101] = file:/C:/Users/USER_PIN/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
[ERROR] urls[102] = file:/C:/Users/USER_PIN/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ERROR] urls[103] = file:/C:/Users/USER_PIN/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[ERROR] urls[104] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[105] = file:/C:/Users/USER_PIN/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
[ERROR] urls[106] = file:/C:/Users/USER_PIN/.m2/repository/org/kohsuke/stapler/maven-stapler-plugin/1.16/maven-stapler-plugin-1.16.jar
[ERROR] urls[107] = file:/C:/Users/USER_PIN/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Baptiste Mathus

unread,
Jul 3, 2018, 11:36:10 AM7/3/18
to Jenkins Developers
Wild guessing: do you have M2_HOME defined?

If yes, unset it. And never set it again :).

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/75ba74e4-fe87-42d7-9a20-b8d05c14a0d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean Dukehart

unread,
Jul 3, 2018, 11:53:09 AM7/3/18
to Jenkins Developers
I do have M2_HOME defined. Unfortunately, unsetting it didn't change anything. But thanks for the thoughts!
Reply all
Reply to author
Forward
0 new messages