On 31 May, 2006, at 13:34 , Wim Deblauwe wrote:
Have you looked at the assembly plugin?
That is exactly what I need :)  

I now got this in my pom.xml (in project/build/plugins):
          <plugin>
              <artifactId>maven-assembly-plugin</artifactId>
              <configuration>
                  <descriptors>
<descriptor>src/main/assembly/bin.xml</ descriptor>
                  </descriptors>
              </configuration>
          </plugin>
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,

-chris



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

Reply via email to