Dirk Olmes wrote:
> Hi,
>
> we have a complex maven2 build with lots of modules. Some of these
> modules simply produce binary artifacts, e.g. RARs without having any
> code themselves.
>
> How do I disable creating and publishing source jars for these modules?
In the wonderful tradition of answering to one's own emails here is the
solution for the record:
Configure the source plugin not to attach itself to the build like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<!-- Do not publish (empty) source jars -->
<attach>false</attach>
</configuration>
</plugin>
-dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]