[fedora-java] New Java guidelines

Fernando Nasser fnasser at redhat.com
Wed Feb 27 14:17:45 UTC 2013


> 
> Quoting David Walluck (2013-02-22 21:23:14)
> > In the current guidelines, at least as implemented, most jars are
> > renamed from upstream. There's not even the policy of preferring
> > the
> > upstream name by default. The policy seems to be to rename them
> > from
> > upstream by default (at least with multiple jars).
> 
> FYI, in case it wasn't obvious: when you build a package with XMvn it
> will put
> jar files in %_javadir/%{name}/%{artifactId}.jar
> 
> I believe this solves both problems for Fedora (always unique non
> conflicting
> paths) and yours (jar file renaming). You can do simple 'find
> /usr/share/java
> -name some-weird-artifact.jar' and get a valid reply. Perhaps even
> multiple :-)
> 
> I hope that will make you a bit happier :-)
> 

I will only be happy when it goes to %_javadir/%{groupid}/%{artifactId}/<version>/%{artifactId}-%{version}.jar

with a link for backwrd compatibility perhaps :-)



(snip)
> Stanislav Ochotnicky <sochotnicky at redhat.com>
> Software Engineer - Developer Experience
> 


More information about the java-devel mailing list