cmarchand / maven-catalogBuilder-plugin

A plugin to build xml catalog corresponding to project depencencies
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

In a multi-module mvn project, reference to CP may fail #3 #5

Closed karrayhamdi closed 6 years ago

karrayhamdi commented 6 years ago

Hi,

does not work in this example

Thanks :)

cmarchand commented 6 years ago

Not granted on this projet...

cmarchand commented 6 years ago

This project doesn't build, due to dependency not present in nexus.lefebvre-sarrut.eu.

[ERROR] Failed to execute goal on project versionning: Could not resolve dependencies for project
eu.els.sie.efl.chaine.bofip:versionning:jar:0.0.1: The following artifacts could not be resolved:
eu.els.sie.utils:parallel:jar:0.0.1, eu.els.sie.utils:command-line:jar:1.0.0,
com.gauloispipe.xml:processing:jar:0.0.2, eu.els.sie.xslt:log4j-xslt-message-listener:jar:0.0.3: Could 
not find artifact eu.els.sie.utils:parallel:jar:0.0.1 in Nexus-public
(http://srvic/nexus/content/groups/public) -> [Help 1]
karrayhamdi commented 6 years ago

Sorry, my fault. Shoud be correct now.

cmarchand commented 6 years ago

This commit solves your problem. You have to declare which catalog to use in io.xspec.maven:xspec-maven-plugin.

cmarchand commented 6 years ago

xspec-maven-plugin has no <catalogFile /> configuration parameter defined. Once corrected, everything works correctly.