Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-331

Unable to release XE with maven 2.1.0-M1 and maven-release-plugin 2.0-beta-8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.8 M1
    • None

    Description

      maven-release-plugin 2.0-beta-8 :

      ~/xwiki-trunks/enterprise$ mvn release:prepare -Pci,hsqldb,mysql,pgsql,derby,jetty -Darguments="-Pjetty,hsqldb" -DautoVersionSubmodules=true -DreleaseVersion=1.7-milestone-2 -DdevelopmentVersion=1.7-SNAPSHOT
      [... SNIP ...]
      [INFO] Scanning for projects...
      [INFO] Reactor build order: 
      [INFO]   XWiki Products - Enterprise - Parent POM
      [INFO]   XWiki Products - Enterprise - Wiki
      [INFO]   XWiki Products - Enterprise - Database - Parent POM
      [INFO]   XWiki Products - Enterprise - Database - HSQLDB
      [INFO]   XWiki Products - Enterprise - Database - Derby
      [INFO]   XWiki Products - Enterprise - Database - PGSQL
      [INFO]   XWiki Products - Enterprise - Database - MySQL
      [INFO]   XWiki Products - Enterprise - Web
      [INFO]   XWiki Products - Enterprise - Distribution - Parent POM
      [INFO]   XWiki Products - Enterprise - Distribution - Jetty
      [INFO]   XWiki Products - Enterprise - Distribution - HSQLDB
      [INFO]   XWiki Products - Enterprise - Distribution - Derby
      [INFO]   XWiki Products - Enterprise - Distribution - PGSQL
      [INFO]   XWiki Products - Enterprise - Distribution - MySQL
      [INFO]   XWiki Products - Enterprise - Installers - Generic
      [INFO]   XWiki Products - Enterprise - Installers - Windows
      [INFO]   XWiki Products - Enterprise - Installers - Parent POM
      [INFO]   XWiki Products - Enterprise - Functional Tests
      [INFO]   XWiki Products - Enterprise - Misc. Functional Tests
      [INFO]   XWiki Products - Enterprise - Functional XMLRPC Tests
      [INFO]   XWiki Products - Enterprise - Functional Selenium Tests
      [INFO]   XWiki Products - Enterprise - LDAP Functional Tests
      [INFO] Searching repository for plugin with prefix: 'release'.
      [INFO] ------------------------------------------------------------------------
      [INFO] Building XWiki Products - Enterprise - Parent POM
      [INFO]    task-segment: [release:prepare] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      Downloading: http://maven.xwiki.org/externals/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
      Downloading: http://maven.xwiki.org/releases/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
      Downloading: http://repo1.maven.org/maven2/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
      Downloading: http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-jsr-06.pom
      Downloading: http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-jsr-06.pom
      Downloading: http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-jsr-06.pom
      [INFO] [release:prepare]
      [INFO] Resuming release from phase 'run-preparation-goals'
      [INFO] Executing goals 'clean install'...
      [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
      [INFO] [INFO] Scanning for projects...
      [INFO] [INFO] Reactor build order: 
      [INFO] [INFO]   XWiki Products - Enterprise - Parent POM
      [INFO] [INFO]   XWiki Products - Enterprise - Wiki
      [INFO] [INFO]   XWiki Products - Enterprise - Database - Parent POM
      [INFO] [INFO]   XWiki Products - Enterprise - Database - HSQLDB
      [INFO] [INFO]   XWiki Products - Enterprise - Web
      [INFO] [INFO]   XWiki Products - Enterprise - Distribution - Parent POM
      [INFO] [INFO]   XWiki Products - Enterprise - Distribution - Jetty
      [INFO] [INFO]   XWiki Products - Enterprise - Distribution - HSQLDB
      [INFO] [INFO]   XWiki Products - Enterprise - Installers - Generic
      [INFO] [INFO]   XWiki Products - Enterprise - Installers - Windows
      [INFO] [INFO]   XWiki Products - Enterprise - Installers - Parent POM
      [INFO] [INFO]   XWiki Products - Enterprise - Functional Tests
      [INFO] [INFO]   XWiki Products - Enterprise - Misc. Functional Tests
      [INFO] [INFO]   XWiki Products - Enterprise - Functional XMLRPC Tests
      [INFO] [INFO]   XWiki Products - Enterprise - Functional Selenium Tests
      [INFO] [INFO]   XWiki Products - Enterprise - LDAP Functional Tests
      

      maven-release-plugin 2.0-beta-7 :

       
      ~/xwiki-trunks/enterprise$ mvn release:prepare -Pci,hsqldb,mysql,pgsql,derby,jetty -Darguments="-Pjetty,hsqldb" 
      [... SNIP ...]
      [INFO] [release:prepare]
      [INFO] Resuming release from phase 'run-preparation-goals'
      [INFO] Executing goals 'clean install'...
      [INFO] Executing: mvn clean install --no-plugin-updates -Pjetty,hsqldb -P ci,jetty
      [INFO] Scanning for projects...
              [INFO] Reactor build order: 
              [INFO]   XWiki Products - Enterprise - Parent POM
              [INFO]   XWiki Products - Enterprise - Wiki
              [INFO]   XWiki Products - Enterprise - Database - Parent POM
              [INFO]   XWiki Products - Enterprise - Database - HSQLDB
              [INFO]   XWiki Products - Enterprise - Web
              [INFO]   XWiki Products - Enterprise - Distribution - Parent POM
              [INFO]   XWiki Products - Enterprise - Distribution - Jetty
              [INFO]   XWiki Products - Enterprise - Distribution - HSQLDB
              [INFO] ------------------------------------------------------------------------
      

      The issue is that arguments passed with "-Darguments" are ignored in version 2.0 beta 8

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              jvdrean Jean-Vincent Drean
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: