Skip to content

Commit 7a825ad

Browse files
ddimensiaBrandonArp
authored andcommitted
Added 'bin' tgz artifact. (#65)
* Added 'bin' tgz artifact. * Forgot to revert my disabling of the docker plugin. * Fixed typo
1 parent 5e8cdc1 commit 7a825ad

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,21 @@
231231
</descriptors>
232232
</configuration>
233233
</execution>
234+
<execution>
235+
<id>app-tgz</id>
236+
<phase>package</phase>
237+
<goals>
238+
<goal>single</goal>
239+
</goals>
240+
<configuration>
241+
<appendAssemblyId>true</appendAssemblyId>
242+
<attach>true</attach>
243+
<tarLongFileMode>posix</tarLongFileMode>
244+
<descriptors>
245+
<descriptor>src/main/assembly/bin.xml</descriptor>
246+
</descriptors>
247+
</configuration>
248+
</execution>
234249
</executions>
235250
</plugin>
236251
<plugin>

src/main/assembly/bin.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2017 Dropbox, Inc.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.2.2"
18+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.2.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
20+
<id>bin</id>
21+
<includeBaseDirectory>false</includeBaseDirectory>
22+
<formats>
23+
<format>tgz</format>
24+
</formats>
25+
<fileSets>
26+
<fileSet>
27+
<directory>${project.basedir}/config</directory>
28+
<outputDirectory>config</outputDirectory>
29+
<filtered>true</filtered>
30+
<fileMode>0644</fileMode>
31+
</fileSet>
32+
<fileSet>
33+
<directory>${project.basedir}/target/appassembler/bin</directory>
34+
<outputDirectory>bin</outputDirectory>
35+
<fileMode>0755</fileMode>
36+
<includes>
37+
<include>mad</include>
38+
</includes>
39+
</fileSet>
40+
<fileSet>
41+
<directory>${project.basedir}/target/appassembler/lib</directory>
42+
<outputDirectory>lib</outputDirectory>
43+
<fileMode>0644</fileMode>
44+
</fileSet>
45+
</fileSets>
46+
</assembly>

0 commit comments

Comments
 (0)