[maven-plugin-tools] Missing com.sun.javadoc / com.sun.tools.doclet forced in the POM
by Jaromír Cápík
commit 9b0e1fb51c3ff5933c1937de5574b57f6932139a
Author: Jaromir Capik <jcapik(a)redhat.com>
Date: Wed Nov 16 16:59:28 2011 +0100
Missing com.sun.javadoc / com.sun.tools.doclet forced in the POM
0003-missing-com.sun-in-1.6.0-and-higher.patch | 17 +++++++++++++++++
maven-plugin-tools.spec | 9 +++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/0003-missing-com.sun-in-1.6.0-and-higher.patch b/0003-missing-com.sun-in-1.6.0-and-higher.patch
new file mode 100644
index 0000000..1f43819
--- /dev/null
+++ b/0003-missing-com.sun-in-1.6.0-and-higher.patch
@@ -0,0 +1,17 @@
+diff -Naur maven-plugin-tools-2.7.orig/maven-plugin-tools-javadoc/pom.xml maven-plugin-tools-2.7/maven-plugin-tools-javadoc/pom.xml
+--- maven-plugin-tools-2.7.orig/maven-plugin-tools-javadoc/pom.xml 2011-02-06 00:06:30.000000000 +0100
++++ maven-plugin-tools-2.7/maven-plugin-tools-javadoc/pom.xml 2011-11-16 16:35:15.780939087 +0100
+@@ -45,6 +45,13 @@
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-java</artifactId>
+ </dependency>
++ <dependency>
++ <groupId>com.sun</groupId>
++ <artifactId>tools</artifactId>
++ <version>1.4.2</version>
++ <scope>system</scope>
++ <systemPath>${java.home}/../lib/tools.jar</systemPath>
++ </dependency>
+ </dependencies>
+
+ <profiles>
diff --git a/maven-plugin-tools.spec b/maven-plugin-tools.spec
index 8d3384e..2886ece 100644
--- a/maven-plugin-tools.spec
+++ b/maven-plugin-tools.spec
@@ -1,6 +1,6 @@
Name: maven-plugin-tools
Version: 2.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 0
Summary: Maven Plugin Tools
@@ -13,10 +13,11 @@ Source0: http://repo2.maven.org/maven2/org/apache/maven/plugin-tools/%{na
# dependency version on jtidy 8.0)
Patch0: 0001-fix-for-new-jtidy.patch
Patch1: 0002-maven3-compat.patch
+Patch2: 0003-missing-com.sun-in-1.6.0-and-higher.patch
BuildArch: noarch
-BuildRequires: java-devel = 1:1.6.0
+BuildRequires: java-devel >= 1:1.6.0
BuildRequires: maven
BuildRequires: maven-install-plugin
BuildRequires: maven-compiler-plugin
@@ -135,6 +136,7 @@ plugin registry, the artifact metadata and a generic help goal.
%setup -q
%patch0
%patch1 -p1
+%patch2 -p1
%build
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -249,6 +251,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_mavendepmapfragdir}/maven-plugin-plugin
%changelog
+* Wed Nov 16 2011 Jaromir Capik <jcapik(a)redhat.com> - 0:2.7-3
+- Missing com.sun.javadoc / com.sun.tools.doclet forced in the POM
+
* Tue Aug 16 2011 Jaromir Capik <jcapik(a)redhat.com> - 0:2.7-2
- Removal of plexus-maven-plugin (not needed)
- Migration to maven3
12 years, 6 months
[Bug 754365] package com.sun.javadoc does not exist; package com.sun.tools.doclet does not exist
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754365
Alexander Kurtakov <akurtako(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |akurtako(a)redhat.com
--- Comment #4 from Alexander Kurtakov <akurtako(a)redhat.com> 2011-11-16 08:35:36 EST ---
(In reply to comment #3)
> Re-assigning to maven-plugin-tools
>
> Java 1.6 will be removed from Fedora eventually by the way (maybe even F17, it
> is undecided yet).
>
> The proper fix is to make maven-plugin-tools not use internal com.sun.* API.
Deepak,
How do you suggest this to happen?
There is no other API AFAIK. The only thing I found is
http://openjdk.java.net/jeps/106 but it's gonna take long time before it's
available in OpenJDK release, right?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 6 months
[Bug 754365] package com.sun.javadoc does not exist; package com.sun.tools.doclet does not exist
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754365
Deepak Bhole <dbhole(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |java-sig-commits(a)lists.fedo
| |raproject.org,
| |jcapik(a)redhat.com,
| |yyang(a)redhat.com
Component|java-1.7.0-openjdk |maven-plugin-tools
AssignedTo|dbhole(a)redhat.com |jcapik(a)redhat.com
--- Comment #3 from Deepak Bhole <dbhole(a)redhat.com> 2011-11-16 08:21:56 EST ---
Re-assigning to maven-plugin-tools
Java 1.6 will be removed from Fedora eventually by the way (maybe even F17, it
is undecided yet).
The proper fix is to make maven-plugin-tools not use internal com.sun.* API.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 6 months
[maven-plugin-tools] epoch mismatch
by Jaromír Cápík
commit 4ab9ea4b20e3a74277d5f711e479b3c76d525f03
Author: Jaromir Capik <jcapik(a)redhat.com>
Date: Tue Nov 15 19:41:02 2011 +0100
epoch mismatch
maven-plugin-tools.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/maven-plugin-tools.spec b/maven-plugin-tools.spec
index 73f7aae..8d3384e 100644
--- a/maven-plugin-tools.spec
+++ b/maven-plugin-tools.spec
@@ -1,6 +1,7 @@
Name: maven-plugin-tools
Version: 2.7
Release: 2%{?dist}
+Epoch: 0
Summary: Maven Plugin Tools
Group: Development/Libraries
@@ -248,7 +249,7 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_mavendepmapfragdir}/maven-plugin-plugin
%changelog
-* Tue Aug 16 2011 Jaromir Capik <jcapik(a)redhat.com> - 2.7-2
+* Tue Aug 16 2011 Jaromir Capik <jcapik(a)redhat.com> - 0:2.7-2
- Removal of plexus-maven-plugin (not needed)
- Migration to maven3
- Removal of unwanted file duplicates
12 years, 6 months