[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [m2e-users] how to force refresh of local repo content?
- From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
- Date: Fri, 23 Mar 2012 11:25:47 -0400
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
What version of m2e do you use?
Do you use snapshot or release version of tycho?
On 12-03-23 9:28 AM, Sievers, Jan wrote:
for the EclipseCON tycho tutorial we provide a pre-filled local maven repo as we can't rely on WiFi.
If I copy the pre-filled repo to ~/.m2/repository/ after eclipse was started, it seems there is no way of refreshing the local repo index used by m2e.
Initially I get an m2e error marker "Project build error: Unknown packaging: eclipse-plugin" which is consistent with the headless build failure.
After the pre-filled local repo content is copied, I can build fine (Run As> Maven install succceeds), but the error markers don't go away.
I tried several options to force a local repo refresh (Window> Preferences> Maven> User Settings> Reindex local repository, Maven> Update Project on the project), but no success.
For now the only option to get rid of the outdated error markers seems to restart the IDE.
How is refreshing for local repo changes coming from outside the IDE supposed to work in m2e?
m2e-users mailing list