From fa476c3dd07ea002cc24d1771a572dd48a4c862f399f88ccb1a8fe48e71359d6 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 22 Sep 2023 15:27:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-plugin-tools?expand=0&rev=46 --- maven-plugin-plugin-bootstrap-resouces.patch | 142 ++++++++----------- 1 file changed, 57 insertions(+), 85 deletions(-) diff --git a/maven-plugin-plugin-bootstrap-resouces.patch b/maven-plugin-plugin-bootstrap-resouces.patch index 3f0d357..32f6c3d 100644 --- a/maven-plugin-plugin-bootstrap-resouces.patch +++ b/maven-plugin-plugin-bootstrap-resouces.patch @@ -1,5 +1,5 @@ --- maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 1970-01-01 01:00:00.000000000 +0100 -+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 2023-09-22 11:45:44.683625545 +0200 ++++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 2023-09-22 17:01:23.758467077 +0200 @@ -0,0 +1,345 @@ + + @@ -347,8 +347,8 @@ + + --- maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 1970-01-01 01:00:00.000000000 +0100 -+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 2023-09-22 11:47:11.690874190 +0200 -@@ -0,0 +1,648 @@ ++++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 2023-09-22 17:02:25.238892040 +0200 +@@ -0,0 +1,618 @@ + + + ${project.name} @@ -780,6 +780,18 @@ + 3.9.0 + + ++ org.apache.maven.wagon ++ wagon-provider-api ++ jar ++ 2.4 ++ ++ ++ org.codehaus.plexus ++ plexus-java ++ jar ++ 1.1.2 ++ ++ + org.apache.httpcomponents + httpclient + jar @@ -804,24 +816,36 @@ + 4.4.16 + + -+ org.apache.maven.wagon -+ wagon-provider-api -+ jar -+ 2.4 -+ -+ -+ org.codehaus.plexus -+ plexus-java -+ jar -+ 1.1.2 -+ -+ + org.apache.maven.plugin-tools + maven-plugin-tools-generators + jar + 3.9.0 + + ++ org.ow2.asm ++ asm ++ jar ++ 9.5 ++ ++ ++ org.ow2.asm ++ asm-commons ++ jar ++ 9.5 ++ ++ ++ org.ow2.asm ++ asm-tree ++ jar ++ 9.5 ++ ++ ++ org.jsoup ++ jsoup ++ jar ++ 1.16.1 ++ ++ + org.apache.maven.reporting + maven-reporting-api + jar @@ -852,36 +876,6 @@ + 2.4 + + -+ org.ow2.asm -+ asm -+ jar -+ 9.5 -+ -+ -+ org.ow2.asm -+ asm-commons -+ jar -+ 9.5 -+ -+ -+ org.ow2.asm -+ asm-tree -+ jar -+ 9.5 -+ -+ -+ org.jsoup -+ jsoup -+ jar -+ 1.16.1 -+ -+ -+ net.sf.jtidy -+ jtidy -+ jar -+ r938 -+ -+ + org.apache.maven.plugin-tools + maven-plugin-tools-java + jar @@ -900,6 +894,18 @@ + 3.9.0 + + ++ org.ow2.asm ++ asm-util ++ jar ++ 9.5 ++ ++ ++ org.ow2.asm ++ asm-analysis ++ jar ++ 9.5 ++ ++ + org.codehaus.plexus + plexus-archiver + jar @@ -930,48 +936,12 @@ + 1.23.0 + + -+ org.ow2.asm -+ asm-util -+ jar -+ 9.5 -+ -+ -+ org.ow2.asm -+ asm-analysis -+ jar -+ 9.5 -+ -+ + org.apache.maven.plugin-tools + maven-plugin-annotations + jar + 3.9.0 + + -+ org.apache.maven.plugin-tools -+ maven-plugin-tools-ant -+ jar -+ 3.9.0 -+ -+ -+ org.apache.maven.plugin-tools -+ maven-plugin-tools-model -+ jar -+ 3.9.0 -+ -+ -+ org.apache.maven.plugin-tools -+ maven-plugin-tools-beanshell -+ jar -+ 3.9.0 -+ -+ -+ org.apache-extras.beanshell -+ bsh -+ jar -+ 2.0b6 -+ -+ + org.codehaus.plexus + plexus-utils + jar @@ -998,8 +968,8 @@ + + --- maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpMojo.java 1970-01-01 01:00:00.000000000 +0100 -+++ maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpMojo.java 2023-09-22 11:43:46.469501488 +0200 -@@ -0,0 +1,446 @@ ++++ maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpMojo.java 2023-09-22 16:49:32.513552812 +0200 +@@ -0,0 +1,448 @@ +package org.apache.maven.plugins.maven_plugin_plugin; + +import org.apache.maven.plugin.AbstractMojo; @@ -1282,7 +1252,9 @@ + append( sb, "Deprecated. " + deprecated.getTextContent(), 3 ); + append( sb, "", 0 ); + } -+ append( sb, parameterDescription, 3 ); ++ if ( isNotEmpty( parameterDescription ) ) { ++ append( sb, parameterDescription, 3 ); ++ } + if ( "true".equals( getValue( parameter, "required" ) ) ) + { + append( sb, "Required: Yes", 3 ); @@ -1433,7 +1405,7 @@ + } + return level; + } -+ ++ + private static String getPropertyFromExpression( String expression ) + { + if ( expression != null && expression.startsWith( "${" ) && expression.endsWith( "}" )