Mark Koops wrote:
Hi all,
I have been creating a plugin that extends the dependencies in the Maven
projects in the reactor programmatically based on the references found
is associated C# project files (.csproj files). This is all working fine
but I am wondering how I can get the references injected as dependencies
before the reactor is being sorted. I need this to get the artifacts
builds before they are resolved as build dependencies.
The idea is that the pom.xml is fully describing the needed dependencies,
so if you're missing the .csproj files in the repository then you can't
build.
So I think you're going about this the wrong way.
What you could do is write a plugin that updates the pom using the
information
in the .csproj files. Ideally the pom is the basis of all project metadata,
so if you need other deps/refs in the .csproj, you should update the pom
and then re-run the plugin that created the .csproj (if there is one out
there..)
-- Kenney
Is there a way to force mojo executions to be done prior to the reactor
being sorted? I've tried the validate phase but found this to be
executed after reactor sorting.
Does anyone know about another plugin that deals with this or a similar
problem?
Or is there a mechanism to force resorting of the build reactor after
changing project definition within a plugin?
Hope anyone can give me clue.
Thanks in advance,
Mark Koops
GE Healthcare
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]