Bug#629356: mh_resolve_dependencies: doesn't work offine
Damien Raude-Morvan
drazzib at debian.org
Sun Jun 5 20:57:22 UTC 2011
Package: maven-debian-helper
Version: 1.4.2
Severity: normal
File: /usr/bin/mh_resolve_dependencies
When mh_resolve_dependencies tool is used during build of a debian package (to
extract dependencies), it seems that --offline param doesn't seems to switch
Maven to offline mode and it try to download artifacts from internet
(repo1.maven.org).
Log extract :
mh_resolve_dependencies --non-interactive --offline -pliblocalizer-java
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Localizer parent POM
[INFO] Localizer
[INFO] Localizer generator
[INFO]
------------------------------------------------------------------------
[INFO] Building Localizer parent POM
[INFO] task-segment: [org.debian.maven:maven-packager-
utils:1.4:dependencies] (aggregator-style)
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/jvnet/localizer/localizer/1.12/localizer-1.12.jar
[WARNING] Unable to get resource 'org.jvnet.localizer:localizer:jar:1.12' from
repository central (http://repo1.maven.org/maven2): Error transferring file:
repo1.maven.org
[WARNING] The dependency: org.jvnet.localizer:localizer:jar:1.12 can't be
resolved but has been found in the reactor.
This dependency has been excluded from the plugin execution. You should rerun
this mojo after executing mvn install.
[INFO] [packager-utils:dependencies {execution: default-cli}]
Rules:
junit junit jar s/4\..*/4.x/ * *
s/ant/org.apache.ant/ * * s/.*/debian/ * *
---------
Ignore rules:
org.jvnet.wagon-svn wagon-svn * * * *
---------
Ignore rules to be applied during the Maven clean phase:
org.jvnet.wagon-svn wagon-svn * * * *
---------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sun Jun 05 18:26:17 UTC 2011
[INFO] Final Memory: 5M/105M
[INFO]
------------------------------------------------------------------------
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-debian-helper depends on:
ii default-jdk 1:1.6-40 Standard Java or Java compatible
D
ii libmaven-clean-plugin-java 2.3-3 Maven clean plugin
ii libmaven-compiler-plugin-java 2.0.2-4 Maven compiler plugin
ii libmaven-jar-plugin-java 2.2-4 Maven Jar plugin
ii libmaven-resources-plugin-jav 2.3-5 Maven resources plugin
ii libmaven-site-plugin-java 2.1-1 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.5.2 Helper tools for including Maven
m
ii maven2 2.2.1-5 Java software project management
a
ii velocity 1.6.2-4 Java-based template engine for
web
Versions of packages maven-debian-helper recommends:
ii apt-file 2.4.2 search for files within Debian pac
ii devscripts 2.11.0 scripts to make the life of a
Debi
ii subversion 1.6.17dfsg-1 Advanced version control system
Versions of packages maven-debian-helper suggests:
ii libmaven-javadoc-plugin-java 2.6.1-1 Maven Javadoc Plugin
-- no debconf information
--
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan
More information about the pkg-java-maintainers
mailing list