And my bin.xml looks like this:
> <assembly>
>     <id>bin</id>
>     <formats>
>         <format>dir</format>
>     </formats>
>     <includeBaseDirectory>false</includeBaseDirectory>
>     <moduleSets>
>         <moduleSet>
>             <includes>
>                 <include>aardrock.cheetah.cheetah-core</include>
>                 <include>aardrock.cheetah.launcherf</include>
>             </includes>
>             <binaries>
>                 <outputDirectory>plugins/${artifactId}</
> outputDirectory>
>                 <includeDependencies>true</includeDependencies>
>                 <unpack>false</unpack>
>             </binaries>
>         </moduleSet>
>     </moduleSets>
> </assembly>
But this doesn't work, when I do a: "mvn clean package
assembly:directory" I get an error that I don't understand:

> [INFO] [assembly:directory]
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error creating assembly
>
> Embedded error: You must set at least one file.
I've googled for that error, but only one topic shows up. Does anyone
know what the problem could be?

Thanks in advance,

This error is because your assembly is not including any files to create.
I'm having trouble getting the include tag in the assembly descriptor to work.
I think I would have preferred the moduleSet includes to be
<include>
 <groupId/>
 <artifactId/>
</include>
instead of this custom : separated format.
It probably would be nice to see some error message as well.

Maybe I need to look at the code...

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

Reply via email to