On 2016-12-30 00:31 +0100, Emmanuel Bourg wrote:
> Le 29/12/2016 à 02:29, Wookey a écrit :
>
> > I also got the complaint that it can't find:
> > backport-util-concurrent
> >
> > Do I care about that? Do I need to package that too? <sinking feeling emoji>
>
> You don't need that one, it's an obsolete library that backported the
> new java.util classes introduced in Java 5 to older JREs. Just ignore
> this dependency and patch the code to replace:
>
> import edu.emory.mathcs.backport.java.util.Foo;
>
> with:
>
> import java.util.Foo;
OK. That helps.
So I am now back to where I was a while ago with the bcel issue in https://lists.debian.org/debian-java/2016/12/msg00008.html
[INFO] Building Native Maven Plugin 1.0-alpha-8
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for bcel:bcel:jar:5.x is missing, no dependency information available
...
[ERROR] Failed to execute goal on project native-maven-plugin: Could not resolve dependencies for project org.codehaus.mojo:native-maven-plugin:maven-plugin:1.0-alpha-8: The following artifacts could not be resolved: bcel:bcel:jar:5.x, org.apache.maven.shared:maven-plugin-testing-harness:jar:debian: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact bcel:bcel:jar:5.x has not been downloaded from it before. -> [Help 1]
top-level pom.xml says:
<dependency>
<groupId>bcel</groupId>
<artifactId>bcel</artifactId>
<version>5.1</version>
</dependency>
submodule native-maven-plugin/pom.xml says:
<dependency>
<groupId>bcel</groupId>
<artifactId>bcel</artifactId>
</dependency>
maven.rules has:
bcel bcel jar s/5.1/5.x/ * *
I'm clearly doing something wrong, as libbcel-java contains both
/usr/share/java/bcel.jar
/usr/share/maven-repo/org/apache/bcel/bcel/5.x/bcel-5.x.pom
/usr/share/java/bcel-6.0.jar
/usr/share/maven-repo/org/apache/bcel/bcel/6.0/bcel-6.0.pom
which looks like what's wanted.
Current version of package at: http://wookware.org/files/java-maven-mess.tar.gz
Wookey
--
Principal hats: Linaro, Debian, Wookware, ARM
http://wookware.org/
Attachment:
signature.asc
Description: Digital signature