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 mvel: FTBFS: 'org.apache.maven.plugins:maven-javadoc-plugin' not
found in repository
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 ---
Source: mvel
Version: 2.0.16-1
Severity: serious
Tags: squeeze sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20100316 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory
> `/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16'
> mh_unpatchpoms -plibmvel-java
> rm -f -f debian/stamp-poms-patched
> make[1]: Leaving directory
> `/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16'
> dh_clean
> mh_unpatchpoms -plibmvel-java
> rm -f -f debian/stamp-poms-patched
> rm -f debian/stamp-maven-doc
> dpkg-source -b mvel-2.0.16
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building mvel using existing ./mvel_2.0.16.orig.tar.gz
> dpkg-source: info: building mvel in mvel_2.0.16-1.debian.tar.gz
> dpkg-source: info: building mvel in mvel_2.0.16-1.dsc
> debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian
> mh_patchpoms -plibmvel-java --debian-build --keep-pom-version
> --maven-repo=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian/maven-repo
>
> touch debian/stamp-poms-patched
> 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=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian/maven.properties
> -Dclassworlds.conf=/etc/maven2/m2-debian.conf
> org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml
> -Dmaven.repo.local=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian/maven-repo
> package
> [INFO]
> NOTE: Maven is executing in offline mode. Any artifacts not already in your
> local
> repository will be inaccessible.
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building mvel
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 294 source files to
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/target/classes
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/optimizers/dynamic/DynamicClassLoader.java:[22,15]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/util/JITClassLoader.java:[21,15]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/optimizers/dynamic/DynamicClassLoader.java:[39,22]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/optimizers/dynamic/DynamicClassLoader.java:[59,21]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/util/JITClassLoader.java:[31,22]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [WARNING]
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/src/main/java/org/mvel2/util/JITClassLoader.java:[49,21]
> sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
>
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 0 resource
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar:
> /build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/target/mvel2-2.0.16.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Wed Mar 17 00:32:56 CET 2010
> [INFO] Final Memory: 19M/608M
> [INFO]
> ------------------------------------------------------------------------
> touch debian/stamp-maven-build
> DEB_MAVEN_CHECK_TARGET unset, not running checks
> 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=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian/maven.properties
> -Dclassworlds.conf=/etc/maven2/m2-debian.conf
> org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml
> -Dmaven.repo.local=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian/maven-repo
> -Ddebian.dir=/build/user-mvel_2.0.16-1-amd64-fR21PT/mvel-2.0.16/debian
> -Ddebian.package=libmvel-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
>
>
> for project org.apache.maven.plugins:maven-javadoc-plugin
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Mar 17 00:32:57 CET 2010
> [INFO] Final Memory: 6M/482M
> [INFO]
> ------------------------------------------------------------------------
> make: *** [debian/stamp-maven-doc] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2010/03/16/mvel_2.0.16-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |
--- 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 ---