Bug#662789: sisu-ioc: Fix FTBFS and ensure jar's installed to /usr/share/java

Moritz Mühlenhoff muehlenhoff at univention.de
Wed Mar 7 12:46:02 UTC 2012


severity 662789 serious
thanks

On Dienstag, 6. März 2012 13:23:42 James Page wrote:
> Package: sisu-ioc
> Version: 2.3.0-2
> Severity: normal
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu precise ubuntu-patch
> 
> Dear Maintainer,
> 
> In Ubuntu, the attached patch was applied to achieve the following:
> 
>   * Fix FTBFS (LP: #935445):
>     - d/maven.rules: Map plexus-component-annotations to version 1.5.5.
>   * d/libsisu-ioc-java.poms: Added --java-lib to ensure jar files still get
>     installed to /usr/share/java.
> 
> The latest version of libplexus-containers1.5-java does not create 1.5.x
> symbolic links causing a FTBFS with this package - an exact version match
> is now required.
> 
> Also the default behaviour of maven-debian-helper has changed so I also
> added a fix to ensure jars are still installed in /usr/share/java.
> 
> Thanks for considering the patch.

sisu-ioc currently fails to build from source in sid, raising severity:

[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-component-annotations:jar:1.5.x

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.codehaus.plexus -
DartifactId=plexus-component-annotations -Dversion=1.5.x -Dpackaging=jar -
Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-
component-annotations -Dversion=1.5.x -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.3.0
        2) org.codehaus.plexus:plexus-component-annotations:jar:1.5.x

----------
1 required artifact is missing.

for artifact: 
  org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.3.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.


[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 35 seconds
[INFO] Finished at: Tue Mar 06 19:22:13 CET 2012
[INFO] Final Memory: 36M/86M
[INFO] 
------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- 
Moritz Mühlenhoff                         muehlenhoff at univention.de
Open Source Software Engineer and Consultant
Univention GmbH  Linux for Your Business     fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen          fax: +49 421 22 232-99
http://www.univention.de





More information about the pkg-java-maintainers mailing list