Skip to content

Commit c2d7593

Browse files
committed
CRASH-208: Provide dedicated "gvm" zip that contains only the standalone distribution
1 parent 10ac07a commit c2d7593

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

distrib/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,18 @@
197197
</descriptors>
198198
</configuration>
199199
</execution>
200+
<execution>
201+
<id>make-gvm</id>
202+
<phase>package</phase>
203+
<goals>
204+
<goal>single</goal>
205+
</goals>
206+
<configuration>
207+
<descriptors>
208+
<descriptor>src/main/assembly/gvm.xml</descriptor>
209+
</descriptors>
210+
</configuration>
211+
</execution>
200212
</executions>
201213
</plugin>
202214
</plugins>

distrib/src/main/assembly/gvm.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!--
2+
~ Copyright (C) 2012 eXo Platform SAS.
3+
~
4+
~ This is free software; you can redistribute it and/or modify it
5+
~ under the terms of the GNU Lesser General Public License as
6+
~ published by the Free Software Foundation; either version 2.1 of
7+
~ the License, or (at your option) any later version.
8+
~
9+
~ This software is distributed in the hope that it will be useful,
10+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
~ Lesser General Public License for more details.
13+
~
14+
~ You should have received a copy of the GNU Lesser General Public
15+
~ License along with this software; if not, write to the Free
16+
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17+
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18+
-->
19+
20+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
23+
<id>gvm</id>
24+
<formats>
25+
<format>zip</format>
26+
</formats>
27+
28+
<baseDirectory>crash-${project.version}</baseDirectory>
29+
30+
<componentDescriptors>
31+
<componentDescriptor>src/main/assembly/distrib.xml</componentDescriptor>
32+
</componentDescriptors>
33+
34+
<dependencySets>
35+
<dependencySet>
36+
<outputDirectory>/</outputDirectory>
37+
<unpack>true</unpack>
38+
<includes>
39+
<include>org.crsh:crsh.shell.packaging:tar.gz</include>
40+
</includes>
41+
</dependencySet>
42+
</dependencySets>
43+
44+
</assembly>

distrib/src/main/assembly/packaging.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<id>packaging</id>
2424
<formats>
2525
<format>tar.gz</format>
26-
<format>zip</format>
2726
</formats>
2827

2928
<baseDirectory>crash-${project.version}</baseDirectory>

0 commit comments

Comments
 (0)