Hi.

Ashley Williams wrote:
> Does anyone know how to use assembly:assembly, in particular what the  
> descriptor is supposed to be? I did hardcode it as a path to my pom  
> from within my pom (that seems wrong) which made the plugin run  
> without errors, but I didn't see any output file.

As far as I could examine the source of the assembly plugin, the
descriptor is a xml file that contains a description of what to
asseble.  The "descriptor" property is a path to such a file and
descriptorId is the id of a descriptor that is known to the assembly
plugin.

Is seems the assembly descriptors currently provided by the assembly plugin
are there:

  
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-assembly-plugin/src/main/resources/assemblies/

I've successfully run assembly:assembly setting descriptorId to one of
the id in the provided assemblies ("bin", "src" or
"jar-with-dependencies").

  m2 assembly:assembly -Dmaven.assembly.descriptorId=bin

Regards,
Daniel Schömer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to