Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-906

moduleSet doesn't recognize sources identifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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:

      <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>
      

      And different combinations of these.
      Every time I got the warning:

      The following patterns were never triggered in this artifact inclusion filter:
      

      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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            nkalmar Norbert Kalmár
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: