Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
SCB-404 Use different base folder for source and binary package
Browse files Browse the repository at this point in the history
  • Loading branch information
yangbor authored and WillemJiang committed Mar 15, 2018
1 parent ea65c15 commit 708eec0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 8 additions & 7 deletions saga-distribution/src/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@

<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<includeBaseDirectory>false</includeBaseDirectory>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${project.build.finalName}-bin</baseDirectory>
<id>bin</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>../saga-demo</directory>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}/saga-demo</outputDirectory>
<outputDirectory>/saga-demo</outputDirectory>
<excludes>
<exclude>**/*.iml</exclude>
<exclude>**/eclipse-classes/**</exclude>
Expand All @@ -39,11 +40,11 @@
</fileSet>
<fileSet>
<directory>../docs</directory>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}/docs</outputDirectory>
<outputDirectory>/docs</outputDirectory>
</fileSet>
<fileSet>
<directory>../</directory>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}</outputDirectory>
<outputDirectory>/</outputDirectory>
<includes>

<include>DISCLAIMER</include>
Expand All @@ -54,7 +55,7 @@
<!-- include the NOTICE and LICENSE file from release directory -->
<fileSet>
<directory>src/release</directory>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}</outputDirectory>
<outputDirectory>/</outputDirectory>
<includes>
<include>NOTICE</include>
<include>LICENSE</include>
Expand All @@ -64,7 +65,7 @@
<!-- include alpha server exec into bin directory -->
<fileSet>
<directory>../alpha/alpha-server/target/saga/</directory>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}</outputDirectory>
<outputDirectory>/</outputDirectory>
<includes>
<include>alpha-server-${project.version}-exec.jar</include>
</includes>
Expand All @@ -75,7 +76,7 @@
<dependencySet>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<outputDirectory>apache-servicecomb-incubating-saga-distribution-${project.version}/libs</outputDirectory>
<outputDirectory>/libs</outputDirectory>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
Expand Down
2 changes: 2 additions & 0 deletions saga-distribution/src/assembly/src.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${project.build.finalName}-src</baseDirectory>
<fileSets>
<!-- Binary Files -->
<fileSet>
Expand Down

0 comments on commit 708eec0

Please sign in to comment.