Skip to content

Commit

Permalink
Merge pull request #108 from ppalaga/i107
Browse files Browse the repository at this point in the history
Unnecessary directory in the 0.0.7 zip archive #107
  • Loading branch information
ppalaga authored Oct 19, 2020
2 parents f07b78a + 1b3a13a commit 8505695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion daemon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<goal>provision</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/maven-distro</outputDirectory>
<outputDirectory>${project.build.directory}/maven-distro/mvnd-${project.version}-${os.detected.name}-${os.detected.arch}</outputDirectory>
</configuration>
</execution>
</executions>
Expand Down
8 changes: 4 additions & 4 deletions daemon/src/main/provisio/maven-distro.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
-->
<assembly>

<artifactSet to="mvnd-${project.version}-${os.detected.name}-${os.detected.arch}/mvn">
<artifactSet to="/mvn">
<artifact id="org.apache.maven:apache-maven:tar.gz:bin">
<unpack useRoot="false"
excludes="lib/slf4j*,conf/logging/*,lib/maven-slf4j-provider*,bin/mvn*,lib/jansi-*.jar,lib/jansi-native/*"/>
</artifact>
</artifactSet>

<artifactSet to="mvnd-${project.version}-${os.detected.name}-${os.detected.arch}/mvn/lib/ext">
<artifactSet to="/mvn/lib/ext">
<artifact id="org.jboss.fuse.mvnd:mvnd-daemon:${project.version}">
<exclusion id="org.codehaus.plexus:plexus-classworlds"/>
<exclusion id="*:cdi-api"/>
Expand Down Expand Up @@ -65,15 +65,15 @@
</artifact>
</artifactSet>

<fileSet to="mvnd-${project.version}-${os.detected.name}-${os.detected.arch}">
<fileSet to="/">
<directory path="${basedir}/src/main/distro"/>
<directory path="${basedir}/..">
<include>NOTICE.txt</include>
<include>LICENSE.txt</include>
<include>README.adoc</include>
</directory>
</fileSet>
<fileSet to="mvnd-${project.version}-${os.detected.name}-${os.detected.arch}/bin">
<fileSet to="/bin">
<directory path="${basedir}/../client/target">
<include>mvnd</include>
<include>mvnd.exe</include>
Expand Down

0 comments on commit 8505695

Please sign in to comment.