Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-989

prepare-with-pom - Cannot add release POM to SCM - API regression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.5.3
    • None
    • None

    Description

      Preparing a prepare-with-pom fails due to the changed SCM API.

      The ScmFileSet constructor needs a base path and a list of relative file paths. The release plugin provides a full qualified path. The SCM concat the full qualified path to the basepath and is not able to locate the file. The path should be relative as described in JavaDoc.

      May the problem arise to some svn scm implementation which interprets the JavaDoc to precise. But hey thats the reason someone writes javadoc. The constructor org.apache.maven.scm.ScmFileSet.ScmFileSet(File, List<File>) should check the restriction and fail fast.

      Attachments

        1. maven-console.log
          290 kB
          Georg Tsakumagos

        Activity

          People

            Unassigned Unassigned
            geo Georg Tsakumagos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: