In assembly plugin, specify descriptor on CL via -Dmaven.assembly.descriptor
doesn't work
-----------------------------------------------------------------------------------------
Key: MNG-1680
URL: http://jira.codehaus.org/browse/MNG-1680
Project: Maven 2
Type: Bug
Components: maven-assembly-plugin, documentation - guides
Versions: 2.0
Environment: OSX 10.4.3, java 1.4.2_09
Reporter: Julian Wood
Priority: Minor
Fix For: 2.0.1
There seems to be a problem with the descriptor variable needed for specifying
the assembly. Is it maven.assembly.descriptor or just descriptor?
mvn assembly:assembly -Dmaven.assembly.descriptor=src/main/assembly/bin.xml
fails with:
[INFO] [assembly:assembly]
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] You must specify descriptor or descriptorId
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: You must specify descriptor or
descriptorId
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
while:
mvn assembly:assembly -Ddescriptor=src/main/assembly/bin.xml
works fine. So either a bug in the assembly plugin, or a problem with the
mini-guide:
http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
Thanks,
J
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]