Accepting request 961205 from Java:packages
3.10.1 OBS-URL: https://build.opensuse.org/request/show/961205 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-compiler-plugin?expand=0&rev=6
This commit is contained in:
commit
7832b02184
@ -1,25 +0,0 @@
|
|||||||
From fd5749e9b8d47cf350527c4831a4ee53cefc60aa Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mat Booth <mat.booth@redhat.com>
|
|
||||||
Date: Mon, 20 Jul 2020 22:51:52 +0100
|
|
||||||
Subject: [PATCH 1/2] plexus languages 1.0
|
|
||||||
|
|
||||||
---
|
|
||||||
.../java/org/apache/maven/plugin/compiler/CompilerMojo.java | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
|
|
||||||
index 8bc437b..326f9f9 100644
|
|
||||||
--- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
|
|
||||||
+++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
|
|
||||||
@@ -50,7 +50,7 @@ import org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor;
|
|
||||||
import org.codehaus.plexus.languages.java.jpms.LocationManager;
|
|
||||||
import org.codehaus.plexus.languages.java.jpms.ResolvePathsRequest;
|
|
||||||
import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult;
|
|
||||||
-import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult.ModuleNameSource;
|
|
||||||
+import org.codehaus.plexus.languages.java.jpms.ModuleNameSource;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compiles application sources
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
From 8ef296b291e7ef1e1e4ab4fa4b520a80bde48a9f Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= <hohwille@users.noreply.github.com>
|
|
||||||
Date: Tue, 17 Dec 2019 19:05:57 +0100
|
|
||||||
Subject: [PATCH 2/2] MCOMPILER-359: Fix for NPE
|
|
||||||
|
|
||||||
---
|
|
||||||
.../java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
|
|
||||||
index f8b9ba1..203dd07 100644
|
|
||||||
--- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
|
|
||||||
+++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
|
|
||||||
@@ -250,7 +250,7 @@ public class TestCompilerMojo
|
|
||||||
|
|
||||||
for ( Entry<String, Exception> pathException : result.getPathExceptions().entrySet() )
|
|
||||||
{
|
|
||||||
- Throwable cause = pathException.getValue().getCause();
|
|
||||||
+ Throwable cause = pathException.getValue();
|
|
||||||
while ( cause.getCause() != null )
|
|
||||||
{
|
|
||||||
cause = cause.getCause();
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
3
maven-compiler-plugin-3.10.1-source-release.zip
Normal file
3
maven-compiler-plugin-3.10.1-source-release.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8dc4f56babe3a5ffe9301d2272b519cc64440ec04cac301e395cc8234e07f132
|
||||||
|
size 656659
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c636642705d56f22ee6a0f802e811efedd2e9f84526c7a10c8a88e59571e52f1
|
|
||||||
size 588951
|
|
File diff suppressed because it is too large
Load Diff
@ -14,10 +14,10 @@
|
|||||||
value="The Compiler Plugin is used to compile the sources of your project."/>
|
value="The Compiler Plugin is used to compile the sources of your project."/>
|
||||||
<property name="project.groupId" value="org.apache.maven.plugins"/>
|
<property name="project.groupId" value="org.apache.maven.plugins"/>
|
||||||
<property name="project.artifactId" value="maven-compiler-plugin"/>
|
<property name="project.artifactId" value="maven-compiler-plugin"/>
|
||||||
<property name="project.version" value="3.8.1"/>
|
<property name="project.version" value="3.10.1"/>
|
||||||
<property name="project.organization.name" value="The Apache Software Foundation"/>
|
<property name="project.organization.name" value="The Apache Software Foundation"/>
|
||||||
|
|
||||||
<property name="spec.version" value="3.8"/>
|
<property name="spec.version" value="3.10"/>
|
||||||
|
|
||||||
<property name="compiler.source" value="1.7"/>
|
<property name="compiler.source" value="1.7"/>
|
||||||
<property name="compiler.target" value="${compiler.source}"/>
|
<property name="compiler.target" value="${compiler.source}"/>
|
||||||
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 12 09:36:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- 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 <fstrba@suse.com>
|
Thu Mar 10 11:31:51 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -23,24 +23,21 @@
|
|||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
%endif
|
%endif
|
||||||
%global base_name maven-compiler-plugin
|
%global base_name maven-compiler-plugin
|
||||||
Version: 3.8.1
|
Version: 3.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Maven Compiler Plugin
|
Summary: Maven Compiler Plugin
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://maven.apache.org/plugins/maven-compiler-plugin
|
URL: https://maven.apache.org/plugins/maven-compiler-plugin
|
||||||
Source0: http://archive.apache.org/dist/maven/plugins/%{base_name}-%{version}-source-release.zip
|
Source0: https://dlcdn.apache.org/maven/plugins/%{base_name}-%{version}-source-release.zip
|
||||||
Source1: %{base_name}-build.xml
|
Source1: %{base_name}-build.xml
|
||||||
Patch0: %{base_name}-bootstrap-resources.patch
|
Patch0: %{base_name}-bootstrap-resources.patch
|
||||||
Patch1: 0001-plexus-languages-1.0.patch
|
|
||||||
Patch2: 0002-MCOMPILER-359-Fix-for-NPE.patch
|
|
||||||
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: maven-lib
|
BuildRequires: maven-lib
|
||||||
BuildRequires: maven-plugin-annotations
|
BuildRequires: maven-plugin-annotations
|
||||||
BuildRequires: maven-shared-incremental
|
BuildRequires: maven-shared-incremental
|
||||||
BuildRequires: maven-shared-utils
|
BuildRequires: maven-shared-utils
|
||||||
|
BuildRequires: objectweb-asm
|
||||||
BuildRequires: plexus-compiler
|
BuildRequires: plexus-compiler
|
||||||
BuildRequires: plexus-languages
|
BuildRequires: plexus-languages
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
@ -53,6 +50,7 @@ Name: %{base_name}-bootstrap
|
|||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
%else
|
%else
|
||||||
Name: %{base_name}
|
Name: %{base_name}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: xmvn
|
BuildRequires: xmvn
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
|
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-jar-plugin)
|
||||||
@ -88,11 +86,11 @@ API documentation for %{name}.
|
|||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%pom_remove_dep :::test
|
%pom_remove_dep :::test
|
||||||
|
|
||||||
|
%pom_xpath_remove pom:project/pom:parent/pom:relativePath
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
@ -104,6 +102,7 @@ build-jar-repository -s lib \
|
|||||||
maven-plugin-tools/maven-plugin-annotations \
|
maven-plugin-tools/maven-plugin-annotations \
|
||||||
maven-shared-incremental/maven-shared-incremental \
|
maven-shared-incremental/maven-shared-incremental \
|
||||||
maven-shared-utils/maven-shared-utils \
|
maven-shared-utils/maven-shared-utils \
|
||||||
|
objectweb-asm/asm-all \
|
||||||
plexus-compiler/plexus-compiler-api \
|
plexus-compiler/plexus-compiler-api \
|
||||||
plexus-compiler/plexus-compiler-javac \
|
plexus-compiler/plexus-compiler-javac \
|
||||||
plexus-compiler/plexus-compiler-manager \
|
plexus-compiler/plexus-compiler-manager \
|
||||||
@ -122,7 +121,9 @@ xmvn --batch-mode --offline \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
%if %{without bootstrap}
|
||||||
%fdupes -s %{buildroot}%{_javadocdir}
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user