Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Changing workspace dependency artifact path

No, this is not possible in 1.0 but looks like a reasonably enhancement
request. Are you interested to provide a patch?

--
Regards,
Igor

On 11-06-24 2:13 AM, Spencer Van Hoose wrote:
Is there currently a way to customize the path that m2e returns for
workspace artifacts when workspace resolution is enabled? I'm running
into problems with flexmojos because m2e is returning
projectName/target/classes for the artifact path of projects in the
workspace instead of the path to the swc.

My initial idea was to write a configurator to change the path of
workspace artifacts before running flexmojos:compile-swc but I can't see
any way to accomplish this. It looks like m2e is setting the file on
each artifact to match the project's output location. I tried changing
each project's output location in the configurator but m2e is still
sending the wrong path to flexmojos and I can't find any way to affect
this. Is it possible to provide my own class as the "workspace reader"
so I can resolve workspace artifacts to the correct path? Does anyone
have any other ideas?

Thanks,
Spencer


Back to the top