Created
May 4, 2017 10:07
-
-
Save jklingsporn/43e6183870f20340ef8fa94309aef2d5 to your computer and use it in GitHub Desktop.
maven assembly to zip a deployable artifact
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
<?xml version="1.0" encoding="utf-8"?> | |
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> | |
<id>release</id> | |
<formats> | |
<format>zip</format> | |
</formats> | |
<fileSets> | |
<fileSet> | |
<directory>target</directory> | |
<includes> | |
<include>${build.finalName}.jar</include> | |
</includes> | |
<outputDirectory>/</outputDirectory> | |
</fileSet> | |
</fileSets> | |
<files> | |
<file> | |
<source>Procfile</source> | |
<fileMode>0700</fileMode> | |
</file> | |
<file> | |
<source>run.sh</source> | |
<fileMode>0700</fileMode> | |
</file> | |
</files> | |
</assembly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment