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

weizhou pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new ea2b5379850 fix tools/build/setnextversion.sh: do not update 
tools/apidoc/pom.xml (#7163)
ea2b5379850 is described below

commit ea2b537985054683bba03324e574c29c716334de
Author: Wei Zhou <[email protected]>
AuthorDate: Mon May 8 13:00:36 2023 +0200

    fix tools/build/setnextversion.sh: do not update tools/apidoc/pom.xml 
(#7163)
    
    Steps to reproduce the issue
    
    (1) on ubuntu server, run "git checkout 4.17.2.0"
    (2) packaging
    cd packaging/
    ./build-deb.sh -b test1
    
    expected result: succeed
    actual result:
    
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR]   The project 
org.apache.cloudstack:cloud-apidoc:4.17.2.0-test1-test1 
(/data/cloudstack/tools/apidoc/pom.xml) has 1 error
    [ERROR]     Non-resolvable parent POM for 
org.apache.cloudstack:cloud-apidoc:4.17.2.0-test1-test1: Could not find 
artifact org.apache.cloudstack:cloud-tools:pom:4.17.2.0-test1-test1 in central 
(https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at 
wrong local POM @ line 25, column 13 -> [Help 2]
---
 tools/build/setnextversion.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/build/setnextversion.sh b/tools/build/setnextversion.sh
index 20b25a414cd..47f5e39f1cb 100755
--- a/tools/build/setnextversion.sh
+++ b/tools/build/setnextversion.sh
@@ -131,7 +131,6 @@ echo "setting new version numbers"
 mvn versions:set -DnewVersion=$version -P vmware -P developer -P systemvm -P 
simulator -Dnoredist versions:commit
 
 perl -pi -e "s/$currentversion/$version/" debian/changelog
-perl -pi -e "s/$currentversion/$version/" tools/apidoc/pom.xml
 perl -pi -e "s/$currentversion/$version/" tools/checkstyle/pom.xml
 perl -pi -e "s/$currentversion/$version/" tools/marvin/setup.py
 

Reply via email to