You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Philipp Paland <pp...@communicode.de> on 2008/11/04 17:14:29 UTC

attachmentClassifier in an assembly

Hi,

I'm using an assembly descriptor containing:

<moduleSet>
  <binaries>
    <attachmentClassifier>module-release</attachmentClassifier>
    <includeDependencies>false</includeDependencies>
    <unpack>true</unpack>
 
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputF
ileNameMapping>
  </binaries>
</moduleSet>

Where module-release is another assembly that is attached to the modules
in an earlier step. This works fine for my
<packaging>jar</packaging>-Modules. 

I also have some <packaging>pom</packaging> modules that contain no code
but a collection of files that are assembled the same way (with my
module-release descriptor). The resulting zip-File is installed /
deployed correctly into my repository but seems not to be covered by the
assembly descriptor above. If I change packaging of the pom-Module to
jar, it works, but I have empty jar-Files in my repository. Is there any
way around that?

Thanks,
Philipp Paland

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org