Skip to content

Commit

Permalink
Merge pull request #4760 from hansva/main
Browse files Browse the repository at this point in the history
disable assemblies and test during release, fixes #4759
  • Loading branch information
hansva authored Jan 13, 2025
2 parents 1cbb1af + e2d0b0d commit 53a1ac2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ we are going to use the `mvn release:prepare` command to prepare the release pro

full command:
----
mvn release:prepare -Papache-release -DautoVersionSubmodules=true -DskipTests=true -DpushChanges=false -Darguments="-DskipTests=true -DpushChanges=false"
mvn release:prepare -Papache-release -DautoVersionSubmodules=true -DskipTests -DpushChanges=false
----

You will get following question:
Expand Down Expand Up @@ -95,7 +95,7 @@ git push origin release/<release_version>
=== Perform the release

----
mvn release:perform -Papache-release -DautoVersionSubmodules=true -Dassemblies=false -DskipTests=true -DpushChanges=false -DautoVersionSubmodules=true -Darguments="-Dassemblies=false -DskipTests=true -DpushChanges=false"
mvn release:perform -Papache-release -DautoVersionSubmodules=true -DskipTests -DpushChanges=false
----

=== Nexus
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>32</version>
<version>33</version>
</parent>

<groupId>org.apache.hop</groupId>
Expand Down Expand Up @@ -254,8 +254,7 @@
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>ReleaseProfile</releaseProfiles>
<arguments>-PReleaseProfile</arguments>
<arguments>-P=-assemblies,-assembly -DskipTests</arguments>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -626,7 +625,7 @@
</dependencyManagement>
</profile>
<profile>
<id>ReleaseProfile</id>
<id>apache-release</id>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit 53a1ac2

Please sign in to comment.