Hello,

I'm using the assembly plugin to include the repository of project
arttifacts with transitive dependencies into an archive.

http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-repositories.html

The project is setup to create sources. test and javadoc jar files for some
modules (that mvn install would include). However, those won't be included
with repositories in the assembly descriptor:

   <repositories>
    <repository>
      <includeMetadata>true</includeMetadata>
      <outputDirectory>maven2</outputDirectory>
    </repository>
  </repositories>

I can add dependencies to the pom with classifier "sources" etc. But this
now requires extra entries per artifact while otherwise transitive
dependencies would pull everything needed. Is there a better solution to
this?

Thanks!

Reply via email to