[fedora-java] Fedora vs JPackage naming

Carlo de Wolf cdewolf at redhat.com
Fri Feb 17 11:18:29 UTC 2012


On 02/17/2012 11:10 AM, David Walluck wrote:
> On 02/17/2012 04:53 AM, Aleksandar Kurtakov wrote:
>> I would even say that this is the only viable solution for the maven
>> and friends and this doesn't interfere with the other buildsystems so
>> everyone that cares about Maven - Join Carlo and help him achieve
>> that
> I discussed this on IRC with sochotni recently. I thought the idea was
> to do a normal maven deploy with altDeploymentRepository set to
> %{buildroot}%{_datadir}/maven/repository.
>
> But there are two caveats:
>
> 1.) We can't leave the real files at this location because other tools
> need access, too. So I would say move it to %__javadir and symlink it
> back to the repo location. Others may have a better idea.

Vice versa symlink. ;-)
(Truthfully I don't care that much.)
>
> 2.) Fedora wants to support (only) unversioned files. The question is
> how to handle the version since in a normal deploy the version will be
> harcoded in both the directory and file names. It's possible somehow to
> handle this with the proper settings.xml so we could remove all (or
> most) of our patches to maven.

Upstream maven can't handle 'unversioned' files.

However, we can plug an extension into upstream maven which handles our 
policy.
This would make it also usable on other platforms.

https://github.com/wolfc/fedora-maven

Carlo


More information about the java-devel mailing list