[JIRA] (MDA-262) Move Maven parent project to root

Ian Young (Jira) jira at shibboleth.atlassian.net
Tue Aug 24 13:00:11 UTC 2021


Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *commented* on MDA-262 ( https://shibboleth.atlassian.net/browse/MDA-262?atlOrigin=eyJpIjoiYjQ4NTQzMzE0NDlmNDdhOGEwNDNjZGM4Njg0OGUyYjYiLCJwIjoiaiJ9 )

Re: Move Maven parent project to root ( https://shibboleth.atlassian.net/browse/MDA-262?atlOrigin=eyJpIjoiYjQ4NTQzMzE0NDlmNDdhOGEwNDNjZGM4Njg0OGUyYjYiLCJwIjoiaiJ9 )

Done, commit 346c80c3664fad7d81d44fe3e8d3068823f42ce6.

In answer to Rod’s comment, this wasn’t particularly painful:

* Remove the projects from Eclipse.
* Replace root.project with the one from the subdirectory.
* Move/merge most other things from the subdirectory under the root. Don’t forget invisible things like.settings/ and.gitignore.
* Remove the <relativePath> to the parent from the submodule POMs (this is assumed)
* Remove the../ from the module paths in the parent POM as those are now relative to the root.
* Re-add the projects to Eclipse. Note that you end up with one less project this way, as the root directory has become what was one of the submodules. This also means they all appear at the same location in Eclipse, rather than the root project appearing elsewhere.

Checking in both Eclipse and from the CLI is essential.

I think this is done, but I’ll hold off closing until tomorrow so that I can see if the nightlies fail.

( https://shibboleth.atlassian.net/browse/MDA-262#add-comment?atlOrigin=eyJpIjoiYjQ4NTQzMzE0NDlmNDdhOGEwNDNjZGM4Njg0OGUyYjYiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-262#add-comment?atlOrigin=eyJpIjoiYjQ4NTQzMzE0NDlmNDdhOGEwNDNjZGM4Njg0OGUyYjYiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100174- sha1:b411b23 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20210824/823620f1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-52446406-c906-46ba-8705-f842aa127fd2
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210824/823620f1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-c0cf55a2-eff5-4284-a556-352ea37c8eb3
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210824/823620f1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-ff49a590-e6ed-4aa4-94b9-b5bcce8fa539
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210824/823620f1/attachment-0005.png>


More information about the commits mailing list