Problems with maven-debian-helper

Giovanni Mascellani mascellani at poisson.phc.unipi.it
Mon Oct 26 19:39:49 UTC 2009


Hi all.

I'm new to this mailing list and with maven and maven-debian-helper, so
maybe I'm missing something trivial.

I've started comaintaining libgettext-commons-java with Andreas Putzo.
Upsteam started using maven to build it, so I think it as good idea to
move the package build rules to maven-debian-helper.

My current package is in trunk/libgettext-commons-java in pkg-java SVN
repository. uscan is able to download correctly upstream tarball.

If I try to compile, svn-buildpackage complains with this error message:

> 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=/home/giovanni/packages/gettext-commons/build-area/libgettext-commons-java-0.9.6/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher  -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/giovanni/packages/gettext-commons/build-area/libgettext-commons-java-0.9.6/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 Gettext Commons
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: org.apache.maven.plugins:maven-assembly-plugin
> 
> Reason: POM 'org.apache.maven.plugins:maven-assembly-plugin' not found in repository: System is offline.
> 
>   org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-beta-2
> 
> 
>  for project org.apache.maven.plugins:maven-assembly-plugin
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Oct 26 17:10:01 CET 2009
> [INFO] Final Memory: 4M/54M
> [INFO] ------------------------------------------------------------------------

I don't understand why it tries to use maven-assembly-plugin 2.2-beta-2
(2.2-beta-4 is present in sid and installed in my system). I can't find
any occurrence of the string 2.2-beta-2 in my package or in
/usr/share/maven-repo.

What is wrong?

Thanks, Giovanni.
-- 
Giovanni Mascellani <g.mascellani at gmail.com>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 379 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20091026/60b28f45/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 379 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20091026/60b28f45/attachment-0001.pgp>


More information about the pkg-java-maintainers mailing list