You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thibault Kruse (JIRA)" <ji...@codehaus.org> on 2013/06/11 22:34:03 UTC

[jira] (MREACTOR-22) reactor:make invokes mvn with invalid -r option

Thibault Kruse created MREACTOR-22:
--------------------------------------

             Summary: reactor:make invokes mvn with invalid -r option
                 Key: MREACTOR-22
                 URL: https://jira.codehaus.org/browse/MREACTOR-22
             Project: Maven 2.x Reactor Plugin
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Ubuntu Oneiric, Maven 3.0.5 from source, Oracle java 1.6
            Reporter: Thibault Kruse


This happened to me while trying to build a subset of fuse fabric:

{code}
git clone git://github.com/fusesource/fuse.git
cd fuse
mvn reactor:make -Dmake.folders=. -Dmake.artifacts=org.fusesource.fabric:process-manager

...

[INFO] Executing: /bin/sh -c cd /home/kruset/local/ubuntu-amd64/src/fuse && /home/kruset/local/ubuntu-amd64/DIR/apache-maven-3.0.5/bin/mvn -B -N -r -D maven.reactor.includes=process/pom.xml,process/process-launcher/pom.xml,insight/pom.xml,insight/insight-log-core/pom.xml,insight/insight-log/pom.xml,fab/pom.xml,common-util/pom.xml,fabric/pom.xml,fabric/fabric-linkedin-zookeeper/pom.xml,fabric/fabric-utils/pom.xml,fabric/fabric-zookeeper/pom.xml,fabric/fabric-scala/pom.xml,fabric/fabric-core/pom.xml,fabric/fabric-maven-proxy/pom.xml,fab/fab-core/pom.xml,fab/fab-osgi/pom.xml,process/samples/pom.xml,process/samples/process-sample-camel-spring/pom.xml,process/process-manager/pom.xml install
Unable to parse command line options: Unrecognized option: -r

usage: mvn [options] [<goal(s)>] [<phase(s)>]
{code}



Note also that the documentation is inconsistent:
http://maven.apache.org/plugins/maven-reactor-plugin/
The examples show reactor-make called with just one of -Dmake.folders, -Dmake.artifacts, but if I try this, I get:

{code}
mvn reactor:make -Dmake.artifacts=org.fusesource.fabric:process-manager

The parameters 'folderList' for goal org.apache.maven.plugins:maven-reactor-plugin:1.0:make are missing or invalid
{code}


{code}
mvn reactor:make -Dmake.folders=fabric

The parameters 'artifactList' for goal org.apache.maven.plugins:maven-reactor-plugin:1.0:make are missing or invalid {code}

Need a separate issue for that?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira