We have some dependencies that have a secondary artifact with a classifier
called "conf-resources".  The secondary artifact is a zip that contains
binary files that we want to include in an assembly.  We can include the
secondary artifact in the assembly when it is a module with this assmbly
descriptor:

<moduleSet>
   <includes>
      <include>*:smar:*</include>
   </includes>
   <binaries>
      <attachmentClassifier>conf-resources</attachmentClassifier>
      <includeDependencies>true</includeDependencies>
      <unpack>true</unpack>
      <outputFileNameMapping>local</outputFileNameMapping>
   </binaries>
</moduleSet>

However, when the secondary artifact is in attached to a dependency, there
is no <attachmentClassifier> tag inside of <dependencySet>, so we can not
figure out how to structure the assembly descriptor to include it in the
assembly.  We've tried numerous things.  Is it even possible to do this?
-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-secondary-artifacts-of-dependencies-into-an-assembly--tf4741283s177.html#a13558032
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to