Problems with maven-debian-helper

2009-10-26 Thread Giovanni Mascellani
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.mascell...@gmail.com
Pisa, Italy

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





signature.asc
Description: PGP signature


signature.asc
Description: OpenPGP digital signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Re: Problems with maven-debian-helper

2009-10-26 Thread Torsten Werner
Hi Giovanni,

On Mon, Oct 26, 2009 at 8:39 PM, Giovanni Mascellani
mascell...@poisson.phc.unipi.it wrote:
 What is wrong?

AFAIK the versions of maven-plugins are somewhat hard coded but you
can patch out the maven-assembly-plugin from pom.xml. I think it is
not needed for the Debian package.

Cheers,
Torsten

___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Re: Problems with maven-debian-helper

2009-10-26 Thread Damien Raude-Morvan
Hi Giovanni,

Welcome aboard ! :)

[You should post to debian-j...@lists.debian.org as pkg-java-
maintain...@lists.alioth.debian.org is just a read-only list to monitor 
uploads and bugs on our packages]

Le lundi 26 octobre 2009 21:31:45, Torsten Werner a écrit :
 Hi Giovanni,
 
 On Mon, Oct 26, 2009 at 8:39 PM, Giovanni Mascellani
 
 mascell...@poisson.phc.unipi.it wrote:
  What is wrong?
 
 AFAIK the versions of maven-plugins are somewhat hard coded but you
 can patch out the maven-assembly-plugin from pom.xml.

Yep!

There is a super pom embedded in /usr/share/maven2/lib/maven-debian-uber.jar
in file org/apache/maven/project/pom-4.0.0.xml. This pom define default 
version of all maven plugins.

I think, we should rebuild maven2 package to get new dependencies updated in 
this file.

Cheers,
-- 
Damien Raude-Morvan - http://damien.raude-morvan.com/


signature.asc
Description: This is a digitally signed message part.
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers