Your message dated Tue, 6 Apr 2010 00:34:11 +0200
with message-id <201004060034.15611.draz...@debian.org>
and subject line Maven: handle plugins versions
has caused the Debian Bug report #574402,
regarding maven-debian-helper: fails to find maven-javadoc-plugin
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
574402: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574402
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven-debian-helper
Version: 0.9
Severity: important
Hi,
plexus-active-collections FTBFS:
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dproperties.file.manual=/tmp/buildd/plexus-active-collections-1.0~beta2/debian/maven.properties
-Dclassworlds.conf=/etc/maven2/m2-debian.conf
org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml
-Dmaven.repo.local=/tmp/buildd/plexus-active-collections-1.0~beta2/debian/maven-repo
-Ddebian.dir=/tmp/buildd/plexus-active-collections-1.0~beta2/debian
-Ddebian.package=libplexus-active-collections-java-doc javadoc:jar
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'javadoc'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-javadoc-plugin
Reason: POM 'org.apache.maven.plugins:maven-javadoc-plugin' not found in
repository: System is offline.
org.apache.maven.plugins:maven-javadoc-plugin:pom:2.5
I could not find a workaround.
Cheers,
Torsten
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (986, 'testing'), (88, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages maven-debian-helper depends on:
ii default-jre [java2-runtime] 1.6-34 Standard Java or Java compatible R
ii gcj-4.4-jre [java2-runtime] 4.4.3-1 Java runtime environment using GIJ
ii gcj-jre [java2-runtime] 4:4.4.2-3 Java runtime environment using GIJ
ii libmaven-clean-plugin-java 2.3-3 Maven clean plugin
ii libmaven-compiler-plugin-jav 2.0.2-4 Maven compiler plugin
ii libmaven-jar-plugin-java 2.2-4 Maven Jar plugin
ii libmaven-resources-plugin-ja 2.3-5 Maven resources plugin
ii libmaven-site-plugin-java 2.0-2 Maven Site Plugin for generating a
ii libplexus-velocity-java 1.1.7-3 Plexus component interface to velo
ii libsurefire-java 2.4.3-3 Surefire test framework for Java
ii maven-repo-helper 1.0.4 Helper tools for including Maven m
ii maven2 2.2.1-2 Java software project management a
ii openjdk-6-jre [java2-runtime 6b18~pre1-4 OpenJDK Java runtime, using Hotspo
ii sun-java6-jre [java2-runtime 6-16-1 Sun Java(TM) Runtime Environment (
ii velocity 1.6.2-3 Java-based template engine for web
Versions of packages maven-debian-helper recommends:
ii apt-file 2.3.3 search for files within Debian pac
Versions of packages maven-debian-helper suggests:
pn libmaven-javadoc-plugin-java <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
[Please see, BTS:#574402]
I've updated plugin-versions.patch (in maven2-core package) and uploaded
maven2 2.2.1-3 / maven2-core 2.2.1-2 to workaround this bug.
We have to find a definitive solution for upgrading maven plugins without
breaking existing build.
Maybe we can use settings.xml to store maven plugins version :
- each maven plugin has to register it self, using an helper tool, inside this
settings.xml
------
<profile>
<id>debian-plugins-version</id>
<activation>
<property>
<name>maven-javadoc-plugin.default.version</name>
<value>2.6.1</value>
</property>
<property>
<name>maven-ejb-plugin.default.version</name>
<value>2.2</value>
</property>
<property>
<name>maven-install-plugin.default.version</name>
<value>2.3</value>
</property>
[...]
</activation>
</profile>
[...]
<activeProfiles>
<activeProfile>debian-plugins-version</activeProfile>
</activeProfiles>
------
- maven2-core "super-pom" will then contains variable for each plugin
------
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.default.version}</version>
</plugin>
------
It's just a rought idea but I just want to get some feed back before trying to
implement that.
Cheers,
--
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan
signature.asc
Description: This is a digitally signed message part.
--- End Message ---