<snip> That is definitely NOT the way to handle it. Once released, artifacts (including pom files) must not change. Why do you think this should/must be done?? Is it merely a poor assumption on your part, or were you told this or read it somewhere? </snip>
I too have read these EXACT steps before. The guide to relocation: http://maven.apache.org/guides/mini/guide-relocation.html and here: http://maven.apache.org/ref/2.2.1/maven-model/maven.html#class_relocation "Describes where an artifact has moved to." -----Original Message----- From: Wayne Fay [mailto:[email protected]] Sent: Tuesday, August 24, 2010 9:35 AM To: Maven Users List Subject: Re: Correcting a groupID > # Copy all foo-related files from /bar/foo/ in your Maven 2 repository > to a temporary location. > # Change the groupId to org.bar in all foo-related pom files in the > temporary location. > # Copy all files from the temporary location to /org/bar/foo/ in your > Maven 2 repository. > # Create a minimal Maven 2 pom file for every old release of foo in > your Maven 2 repository. That is definitely NOT the way to handle it. Once released, artifacts (including pom files) must not change. Why do you think this should/must be done?? Is it merely a poor assumption on your part, or were you told this or read it somewhere? You simply leave the old files where they are. And slowly migrate to the new groupId, just as you were previously told, by using the relocation poms for new releases in the old groupId and then actually pushing the new artifacts and poms to the new groupId. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.
