You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Jesse Glick <je...@oracle.com> on 2012/03/05 17:32:45 UTC
Jenkins Maven build (Ant_BuildFromPOMs) -> InvalidRepositoryException
https://builds.apache.org/job/Ant_BuildFromPOMs/273/console
org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Failed to create release distribution repository for
org.apache.ant:ant-parent:pom:1.9.0-SNAPSHOT
...
Caused by: org.apache.maven.artifact.InvalidRepositoryException: URL missing for repository dummy
at org.apache.maven.repository.legacy.LegacyRepositorySystem.buildArtifactRepository(LegacyRepositorySystem.java:775)
...
Any idea what this means? I cannot reproduce the problem from the command line.
Re: Jenkins Maven build (Ant_BuildFromPOMs) -> InvalidRepositoryException
Posted by Jesse Glick <je...@oracle.com>.
On 03/05/2012 04:42 PM, Olivier Lamy wrote:
> (the workaround is to add a value in<url> in distMngt)
That did the trick, thanks!
Re: Jenkins Maven build (Ant_BuildFromPOMs) -> InvalidRepositoryException
Posted by Olivier Lamy <ol...@apache.org>.
2012/3/5 Jesse Glick <je...@oracle.com>:
> On 03/05/2012 03:48 PM, Olivier Lamy wrote:
>>
>> Disable archiving maven artifacts in maven plugin advanced option.
>
>
> I tried checking "Disable automatic artifact archiving" but this does not
> help. "Use private Maven repository" with strategy = "Local to the
> workspace" does not help either.
ok this need a change in Jenkins code as even archiving disabled
Jenkins try to call a method which generate a NPE if your url is null
(the workaround is to add a value in <url> in distMngt)
>
> By the way, it would be great if the Job Config History plugin were
> installed...
I think it was installed but for performance issue removed.
Re: Jenkins Maven build (Ant_BuildFromPOMs) -> InvalidRepositoryException
Posted by Jesse Glick <je...@oracle.com>.
On 03/05/2012 03:48 PM, Olivier Lamy wrote:
> Disable archiving maven artifacts in maven plugin advanced option.
I tried checking "Disable automatic artifact archiving" but this does not help. "Use private Maven repository" with strategy = "Local to the workspace" does not help either.
By the way, it would be great if the Job Config History plugin were installed...
Re: Jenkins Maven build (Ant_BuildFromPOMs) -> InvalidRepositoryException
Posted by Olivier Lamy <ol...@apache.org>.
2012/3/5 Jesse Glick <je...@oracle.com>:
> https://builds.apache.org/job/Ant_BuildFromPOMs/273/console
>
> org.apache.maven.InternalErrorException: Internal error:
> java.lang.IllegalStateException: Failed to create release distribution
> repository for org.apache.ant:ant-parent:pom:1.9.0-SNAPSHOT
> ...
> Caused by: org.apache.maven.artifact.InvalidRepositoryException: URL missing
> for repository dummy
> at
> org.apache.maven.repository.legacy.LegacyRepositorySystem.buildArtifactRepository(LegacyRepositorySystem.java:775)
> ...
>
> Any idea what this means? I cannot reproduce the problem from the command
> line.
Disable archiving maven artifacts in maven plugin advanced option.
Jenkins calls some maven apis which generate NPE if no url in
distMngt.
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy