On your dependencySet, add <outputFileNameMapping/> (empty element).
I've fixed this in 2.2-beta-2-SNAPSHOT, but it's still broken in the
latest release (beta-1).
-john
On Jul 31, 2007, at 2:52 PM, Petar Tahchiev wrote:
Eric hi,
thank you for your suggestions, but unfortunatelly it didn't help.
I want to clarify that I am calling the plugin from my pom.xml on the
install phase:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptor>src/assemble/main.xml</descriptor>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Any other suggestions?
Thanks to all that try to help.
2007/7/31, Eric Redmond <[EMAIL PROTECTED]>:
I don't remember "includeBaseDirectory" being a valid element under
"dependencytSet". Try removing it, and re-running the assembly by
first
running clean:
mvn clean assembly:assembly
--
Eric Redmond
http://blog.propellors.net
On 7/30/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote:
Andrew hi,
and thank you for the swift response. As I have listed I have set
<includeBaseDirectory>false</includeBaseDirectory>
so I don't think this is the problem. The A:B and A:C artifacts
doesn't
have
the B.jar and C.jar directories in their archives.
Any other ideas?
2007/7/31, Andrew Boyer <[EMAIL PROTECTED]>:
Check your assembly descriptor for A:B and A:C, make sure you've
set
the
includeBaseDirectory property for them to false.
Andrew
-----Original Message-----
From: Petar Tahchiev [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 5:43 PM
To: Maven Users List
Subject: Assembly plugin includes directories
Hi guys,
I have the following situation: I have configured the assembl
plugin
so
that
it produces an archive that contains
the content of another two archives. My assembly descriptor is
this
one:
<assembly>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<includeBaseDirectory>false</includeBaseDirectory>
<includes>
<include>A:B:jar</include>
<include>A:C:jar</include>
</includes>
<unpack>true</unpack>
<scope>test</scope>
</dependencySet>
</dependencySets>
</assembly>
The problem is that the new archive that is created contains the
original
folders, like:
Archive
|
| B.jar-/contentsOfB
| C.jar-/contentsOfC
So basicaly in the example above I don't want the B.jar and
C.jardirectories in my archive.
Have anyone seen this problem?
Thank you.
--
Regards, Petar!
Karlovo, Bulgaria.
Bulgarian medics in Libya are innocent!
http://www.nestesami.bg/main/index.php
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?
keyid=0x19658550C311061
1
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311
0611
-------------------------------------------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Regards, Petar!
Karlovo, Bulgaria.
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?
keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
--
Regards, Petar!
Karlovo, Bulgaria.
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?
keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john