-
-
Save amimimor/9c5e6f04da287667983a to your computer and use it in GitHub Desktop.
Job configuration for maven-assembly-plugin, for usage with Scalding using POM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<assembly | |
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | |
<id>job</id> | |
<formats> | |
<format>jar</format> | |
</formats> | |
<includeBaseDirectory>false</includeBaseDirectory> | |
<dependencySets> | |
<dependencySet> | |
<unpack>true</unpack> | |
<scope>runtime</scope> | |
<outputDirectory>/</outputDirectory> | |
<excludes> | |
<exclude>${artifact.groupId}:${artifact.artifactId}</exclude> | |
</excludes> | |
</dependencySet> | |
<dependencySet> | |
<unpack>true</unpack> | |
<scope>system</scope> | |
<outputDirectory>/</outputDirectory> | |
<excludes> | |
<exclude>${artifact.groupId}:${artifact.artifactId}</exclude> | |
</excludes> | |
</dependencySet> | |
</dependencySets> | |
<fileSets> | |
<fileSet> | |
<directory>${basedir}/target/classes</directory> | |
<outputDirectory>/</outputDirectory> | |
<excludes> | |
<exclude>*.jar</exclude> | |
</excludes> | |
</fileSet> | |
</fileSets> | |
</assembly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment