jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Artifact Plugin
  • MPARTIFACT-54

NoSuchMethodError when doing jar:install

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6
  • Labels:
    None

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

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1625 Maven 1.1-b1: NoSuchMethodError: Dependency.setProperties()

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1670 jar:install throws (model related) error

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Arnaud Heritier added a comment - 17/Jun/05 8:33 AM

Same problem

Show
Arnaud Heritier added a comment - 17/Jun/05 8:33 AM Same problem
Hide
Permalink
Rafal Krzewski added a comment - 07/Jul/05 6:09 AM

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.

Show
Rafal Krzewski added a comment - 07/Jul/05 6:09 AM 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.
Hide
Permalink
Brett Porter added a comment - 29/Jul/05 2:51 AM

cleaned up and made it Maven 1.1 only

Show
Brett Porter added a comment - 29/Jul/05 2:51 AM cleaned up and made it Maven 1.1 only

People

  • Assignee:
    Brett Porter
    Reporter:
    Archimedes Trajano
Vote (0)
Watch (0)

Dates

  • Created:
    16/Jun/05 4:25 PM
    Updated:
    23/Aug/05 2:36 AM
    Resolved:
    29/Jul/05 2:51 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.