Skip to content

Release 8.0 source artifact in Maven Central does not contain the source code #1036

Closed
@clementdenis

Description

@clementdenis

Describe the bug
The source artifact for release 8.0 only contains the sources of a repackaged version of the LMAX Disruptor (in net/logstash/logback/encoder/com/lmax/disruptor).

This is expected given the shade plugin configuration, that only include LMAX Disruption:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>false</createDependencyReducedPom>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>com.lmax:disruptor</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>com.lmax:disruptor</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.lmax.disruptor</pattern>
<shadedPattern>${project.groupId}.encoder.com.lmax.disruptor</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>

Expected behavior
The source artifact should contain the source of this project as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions