Symlinks for jars in maven-repo missing?

Asked by Jens Braeuer

Hi everyone,

I use the precise packages on oneiric, so I file a question rather than a bug.

I noticed, that the 2.9.0 packages only dropped the .jar in /usr/share/java, where the 2.9.1 also bring .pom files. This is GREAT! I love it!
However the symlinks below /usr/share/maven-repo are missing, which breaks the site-wide maven repository.

As an example
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.9.1/scala-compiler-2.9.1.jar should point to /usr/share/java/scala-compiler-2.9.1.jar.

I would guess this problem also exists in the Debian-Package. I would love to see this fixed in precise.

Thanks,
Jens

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu scala Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Mixing packages between releases is not advised or supported. They areprecise packages as they are for precise. If packages were freely inter-changable then there would be ONE repo for every release. This is not the case and if you do mix debs you will get a big mess.

Revision history for this message
Jens Braeuer (jens-braeuer) said :
#2

Hi andrew woodhead,

as I already wrote I think this is a BUG. I only filed it as a questions, as I re-used the package in oneirc. However. This gave me the chance to install precise and the bug is still here.
So: I use the scala 2.9.1 in the precise. I dont mix packages between releases. When I install scala in precise via "apt-get install scala", the site-wide maven repo is broken.

The following output shows, that the symlink
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.9.1/scala-compiler-2.9.1.jar ->
/usr/share/java/scala-compiler-2.9.1.jar.
is missing.

vagrant@precise-amd64:~$ find /usr/share/maven-repo/
/usr/share/maven-repo/
/usr/share/maven-repo/org
/usr/share/maven-repo/org/scala-lang
/usr/share/maven-repo/org/scala-lang/scala-compiler
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.9.1
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.9.1/scala-compiler-2.9.1.pom
/usr/share/maven-repo/org/scala-lang/scala-compiler/debian
/usr/share/maven-repo/org/scala-lang/scala-compiler/debian/scala-compiler-debian.pom
/usr/share/maven-repo/org/scala-lang/scala-library
/usr/share/maven-repo/org/scala-lang/scala-library/2.9.1
/usr/share/maven-repo/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
/usr/share/maven-repo/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom
/usr/share/maven-repo/org/scala-lang/scala-library/debian
/usr/share/maven-repo/org/scala-lang/scala-library/debian/scala-library-debian.jar
/usr/share/maven-repo/org/scala-lang/scala-library/debian/scala-library-debian.pom

I would love to see this fixed. As this is a bug now, I'll post this as comment and file a bug.
Thanks a lot,
Jens

Can you help with this problem?

Provide an answer of your own, or ask Jens Braeuer for more information if necessary.

To post a message you must log in.