You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Archimedes Trajano (JIRA)" <ji...@codehaus.org> on 2005/06/16 23:26:26 UTC

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

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


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

Posted by "Rafal Krzewski (JIRA)" <ji...@codehaus.org>.
    [ 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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-54?page=all ]

Brett Porter updated MPARTIFACT-54:
-----------------------------------

    Description: 
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

  was:
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

    Fix Version:     (was: 1.5.2)
                 1.6
    Environment: 

> 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.6

>
>
> 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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-54?page=all ]
     
Brett Porter closed MPARTIFACT-54:
----------------------------------

     Assign To: Brett Porter
    Resolution: Fixed

cleaned up and made it Maven 1.1 only

> 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
>     Assignee: Brett Porter
>      Fix For: 1.6

>
>
> 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