Repository: beam Updated Branches: refs/heads/master 930196ac4 -> 4daac6644
Update java8 examples pom files to include maven-shade-plugin. Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/710b4800 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/710b4800 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/710b4800 Branch: refs/heads/master Commit: 710b480044b00c314ded7654d6c7e1fe1cff90f7 Parents: 930196a Author: Ahmet Altay <[email protected]> Authored: Thu Apr 13 17:28:22 2017 -0700 Committer: Ahmet Altay <[email protected]> Committed: Thu Apr 13 18:27:32 2017 -0700 ---------------------------------------------------------------------- examples/java8/pom.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/710b4800/examples/java8/pom.xml ---------------------------------------------------------------------- diff --git a/examples/java8/pom.xml b/examples/java8/pom.xml index 5ea6ca5..912c341 100644 --- a/examples/java8/pom.xml +++ b/examples/java8/pom.xml @@ -155,6 +155,40 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <finalName>${project.artifactId}-bundled-${project.version}</finalName> + <artifactSet> + <includes> + <include>*:*</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>*:*</artifact> + <excludes> + <exclude>META-INF/*.SF</exclude> + <exclude>META-INF/*.DSA</exclude> + <exclude>META-INF/*.RSA</exclude> + </excludes> + </filter> + </filters> + <transformers> + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> + </transformers> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> </plugin>
