Skip to content
Permalink
Browse files
(#25) Add profile to create shaded source-jars
  • Loading branch information
zentol committed Oct 23, 2017
1 parent c696129 commit 4c324d398172a861fde16825b8262ed0b16c61ec
Showing 2 changed files with 28 additions and 0 deletions.
@@ -27,6 +27,12 @@ The shaded dependencies contained here do not expose any transitive dependencies

When using these dependencies it is recommended to work directly against the shaded namespaces.

## Sources

We currently do not release jars containing the shaded sources due to the unanswered legal questions raised [here](https://github.com/apache/flink-shaded/issues/25).

However, it is possible to build these jars locally by cloning the repository and calling `mvn package -Dshade-sources`.

## About

Apache Flink is an open source project of [The Apache Software Foundation](https://apache.org/) (ASF).
22 pom.xml
@@ -80,6 +80,28 @@ under the License.
</plugins>
</build>
</profile>
<profile>
<id>shade-sources</id>
<activation>
<property>
<name>shade-sources</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration combine.children="append">
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>

<build>

0 comments on commit 4c324d3

Please sign in to comment.