-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flatten plugin cannot be loaded due to jgitver #149
Comments
Hum it's new to me, moreover adb34bb was there to correct that. |
also I did not checked with latest flatten versions. jgitver automatic integration/usage with flatten was done with |
I think the sisu index is missing... |
I set the phase for flatten to package since validate seemed early, but it is not essential; flatten 1.2.2 works fine (except for dependencies with classifiers). |
I am in the process of reviewing the extension/plugin and how it works in regards of some maven internals for injection (see my exchanges on maven dev mailing list) ; i'll review that after the cleanup. |
I believe the discussion is interesting and deserves to be referred here. Is there a solution for the classloading problem? |
Hi, I continued the exploration of what is discussed in the mailing list. I refactored jgitver to use the injection mechanism and separation between extension and plugin but I am facing another classloading issue when inside the reactor. I am currently busy simplifying the problem to show to the maven core developpers. It's a bit long I know but then the codebase will be in a better shape for future evolutions/modifications. |
We regularly encounter this problem on our projects - many small microservices all using jgitver... and the flatten plugin. |
Unfortunately the refactored version is still in branch and was never finished & pushed due to lack of time. |
Thank you McFoggy for that quick reply and for that incredibly useful plugin you have created. |
Encountered the same problem, AGAIN! But found another way to make it work with the latest flatten plugin:
|
Before submitting an issue I have first:
Issue
flatten plugin cannot be loaded because jgitver has no bound implementation
1.7.0:
Parent POM has flatten-plugin 1.2.5 (I try to use the latest version to get around the classifier issue mojohaus/flatten-maven-plugin#132) configured as follows
The following happens when children POM is flattened
The text was updated successfully, but these errors were encountered: