You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rafal Krzewski (JIRA)" <ji...@codehaus.org> on 2005/07/07 13:10:14 UTC

[jira] Commented: (MPARTIFACT-54) NoSuchMethodError when doing jar:install

    [ http://jira.codehaus.org/browse/MPARTIFACT-54?page=comments#action_42534 ] 

Rafal Krzewski commented on MPARTIFACT-54:
------------------------------------------

1.5.2 build is definetely hosed. It was compiled against org.apache.maven.project.Dependency class that had method setProperties(java.util.List), but none of the sources I found in the repo have it (I checked maven-1.0, maven-.1.0.1, maven-1.0.2, and maven-model-3.0.0). Dependency @ maven-1.0.x does not have setProperties(..) method at all, Dependency @ maven-model-3.0.0 has setDependency(java.util.Properties) method. Looks like setProperties(java.util.List) came from some developers' uncommited local changes...

Checking out the sources tagged as 1.5.2 and recompiling/reinstalling them localy under maven-1.1-beta-1 fixed the problem for me.

> NoSuchMethodError when doing jar:install
> ----------------------------------------
>
>          Key: MPARTIFACT-54
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-54
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Archimedes Trajano
>      Fix For: 1.5.2

>
>
> java.lang.NoSuchMethodError: org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.java:124)
> when doing jar:install

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org