Are you sure the second build is using the same Maven local repo ? Jeff
On Sat, Mar 7, 2015 at 2:58 PM, Pascal Rapicault <[email protected]> wrote: > Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; > 2014-12-14T12:29:23-05:00) > > > On 03/07/2015 02:44 AM, Jeff MAURY wrote: > >> Which version of Maven are you using ? >> >> Jeff >> >> On Sat, Mar 7, 2015 at 12:53 AM, Pascal Rapicault <[email protected]> >> wrote: >> >> Hi, >>> >>> I'm trying to do a set of builds where I'm trying to make sure I'm not >>> getting extraneous artifacts. >>> >>> The first step of the build consists in building Tycho (a set of maven >>> plugins for building OSGi / Eclipse things) and to ensure I get clean >>> artifacts, I deleted the ~/.m2 folder and now I use the >>> -Dmaven.repo.local >>> parameter (I know I should not need the two but nonetheless...). >>> The build completes and I'm happy. >>> >>> Now when I try to build my real project, which uses the freshly built >>> maven plugin, here again specifying the -Dmaven.repo.local parameter, I >>> get >>> an error saying that Maven can't find the build extension (see error >>> below). >>> >>> I tried many workarounds but none of them are working. Is this expected? >>> Do you have any idea on how to avoid this? Thx. >>> >>> Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven- >>> plugin:0.23.0-SNAPSHOT >>> or one of its dependencies could not be resolved: Failure to find >>> org.eclipse.tycho:tycho-maven-plugin:jar:0.23.0-SNAPSHOT in >>> https://oss.sonatype.org/content/repositories/public/ was cached in the >>> local repository, resolution will not be reattempted until the update >>> interval of tycho has elapsed or updates are forced -> [Help 2] >>> >>> Pascal >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Jeff MAURY "Legacy code" often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
