You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Svante Schubert (JIRA)" <ji...@apache.org> on 2015/10/25 21:42:27 UTC

[jira] [Commented] (INFRA-10649) Maven (latest) build failure works with Maven 3.1.1: Could not find local repository for 2.2.1

    [ https://issues.apache.org/jira/browse/INFRA-10649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973435#comment-14973435 ] 

Svante Schubert commented on INFRA-10649:
-----------------------------------------

Although on a different platform (solaris instead of ubuntu) this seems related. 
I stumbled over an old failed installation exception for Maven 2.2.1, see
https://builds.apache.org/job/ODFToolkit/109/console from 12.08.2015 10:09:45

Started by an SCM change
Building remotely on solaris1 (Solaris) in workspace /export/home/hudson/hudson-slave/workspace/ODFToolkit
java.io.IOException: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.zip to /home/jenkins/tools/maven/apache-maven-2.2.1
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:772)
	at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609)
	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:182)
	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:866)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
	at hudson.model.Run.execute(Run.java:1706)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:232)
Caused by: java.io.IOException: Failed to mkdirs: /home/jenkins/tools/maven/apache-maven-2.2.1
	at hudson.FilePath.mkdirs(FilePath.java:1075)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:738)
	... 15 more

> Maven (latest) build failure works with Maven 3.1.1:  Could not find local repository for 2.2.1
> -----------------------------------------------------------------------------------------------
>
>                 Key: INFRA-10649
>                 URL: https://issues.apache.org/jira/browse/INFRA-10649
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>         Environment: not windows (works on Windows)
>            Reporter: Svante Schubert
>
> It fails with Maven (latest), but works with Maven 3.1.1
> The more detailed exception is:
> ERROR: Could not find local repository for 2.2.1
> [FATAL ERROR] hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl#configureComponent(...) caused a linkage error (java.lang.VerifyError) and may be out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-source-plugin:2.1.2]
> ....
> Could not find local repository for 2.2.1
> [INFO] (class: org/apache/commons/codec/binary/Base64OutputStream, method: <init> signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to function
> See full details in
> https://builds.apache.org/job/ODFToolkit/117/consoleText (ubuntu-4)
> https://builds.apache.org/job/ODFToolkit/106/consoleText (ubuntu-3)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)