[ https://issues.apache.org/jira/browse/SCB-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400075#comment-16400075 ]
ASF GitHub Bot commented on SCB-404: ------------------------------------ WillemJiang closed pull request #601: [SCB-404] Use different base folder for source/binary package URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/601 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/java-chassis-distribution/src/assembly/bin.xml b/java-chassis-distribution/src/assembly/bin.xml index 9cd89e2b9..cc9093f9d 100644 --- a/java-chassis-distribution/src/assembly/bin.xml +++ b/java-chassis-distribution/src/assembly/bin.xml @@ -17,7 +17,8 @@ <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> @@ -25,7 +26,7 @@ <fileSets> <fileSet> <directory>../samples</directory> - <outputDirectory>apache-servicecomb-incubating-java-chassis-distribution-${project.version}/samples</outputDirectory> + <outputDirectory>samples</outputDirectory> <excludes> <exclude>**/*.iml</exclude> <exclude>**/eclipse-classes/**</exclude> @@ -41,7 +42,7 @@ </fileSet> <fileSet> <directory>../</directory> - <outputDirectory>apache-servicecomb-incubating-java-chassis-distribution-${project.version}</outputDirectory> + <outputDirectory>/</outputDirectory> <includes> <include>DISCLAIMER</include> <include>README.md</include> @@ -49,7 +50,7 @@ </fileSet> <fileSet> <directory>src/release</directory> - <outputDirectory>apache-servicecomb-incubating-java-chassis-distribution-${project.version}</outputDirectory> + <outputDirectory>/</outputDirectory> <includes> <include>NOTICE</include> <include>LICENSE</include> @@ -61,7 +62,7 @@ <dependencySet> <useProjectArtifact>true</useProjectArtifact> <unpack>false</unpack> - <outputDirectory>apache-servicecomb-incubating-java-chassis-distribution-${project.version}/libs</outputDirectory> + <outputDirectory>/libs</outputDirectory> <scope>runtime</scope> </dependencySet> </dependencySets> diff --git a/java-chassis-distribution/src/assembly/src.xml b/java-chassis-distribution/src/assembly/src.xml index 522c75be3..a8b9f05c5 100644 --- a/java-chassis-distribution/src/assembly/src.xml +++ b/java-chassis-distribution/src/assembly/src.xml @@ -18,6 +18,8 @@ <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"> <id>src</id> + <includeBaseDirectory>true</includeBaseDirectory> + <baseDirectory>${project.build.finalName}-src</baseDirectory> <formats> <format>zip</format> </formats> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > The base folder name is the same for source and binary release > -------------------------------------------------------------- > > Key: SCB-404 > URL: https://issues.apache.org/jira/browse/SCB-404 > Project: Apache ServiceComb > Issue Type: Bug > Components: Java-Chassis, Saga > Reporter: Yang Bo > Assignee: Yang Bo > Priority: Major > > The unzipped folder name is the same for bin/src package. This will be > inconvenient for end user. -- This message was sent by Atlassian JIRA (v7.6.3#76005)