This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch fix/WW-5390-assembly in repository https://gitbox.apache.org/repos/asf/struts.git
commit db725518ee82158acb422bee414d0b6fd2bac540 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Sat Apr 6 19:36:14 2024 +0200 WW-5390 Fixes creating assembly and attaching sources when preparing a new release --- pom.xml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 418017057..79824373b 100644 --- a/pom.xml +++ b/pom.xml @@ -296,14 +296,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> + <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.rat</groupId> @@ -358,6 +351,17 @@ <skipRuntimeScope>true</skipRuntimeScope> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.6.0</version> + <configuration> + <skipAssembly>true</skipAssembly> + <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> + <outputDirectory>assembly/out</outputDirectory> + <workDirectory>assembly/work</workDirectory> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> @@ -388,7 +392,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> - <!-- See https://issues.apache.org/jira/browse/MRELEASE-1029 --> <version>3.0.1</version> </plugin> <plugin> @@ -412,10 +415,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId>