Re: Fedora vs JPackage naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux