You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Norbert Kalmar (JIRA)" <ji...@apache.org> on 2019/02/22 13:37:00 UTC

[jira] [Created] (MASSEMBLY-906) moduleSet doesn't recognize sources identifier

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)