You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Julian Wood (JIRA)" <ji...@codehaus.org> on 2005/11/25 01:24:06 UTC
[jira] Created: (MNG-1680) In assembly plugin, specify descriptor on CL via -Dmaven.assembly.descriptor doesn't work
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1680) In assembly plugin, specify descriptor on CL via -Dmaven.assembly.descriptor doesn't work
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1680?page=all ]
Vincent Siveton closed MNG-1680:
--------------------------------
Resolution: Fixed
The documentation is up to date in SVN:
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin/src/site/apt/howto.apt
We just need to redeploy a new version.
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org