From 3f00227d849d3ec56afb78185da832db635a784194982932c248ad254be6f10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:36:12 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main maven-compiler-plugin revision ee51d6e3df58695e57dede79c7f15031 --- .gitattributes | 23 + _multibuild | 3 + ...-compiler-plugin-3.11.0-source-release.zip | 3 + ...-compiler-plugin-bootstrap-resources.patch | 2037 +++++++++++++++++ maven-compiler-plugin-build.xml | 258 +++ maven-compiler-plugin.changes | 117 + maven-compiler-plugin.spec | 143 ++ 7 files changed, 2584 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 maven-compiler-plugin-3.11.0-source-release.zip create mode 100644 maven-compiler-plugin-bootstrap-resources.patch create mode 100644 maven-compiler-plugin-build.xml create mode 100644 maven-compiler-plugin.changes create mode 100644 maven-compiler-plugin.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..93032d2 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + bootstrap + diff --git a/maven-compiler-plugin-3.11.0-source-release.zip b/maven-compiler-plugin-3.11.0-source-release.zip new file mode 100644 index 0000000..642f3c4 --- /dev/null +++ b/maven-compiler-plugin-3.11.0-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c6f131f18c4a4a052caeeb1cfc59a1badcebaf02d1ae635e2d8db8099ff0860 +size 718452 diff --git a/maven-compiler-plugin-bootstrap-resources.patch b/maven-compiler-plugin-bootstrap-resources.patch new file mode 100644 index 0000000..73c3b41 --- /dev/null +++ b/maven-compiler-plugin-bootstrap-resources.patch @@ -0,0 +1,2037 @@ +--- maven-compiler-plugin-3.11.0/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 1970-01-01 01:00:00.000000000 +0100 ++++ maven-compiler-plugin-3.11.0/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 2023-09-13 19:54:42.838328420 +0200 +@@ -0,0 +1,898 @@ ++ ++ ++ ${project.name} ++ ${project.description} ++ ${project.groupId} ++ ${project.artifactId} ++ ${project.version} ++ compiler ++ compiler ++ ++ ++ compile ++ Compiles application sources ++ compile ++ false ++ true ++ false ++ false ++ false ++ true ++ compile ++ org.apache.maven.plugin.compiler.CompilerMojo ++ java ++ per-lookup ++ once-per-session ++ 2.0 ++ true ++ ++ ++ annotationProcessorPaths ++ java.util.List ++ 3.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ annotationProcessors ++ java.lang.String[] ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgs ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgument ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArguments ++ java.util.Map ++ 2.0.1 ++ use {@link #compilerArgs} instead. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerId ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerReuseStrategy ++ java.lang.String ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerVersion ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compileSourceRoots ++ java.util.List ++ true ++ true ++ Compiles application sources ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debug ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application sources ++ ++ ++ debuglevel ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ encoding ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ excludes ++ java.util.Set ++ false ++ true ++ Compiles application sources ++ ++ ++ executable ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnError ++ boolean ++ 2.0.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnWarning ++ boolean ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fileExtensions ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ forceJavacCompilerUse ++ boolean ++ 3.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fork ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ generatedSourcesDirectory ++ java.io.File ++ 2.2 ++ false ++ true ++ Compiles application sources ++ ++ ++ implicit ++ java.lang.String ++ 3.10.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ includes ++ java.util.Set ++ false ++ true ++ Compiles application sources ++ ++ ++ incrementalExcludes ++ java.util.Set ++ 3.11 ++ false ++ true ++ Compiles application sources ++ ++ ++ jdkToolchain ++ java.util.Map ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ maxmem ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ meminitial ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ multiReleaseOutput ++ boolean ++ 3.7.1 ++ false ++ true ++ Compiles application sources ++ ++ ++ optimize ++ boolean ++ This property is a no-op in {@code javac}. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ outputFileName ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ parameters ++ boolean ++ 3.6.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ proc ++ java.lang.String ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ release ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showCompilationChanges ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showDeprecation ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showWarnings ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skipMain ++ boolean ++ false ++ true ++ Compiles application sources ++ ++ ++ skipMultiThreadWarning ++ boolean ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ source ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ staleMillis ++ int ++ false ++ true ++ Compiles application test sources. ++ ++ ++ target ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useIncrementalCompilation ++ boolean ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ verbose ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ ++ ${maven.compiler.compilerId} ++ ${maven.compiler.compilerReuseStrategy} ++ ${maven.compiler.compilerVersion} ++ ++ ${maven.compiler.createMissingPackageInfoClass} ++ ${maven.compiler.debug} ++ ++ ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} ++ ${encoding} ++ ${maven.compiler.executable} ++ ${maven.compiler.failOnError} ++ ${maven.compiler.failOnWarning} ++ ${maven.compiler.forceJavacCompilerUse} ++ ${maven.compiler.fork} ++ ++ ${maven.compiler.implicit} ++ ${maven.compiler.maxmem} ++ ${maven.compiler.meminitial} ++ ${maven.compiler.optimize} ++ ${maven.compiler.parameters} ++ ${maven.compiler.release} ++ ${maven.compiler.showCompilationChanges} ++ ${maven.compiler.showDeprecation} ++ ${maven.compiler.showWarnings} ++ ${maven.main.skip} ++ ${maven.compiler.skipMultiThreadWarning} ++ ${maven.compiler.source} ++ ${lastModGranularityMs} ++ ${maven.compiler.target} ++ ${maven.compiler.useIncrementalCompilation} ++ ${maven.compiler.verbose} ++ ++ ++ ++ help ++ Display help information on maven-compiler-plugin. ++Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. ++ false ++ false ++ false ++ false ++ false ++ true ++ org.apache.maven.plugin.compiler.HelpMojo ++ java ++ per-lookup ++ once-per-session ++ true ++ ++ ++ detail ++ boolean ++ false ++ true ++ Display help information on maven-compiler-plugin. ++Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. ++ ++ ++ goal ++ java.lang.String ++ false ++ true ++ Display help information on maven-compiler-plugin. ++Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. ++ ++ ++ indentSize ++ int ++ false ++ true ++ Display help information on maven-compiler-plugin. ++Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. ++ ++ ++ lineLength ++ int ++ false ++ true ++ Display help information on maven-compiler-plugin. ++Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. ++ ++ ++ ++ ${detail} ++ ${goal} ++ ${indentSize} ++ ${lineLength} ++ ++ ++ ++ testCompile ++ Compiles application test sources. ++ test ++ false ++ true ++ false ++ false ++ false ++ true ++ test-compile ++ org.apache.maven.plugin.compiler.TestCompilerMojo ++ java ++ per-lookup ++ once-per-session ++ 2.0 ++ true ++ ++ ++ annotationProcessorPaths ++ java.util.List ++ 3.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ annotationProcessors ++ java.lang.String[] ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgs ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgument ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArguments ++ java.util.Map ++ 2.0.1 ++ use {@link #compilerArgs} instead. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerId ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerReuseStrategy ++ java.lang.String ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerVersion ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debug ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debuglevel ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ encoding ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ executable ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnError ++ boolean ++ 2.0.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnWarning ++ boolean ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fileExtensions ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ forceJavacCompilerUse ++ boolean ++ 3.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fork ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ generatedTestSourcesDirectory ++ java.io.File ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ implicit ++ java.lang.String ++ 3.10.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ jdkToolchain ++ java.util.Map ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ maxmem ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ meminitial ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ optimize ++ boolean ++ This property is a no-op in {@code javac}. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ outputFileName ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ parameters ++ boolean ++ 3.6.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ proc ++ java.lang.String ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ release ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showCompilationChanges ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showDeprecation ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showWarnings ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skip ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skipMultiThreadWarning ++ boolean ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ source ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ staleMillis ++ int ++ false ++ true ++ Compiles application test sources. ++ ++ ++ target ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testCompilerArgument ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testCompilerArguments ++ java.util.Map ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testExcludes ++ java.util.Set ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testIncludes ++ java.util.Set ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testIncrementalExcludes ++ java.util.Set ++ 3.11 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testRelease ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testSource ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testTarget ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useIncrementalCompilation ++ boolean ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useModulePath ++ boolean ++ 3.11 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ verbose ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ ++ ${maven.compiler.compilerId} ++ ${maven.compiler.compilerReuseStrategy} ++ ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} ++ ${maven.compiler.debug} ++ ++ ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} ++ ${encoding} ++ ${maven.compiler.executable} ++ ${maven.compiler.failOnError} ++ ${maven.compiler.failOnWarning} ++ ${maven.compiler.forceJavacCompilerUse} ++ ${maven.compiler.fork} ++ ++ ${maven.compiler.implicit} ++ ${maven.compiler.maxmem} ++ ${maven.compiler.meminitial} ++ ${maven.compiler.optimize} ++ ${maven.compiler.parameters} ++ ${maven.compiler.release} ++ ${maven.compiler.showCompilationChanges} ++ ${maven.compiler.showDeprecation} ++ ${maven.compiler.showWarnings} ++ ${maven.test.skip} ++ ${maven.compiler.skipMultiThreadWarning} ++ ${maven.compiler.source} ++ ${lastModGranularityMs} ++ ${maven.compiler.target} ++ ${maven.compiler.testRelease} ++ ${maven.compiler.testSource} ++ ${maven.compiler.testTarget} ++ ${maven.compiler.useIncrementalCompilation} ++ ++ ${maven.compiler.verbose} ++ ++ ++ ++ +--- maven-compiler-plugin-3.11.0/src/main/filtered-resources/META-INF/maven/plugin.xml 1970-01-01 01:00:00.000000000 +0100 ++++ maven-compiler-plugin-3.11.0/src/main/filtered-resources/META-INF/maven/plugin.xml 2023-09-13 19:57:10.102691077 +0200 +@@ -0,0 +1,1133 @@ ++ ++ ++ ${project.name} ++ ${project.description} ++ ${project.groupId} ++ ${project.artifactId} ++ ${project.version} ++ compiler ++ false ++ true ++ ++ ++ compile ++ Compiles application sources ++ compile ++ false ++ true ++ false ++ false ++ false ++ true ++ compile ++ org.apache.maven.plugin.compiler.CompilerMojo ++ java ++ per-lookup ++ once-per-session ++ 2.0 ++ true ++ ++ ++ annotationProcessorPaths ++ java.util.List ++ 3.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ annotationProcessors ++ java.lang.String[] ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ basedir ++ java.io.File ++ true ++ false ++ Compiles application test sources. ++ ++ ++ buildDirectory ++ java.io.File ++ true ++ false ++ Compiles application test sources. ++ ++ ++ compilePath ++ java.util.List ++ true ++ false ++ Compiles application sources ++ ++ ++ compileSourceRoots ++ java.util.List ++ true ++ true ++ Compiles application sources ++ ++ ++ compilerArgs ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgument ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArguments ++ java.util.Map ++ 2.0.1 ++ use {@link #compilerArgs} instead. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerId ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerReuseStrategy ++ java.lang.String ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerVersion ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debug ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application sources ++ ++ ++ debuglevel ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ encoding ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ excludes ++ java.util.Set ++ false ++ true ++ Compiles application sources ++ ++ ++ executable ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnError ++ boolean ++ 2.0.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnWarning ++ boolean ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fileExtensions ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ forceJavacCompilerUse ++ boolean ++ 3.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fork ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ generatedSourcesDirectory ++ java.io.File ++ 2.2 ++ false ++ true ++ Compiles application sources ++ ++ ++ implicit ++ java.lang.String ++ 3.10.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ includes ++ java.util.Set ++ false ++ true ++ Compiles application sources ++ ++ ++ incrementalExcludes ++ java.util.Set ++ 3.11 ++ false ++ true ++ Compiles application sources ++ ++ ++ jdkToolchain ++ java.util.Map ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ maxmem ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ meminitial ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ mojoExecution ++ org.apache.maven.plugin.MojoExecution ++ 3.0 needed for storing the status for the incremental build support. ++ true ++ false ++ Compiles application test sources. ++ ++ ++ multiReleaseOutput ++ boolean ++ 3.7.1 ++ false ++ true ++ Compiles application sources ++ ++ ++ optimize ++ boolean ++ This property is a no-op in {@code javac}. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ outputDirectory ++ java.io.File ++ true ++ false ++ Compiles application sources ++ ++ ++ outputFileName ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ parameters ++ boolean ++ 3.6.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ proc ++ java.lang.String ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ project ++ org.apache.maven.project.MavenProject ++ true ++ false ++ Compiles application test sources. ++ ++ ++ projectArtifact ++ org.apache.maven.artifact.Artifact ++ true ++ false ++ Compiles application sources ++ ++ ++ release ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ session ++ org.apache.maven.execution.MavenSession ++ true ++ false ++ Compiles application test sources. ++ ++ ++ showCompilationChanges ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showDeprecation ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showWarnings ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skipMain ++ boolean ++ false ++ true ++ Compiles application sources ++ ++ ++ skipMultiThreadWarning ++ boolean ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ source ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ staleMillis ++ int ++ false ++ true ++ Compiles application test sources. ++ ++ ++ target ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useIncrementalCompilation ++ boolean ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ verbose ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ ++ ++ ++ ++ ++ ${maven.compiler.compilerId} ++ ${maven.compiler.compilerReuseStrategy} ++ ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} ++ ${maven.compiler.debug} ++ ++ ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} ++ ${encoding} ++ ${maven.compiler.executable} ++ ${maven.compiler.failOnError} ++ ${maven.compiler.failOnWarning} ++ ${maven.compiler.forceJavacCompilerUse} ++ ${maven.compiler.fork} ++ ++ ${maven.compiler.implicit} ++ ${maven.compiler.maxmem} ++ ${maven.compiler.meminitial} ++ ++ ${maven.compiler.optimize} ++ ++ ${maven.compiler.parameters} ++ ++ ++ ${maven.compiler.release} ++ ++ ${maven.compiler.showCompilationChanges} ++ ${maven.compiler.showDeprecation} ++ ${maven.compiler.showWarnings} ++ ${maven.main.skip} ++ ${maven.compiler.skipMultiThreadWarning} ++ ${maven.compiler.source} ++ ${lastModGranularityMs} ++ ${maven.compiler.target} ++ ${maven.compiler.useIncrementalCompilation} ++ ${maven.compiler.verbose} ++ ++ ++ ++ org.apache.maven.artifact.handler.manager.ArtifactHandlerManager ++ artifactHandlerManager ++ ++ ++ org.codehaus.plexus.compiler.manager.CompilerManager ++ compilerManager ++ ++ ++ org.eclipse.aether.RepositorySystem ++ repositorySystem ++ ++ ++ org.apache.maven.toolchain.ToolchainManager ++ toolchainManager ++ ++ ++ ++ ++ help ++ Display help information on maven-compiler-plugin.<br> ++Call <code>mvn compiler:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. ++ false ++ false ++ false ++ false ++ false ++ true ++ org.apache.maven.plugin.compiler.HelpMojo ++ java ++ per-lookup ++ once-per-session ++ true ++ ++ ++ detail ++ boolean ++ false ++ true ++ Display help information on maven-compiler-plugin.<br> ++Call <code>mvn compiler:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. ++ ++ ++ goal ++ java.lang.String ++ false ++ true ++ Display help information on maven-compiler-plugin.<br> ++Call <code>mvn compiler:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. ++ ++ ++ indentSize ++ int ++ false ++ true ++ Display help information on maven-compiler-plugin.<br> ++Call <code>mvn compiler:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. ++ ++ ++ lineLength ++ int ++ false ++ true ++ Display help information on maven-compiler-plugin.<br> ++Call <code>mvn compiler:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. ++ ++ ++ ++ ${detail} ++ ${goal} ++ ${indentSize} ++ ${lineLength} ++ ++ ++ ++ testCompile ++ Compiles application test sources. ++ test ++ false ++ true ++ false ++ false ++ false ++ true ++ test-compile ++ org.apache.maven.plugin.compiler.TestCompilerMojo ++ java ++ per-lookup ++ once-per-session ++ 2.0 ++ true ++ ++ ++ annotationProcessorPaths ++ java.util.List ++ 3.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ annotationProcessors ++ java.lang.String[] ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ basedir ++ java.io.File ++ true ++ false ++ Compiles application test sources. ++ ++ ++ buildDirectory ++ java.io.File ++ true ++ false ++ Compiles application test sources. ++ ++ ++ compileSourceRoots ++ java.util.List ++ true ++ false ++ Compiles application test sources. ++ ++ ++ compilerArgs ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArgument ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerArguments ++ java.util.Map ++ 2.0.1 ++ use {@link #compilerArgs} instead. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerId ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerReuseStrategy ++ java.lang.String ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ compilerVersion ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debug ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ debuglevel ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ encoding ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ executable ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnError ++ boolean ++ 2.0.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ failOnWarning ++ boolean ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fileExtensions ++ java.util.List ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ forceJavacCompilerUse ++ boolean ++ 3.0 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ fork ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ generatedTestSourcesDirectory ++ java.io.File ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ implicit ++ java.lang.String ++ 3.10.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ jdkToolchain ++ java.util.Map ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ maxmem ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ meminitial ++ java.lang.String ++ 2.0.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ mojoExecution ++ org.apache.maven.plugin.MojoExecution ++ 3.0 needed for storing the status for the incremental build support. ++ true ++ false ++ Compiles application test sources. ++ ++ ++ optimize ++ boolean ++ This property is a no-op in {@code javac}. ++ false ++ true ++ Compiles application test sources. ++ ++ ++ outputDirectory ++ java.io.File ++ true ++ false ++ Compiles application test sources. ++ ++ ++ outputFileName ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ parameters ++ boolean ++ 3.6.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ proc ++ java.lang.String ++ 2.2 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ project ++ org.apache.maven.project.MavenProject ++ true ++ false ++ Compiles application test sources. ++ ++ ++ release ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ session ++ org.apache.maven.execution.MavenSession ++ true ++ false ++ Compiles application test sources. ++ ++ ++ showCompilationChanges ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showDeprecation ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ showWarnings ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skip ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ skipMultiThreadWarning ++ boolean ++ 2.5 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ source ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ staleMillis ++ int ++ false ++ true ++ Compiles application test sources. ++ ++ ++ target ++ java.lang.String ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testCompilerArgument ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testCompilerArguments ++ java.util.Map ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testExcludes ++ java.util.Set ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testIncludes ++ java.util.Set ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testIncrementalExcludes ++ java.util.Set ++ 3.11 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testPath ++ java.util.List ++ false ++ false ++ Compiles application test sources. ++ ++ ++ testRelease ++ java.lang.String ++ 3.6 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testSource ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ testTarget ++ java.lang.String ++ 2.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useIncrementalCompilation ++ boolean ++ 3.1 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ useModulePath ++ boolean ++ 3.11 ++ false ++ true ++ Compiles application test sources. ++ ++ ++ verbose ++ boolean ++ false ++ true ++ Compiles application test sources. ++ ++ ++ ++ ++ ++ ++ ${maven.compiler.compilerId} ++ ${maven.compiler.compilerReuseStrategy} ++ ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} ++ ${maven.compiler.debug} ++ ++ ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} ++ ${encoding} ++ ${maven.compiler.executable} ++ ${maven.compiler.failOnError} ++ ${maven.compiler.failOnWarning} ++ ${maven.compiler.forceJavacCompilerUse} ++ ${maven.compiler.fork} ++ ++ ${maven.compiler.implicit} ++ ${maven.compiler.maxmem} ++ ${maven.compiler.meminitial} ++ ++ ${maven.compiler.optimize} ++ ++ ${maven.compiler.parameters} ++ ++ ${maven.compiler.release} ++ ++ ${maven.compiler.showCompilationChanges} ++ ${maven.compiler.showDeprecation} ++ ${maven.compiler.showWarnings} ++ ${maven.test.skip} ++ ${maven.compiler.skipMultiThreadWarning} ++ ${maven.compiler.source} ++ ${lastModGranularityMs} ++ ${maven.compiler.target} ++ ++ ${maven.compiler.testRelease} ++ ${maven.compiler.testSource} ++ ${maven.compiler.testTarget} ++ ${maven.compiler.useIncrementalCompilation} ++ ++ ${maven.compiler.verbose} ++ ++ ++ ++ org.apache.maven.artifact.handler.manager.ArtifactHandlerManager ++ artifactHandlerManager ++ ++ ++ org.codehaus.plexus.compiler.manager.CompilerManager ++ compilerManager ++ ++ ++ org.eclipse.aether.RepositorySystem ++ repositorySystem ++ ++ ++ org.apache.maven.toolchain.ToolchainManager ++ toolchainManager ++ ++ ++ ++ ++ ++ ++ org.codehaus.plexus ++ plexus-utils ++ jar ++ 4.0.0 ++ ++ ++ org.codehaus.plexus ++ plexus-component-annotations ++ jar ++ 2.1.0 ++ ++ ++ org.apache.maven.shared ++ maven-shared-utils ++ jar ++ 3.3.4 ++ ++ ++ commons-io ++ commons-io ++ jar ++ 2.6 ++ ++ ++ org.apache.maven.shared ++ maven-shared-incremental ++ jar ++ 1.1 ++ ++ ++ org.codehaus.plexus ++ plexus-java ++ jar ++ 1.1.2 ++ ++ ++ org.ow2.asm ++ asm ++ jar ++ 9.2 ++ ++ ++ com.thoughtworks.qdox ++ qdox ++ jar ++ 2.0.3 ++ ++ ++ org.codehaus.plexus ++ plexus-compiler-api ++ jar ++ 2.13.0 ++ ++ ++ org.codehaus.plexus ++ plexus-compiler-manager ++ jar ++ 2.13.0 ++ ++ ++ org.codehaus.plexus ++ plexus-compiler-javac ++ jar ++ 2.13.0 ++ ++ ++ diff --git a/maven-compiler-plugin-build.xml b/maven-compiler-plugin-build.xml new file mode 100644 index 0000000..172ac6e --- /dev/null +++ b/maven-compiler-plugin-build.xml @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/maven-compiler-plugin.changes b/maven-compiler-plugin.changes new file mode 100644 index 0000000..0292494 --- /dev/null +++ b/maven-compiler-plugin.changes @@ -0,0 +1,117 @@ +------------------------------------------------------------------- +Wed Sep 20 05:09:00 UTC 2023 - Fridrich Strba + +- Upgrade to upstream release 3.11.0 + * New features and improvements + + MCOMPILER-494: Add a useModulePath switch to the testCompile + mojo + + MCOMPILER-395: Allow dependency exclusions for + 'annotationProcessorPaths' + + MCOMPILER-522: Use maven-resolver to resolve + 'annotationProcessorPaths' dependencies + + MCOMPILER-516: upgrade plexus-compiler to improve compiling + message + + MCOMPILER-501: compileSourceRoots parameter should be writable + + MCOMPILER-457: Change showWarnings to true by default + + MCOMPILER-457: Warn about warn-config conflicting values + + MCOMPILER-505: Update default source/target from 1.7 to 1.8 + + MCOMPILER-499: display recompilation causes + + MCOMPILER-500: add some parameter to pattern from stale source + calculation + + MCOMPILER-488: dedicated option for implicit javac flag + * Bug Fixes + + MCOMPILER-525: Incorrect detection of dependency change + + MCOMPILER-523: Test with Maven 3.9.0 and fix the failing IT + + MCOMPILER-503: Resolve all annotation processor dependencies + together + + MCOMPILER-512: Defining maven.compiler.release as empty string + ends with NumberFormatException in testCompileMojo + + MCOMPILER-495: Fixes missing dirs in + createMissingPackageInfoClasses + + MCOMPILER-347: Set Xcludes in config passed to actual compiler +- Modified patch: + * maven-compiler-plugin-bootstrap-resources.patch + + regenerate in cycle by itself + +------------------------------------------------------------------- +Sat Mar 12 09:36:55 UTC 2022 - Fridrich Strba + +- Upgrade to upstream release 3.10.1 + * Removed + + [MCOMPILER-484] - Remove deprecated mojos + * New features and improvements: + + [MCOMPILER-426] - add flag to enable-preview java compiler + feature + + [MCOMPILER-205] - Add a boolean to generate missing + package-info classes by default + + [MCOMPILER-474] - Also check jar files when determining if + dependencies changed + * Bug Fixes: + + [MCOMPILER-346] - workaround to jdk bug: assertion error from + javaxcompiler javax.tools API + + [MCOMPILER-485] - Fixes internal string format in generated + package-info.class + + [MCOMPILER-225] - javac.sh/javac.bat added to archive + + [MCOMPILER-481] - compiler plugin should include static module + for compilation + + [MCOMPILER-470] -parameters doesn't work with --release + + [MCOMPILER-460] - Compiler doesn't show detailed information + with the Maven Toolchains + * Other changes: + + [MCOMPILER-341] Compile module descriptors with + TestCompilerMojo + + [MCOMPILER-349] changed dependency detection + + [MCOMPILER-360] nullpointer exception + + [MCOMPILER-306] Fix compilerArgs example usage + + [MCOMPILER-349] cleanups + + [MCOMPILER-359] Fix for NPE + + [MCOMPILER-475] Shared GitHub Actions +- Removed patches: + * 0001-plexus-languages-1.0.patch + * 0002-MCOMPILER-359-Fix-for-NPE.patch + + not needed with this version + +------------------------------------------------------------------- +Thu Mar 10 11:31:51 UTC 2022 - Fridrich Strba + +- Modified patch: + * 00-plexus-languages-1.0.patch -> 0001-plexus-languages-1.0.patch + + Sync with patch used by Fedora +- Added patch: + * 0002-MCOMPILER-359-Fix-for-NPE.patch + + Fix null pointer exception in tests compilation + +------------------------------------------------------------------- +Fri Nov 29 10:50:57 UTC 2019 - Fridrich Strba + +- Remove all dependencies with scope test, since we are disabling + tests + +------------------------------------------------------------------- +Mon Nov 25 16:53:16 UTC 2019 - Fridrich Strba + +- Update to upstream version 3.8.1 +- Modified patch: + * maven-compiler-plugin-bootstrap-resources.patch + + Regenerate from the non-bootstrap build + +------------------------------------------------------------------- +Thu Nov 21 20:20:18 UTC 2019 - Fridrich Strba + +- Added patch: + * 00-plexus-languages-1.0.patch + + fix build against plexus-java >= 1.0 +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- +Wed Apr 3 09:20:36 UTC 2019 - Fridrich Strba + +- Initial packaging of maven-compiler-plugin 3.8.0 +- Package as a multibuild package in order to allow bootstapping +- Generate and customize ant build.xml file for the bootstrap + version +- Added patch: + * maven-compiler-plugin-bootstrap-resources.patch + + For the bootstrap version, add the pre-generated resources + that need maven-plugin-plugin diff --git a/maven-compiler-plugin.spec b/maven-compiler-plugin.spec new file mode 100644 index 0000000..5a22a86 --- /dev/null +++ b/maven-compiler-plugin.spec @@ -0,0 +1,143 @@ +# +# spec file +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "bootstrap" +%bcond_without bootstrap +%else +%bcond_with bootstrap +%endif +%global base_name maven-compiler-plugin +Version: 3.11.0 +Release: 0 +Summary: Maven Compiler Plugin +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://maven.apache.org/plugins/maven-compiler-plugin +Source0: https://dlcdn.apache.org/maven/plugins/%{base_name}-%{version}-source-release.zip +Source1: %{base_name}-build.xml +Patch0: %{base_name}-bootstrap-resources.patch +BuildRequires: javapackages-local +BuildRequires: maven-lib +BuildRequires: maven-plugin-annotations +BuildRequires: maven-resolver-api +BuildRequires: maven-resolver-util +BuildRequires: maven-shared-incremental +BuildRequires: maven-shared-utils +BuildRequires: objectweb-asm +BuildRequires: plexus-compiler >= 2.13 +BuildRequires: plexus-languages +BuildRequires: unzip +BuildRequires: xmvn-install +BuildRequires: xmvn-resolve +BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) +BuildArch: noarch +%if %{with bootstrap} +Name: %{base_name}-bootstrap +BuildRequires: ant +%else +Name: %{base_name} +BuildRequires: fdupes +BuildRequires: xmvn +BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-jar-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) +BuildRequires: mvn(org.apache.maven.plugins:maven-resources-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-surefire-plugin) +Obsoletes: %{base_name}-bootstrap +#!BuildRequires: maven-compiler-plugin-bootstrap +#!BuildRequires: maven-jar-plugin-bootstrap +#!BuildRequires: maven-javadoc-plugin-bootstrap +#!BuildRequires: maven-plugin-plugin-bootstrap +#!BuildRequires: maven-resources-plugin-bootstrap +#!BuildRequires: maven-surefire-plugin-bootstrap +%endif + +%description +The Compiler Plugin is used to compile the sources of your project. + +%if %{without bootstrap} +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. +%endif + +%prep +%setup -q -n %{base_name}-%{version} +%if %{with bootstrap} +cp %{SOURCE1} build.xml +%patch0 -p1 +%endif + +%pom_remove_dep :::test + +# There is nothing to index and this creates a cycle +%pom_remove_plugin org.eclipse.sisu:sisu-maven-plugin + +%pom_xpath_remove pom:project/pom:parent/pom:relativePath + +%build +%if %{with bootstrap} +mkdir -p lib +build-jar-repository -s lib \ + maven/maven-artifact \ + maven/maven-core \ + maven/maven-model \ + maven/maven-plugin-api \ + maven-plugin-tools/maven-plugin-annotations \ + maven-resolver/maven-resolver-api \ + maven-resolver/maven-resolver-util \ + maven-shared-incremental/maven-shared-incremental \ + maven-shared-utils/maven-shared-utils \ + objectweb-asm/asm-all \ + plexus-compiler/plexus-compiler-api \ + plexus-compiler/plexus-compiler-javac \ + plexus-compiler/plexus-compiler-manager \ + plexus-languages/plexus-java +%{ant} -Dtest.skip=true jar +%else +xmvn --batch-mode --offline \ + -Dmaven.test.skip=true \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=8 \ +%endif + package org.apache.maven.plugins:maven-javadoc-plugin:aggregate +%endif + +%{mvn_artifact} pom.xml target/%{base_name}-%{version}.jar + +%install +%mvn_install +%if %{without bootstrap} +%fdupes -s %{buildroot}%{_javadocdir} +%endif + +%files -f .mfiles +%license LICENSE NOTICE + +%if %{without bootstrap} +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE +%endif + +%changelog