[ http://jira.codehaus.org/browse/MASSEMBLY-4?page=all ]

Jason van Zyl moved MNG-1680 to MASSEMBLY-4:
--------------------------------------------

        Version:     (was: 2.0)
    Fix Version:     (was: 2.0.1)
      Component:     (was: documentation - guides)
                     (was: maven-assembly-plugin)
       Workflow: jira  (was: Maven)
            Key: MASSEMBLY-4  (was: MNG-1680)
        Project: Maven 2.x Assembly Plugin  (was: Maven 2)

> In assembly plugin, specify descriptor on CL via -Dmaven.assembly.descriptor 
> doesn't work
> -----------------------------------------------------------------------------------------
>
>          Key: MASSEMBLY-4
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-4
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>  Environment: OSX 10.4.3, java 1.4.2_09
>     Reporter: Julian Wood
>     Assignee: Vincent Siveton
>     Priority: Minor

>
>
> 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]

Reply via email to