-
Notifications
You must be signed in to change notification settings - Fork 193
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
groupId rename problems for Maven multi-module projects with multiple groupIds #2872
Comments
This is the most likely cause: |
Okay, this is what I assumed. How about adding support for that scenario to jitpack? It would increase the number of Maven projects that are usable with jitpack. :-) From my abstract point of view it is just making the groupId replace logic aware of the different parent groupId (the improved logic would perhaps even cover the current supported replace logic as well). I guess this is then rather asking for an improvement than reporting a defect. ;-) |
Requires hardcoding the name of the repo in ExternalVersionExtension, because jitpack overrides groupId: jitpack/jitpack.io#1029 Furthermore, for multi-module projects there can only be one groupId: jitpack/jitpack.io#2872 So changed everything to be in *.version (i.e. not in *.plugin). Maven complains that maven-*-plugin should be in groupId org.apache.maven.plugins, but works anyway.
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
I found jitpack and was impressed by the simple but powerful idea. It would be ideal for me to allow easy usage of my GitHub projects. I gave it a try with my dto-enhancer. I'm following the convention that the groupId should be equal to the root package of the Java sources (which is violated by the groupId renaming concept of jitpack in general, but this is a different story ;-). And this seems to not work with jitpack.
For my forked version of maven-modular it works. The original groupIds of the repository
are resulting in correctly renamed module and parent groupId
for module1.
For dto-enhancer the original groupIds of the repository
are resulting in wrongly renamed groupIds (parent groupId not renamed at all, module groupId wrongly replaced by groupId of root pom.xml)
for dto-enhancer-api.
The text was updated successfully, but these errors were encountered: