Norbert Kalmar created MASSEMBLY-906:
----------------------------------------
Summary: moduleSet doesn't recognize sources identifier
Key: MASSEMBLY-906
URL: https://issues.apache.org/jira/browse/MASSEMBLY-906
Project: Maven Assembly Plugin
Issue Type: Bug
Reporter: Norbert Kalmar
I tried adding the sources jar to a tar.gz tarball. I have a separate module
for assembly. It is built last. Source jars are built for every module.
I tried every possible identifier I could come up with, like:
{code:xml}
<include>org.apache.zookeeper:zookeeper-server:*:*:*</include>
<include>org.apache.zookeeper:zookeeper-server:jar:sources:${project.version}</include>
<include>org.apache.zookeeper:zookeeper-server:jar:*:*</include>
<include>org.apache.zookeeper:zookeeper-server:*:*</include>
{code}
And different combinations of these.
Every time I got the warning:
{code}
The following patterns were never triggered in this artifact inclusion filter:
{code}
The assembly module is dependent on the module that has the source jar.
I also tried adding it to be explicitly depend on the source of the module.
Here is the PR for the whole change if additional information is needed:
https://github.com/apache/zookeeper/pull/828
As a workaround I just used fileset to include the sources jar.
Thanks!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)