Details

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

      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

          Activity

          Hide
          Arnaud Heritier added a comment -

          Same problem

          Show
          Arnaud Heritier added a comment - Same problem
          Hide
          Rafal Krzewski added a comment -

          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 - 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
          Brett Porter added a comment -

          cleaned up and made it Maven 1.1 only

          Show
          Brett Porter added a comment - cleaned up and made it Maven 1.1 only

            People

            • Assignee:
              Brett Porter
              Reporter:
              Archimedes Trajano
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: