Hi,
I'm packaging some Java packages for guix https://www.gnu.org/software/guix/, a functional package manager (much like nix).
I would appreciate some assistance for understanding how to leverage Xmvn in this case.
Guix installs each package into a prefix of it's own, e.g.:
/gnu/store/...-plexus-io/share/java/plexus/io.jar
/gnu/store/...-dom4j-1.6.1/share/java/dom4j/dom4j.jarThus Xmvn shall pick up artifacts and meta-data from all prefixes belonging to the current profile/environment. Each prefix could contain a .../xmvn/configuration.xml and $XDG_DATA_DIRS could be used to get a list of these.
I tried this and it worked different then expected.
I tried to use the "prefixes" (according the the Xmvn configuration reference [1]) as shown below. But the Xmvn does not even try to access these prefixes. Can somebody explain why, please?
<configuration> <resolverSettings> <prefixes> <prefix>/gnu/store/...-plexus-io</prefix> </prefixes> </resolverSettings> </configuration>I learned that I need to define <metadataRepositories>, which worked. But I'm wondering what are the <prefixes> then used for and how to test whether my set-up is correct.
<repository>/opt/my_scl/root/usr/share/maven-metadata</repository>
<repository>/opt/your_scl/root/usr/share/maven-metadata</repository>
</metadataRepositories>
<prefixes>
<prefix>/opt/my_scl/root</prefix>
<prefix>/opt/your_scl/root</prefix>
</prefixes>
_______________________________________________Thanks in advance for any answer.
Please note: I'm using Xmvn 2.5.0 since this is what my distribution currently ships .
[1] https://fedora-java.github.io/xmvn/config.html
-- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@xxxxxxxxxxxxxxxxxxx | | www.crazy-compilers.com | compilers which you thought are impossible |
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
--
http://fedoraproject.org/get-fedora
_______________________________________________ java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx