Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1573

Add shaded classes to source jar whenever maven-shade-plugin is used

    XMLWordPrintable

    Details

      Description

      In some places maven-shade-plugin is used, e.g. here: https://github.com/camunda/camunda-bpm-platform-ee/blob/master/distro/ibmWs8/service/pom.xml

      But in the resulting source jar the shaded classes are not contained - so there is a mismatch between classes.jar and sources.jar.

      I think this should be changed. Not completly sure - but it should be doable by a shading configurationhttp://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createSourcesJar

      e.g.:

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-shade-plugin</artifactId>
      <configuration>
      <createSourcesJar>true</createSourcesJar>
      </configuration>
      </plugin>

        Attachments

          Activity

            People

            Assignee:
            lipphardt Christian Lipphardt
            Reporter:
            ruecker Bernd Rücker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: