You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/09/06 06:22:34 UTC

[servicecomb-java-chassis] branch master updated: fix problem of highest-basedir (#2547)

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new e7cb5e6  fix problem of highest-basedir (#2547)
e7cb5e6 is described below

commit e7cb5e651a94ae9922da782a54fd09d3aeb4ff69
Author: david6969xin <86...@users.noreply.github.com>
AuthorDate: Mon Sep 6 14:22:29 2021 +0800

    fix problem of highest-basedir (#2547)
---
 demo/docker-build-config/pom.xml | 8 ++++++--
 demo/pom.xml                     | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/demo/docker-build-config/pom.xml b/demo/docker-build-config/pom.xml
index 3d2fa71..2541fa7 100644
--- a/demo/docker-build-config/pom.xml
+++ b/demo/docker-build-config/pom.xml
@@ -49,7 +49,7 @@
                   </ports>
                   <assembly>
                     <mode>tar</mode>
-                    <descriptor>${root.basedir}/demo/assembly/assembly.xml</descriptor>
+                    <descriptor>${root.basedir}/assembly/assembly.xml</descriptor>
                   </assembly>
                   <entryPoint>
                     <shell>java -Xmx128m $JAVA_OPTS -jar $JAR_PATH</shell>
@@ -75,11 +75,15 @@
             <execution>
               <id>directories</id>
               <goals>
-                <goal>highest-basedir</goal>
+                <goal>directory-of</goal>
               </goals>
               <phase>initialize</phase>
               <configuration>
                 <property>root.basedir</property>
+                <project>
+                  <groupId>org.apache.servicecomb.demo</groupId>
+                  <artifactId>demo-parent</artifactId>
+                </project>
               </configuration>
             </execution>
           </executions>
diff --git a/demo/pom.xml b/demo/pom.xml
index 349be38..d955c62 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -141,7 +141,7 @@
         <plugin>
           <groupId>org.commonjava.maven.plugins</groupId>
           <artifactId>directory-maven-plugin</artifactId>
-          <version>0.1</version>
+          <version>0.3.1</version>
         </plugin>
         <plugin>
           <artifactId>maven-deploy-plugin</artifactId>