I have the same problem. Is there a way to blacklist the OpenNMS
snapshot repository? Is it even a separate repository? Should it be?

On the command-line I would sometimes use the "-o" option to Maven to
make it run offline, but I haven't looked for a way to do that with
m2eclipse, yet.


        - djg

On Wed, 08 Dec 2010 07:59 -0500, "Benjamin Reed" <ran...@opennms.org>
wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12/8/10 5:18 AM, jonathan sartin wrote:
> > I periodically have issues with maven overwriting locally modified and
> installed versions of some
> > opennms libraries with versions downloaded from the repo. This is
> rather annoying, especially as
> > much of my development work is offline, and I often can't rebuild
> without a net connection (updated
> > dependencies etc.). Am I missing something here? Is there an option to
> tell maven _not_ to update
> > from the repo if there are local changes?
> add -o to the command-line for "offline" mode.
> 
> Alternatively, you could change the poms in your branch to have a
> different version from X.X.X-SNAPSHOT (ie, call it
> 1.9.3-myfeature-SNAPSHOT) and then revert the commit before merging
> back into the mainline.
> 
> - -- 
> Benjamin Reed
> The OpenNMS Group
> http://www.opennms.org/
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iD8DBQFM/4EsUu+jZtP2Zf4RAiwIAJ9HXM3oyPXNIdubfjwHO9mlNL/0WwCfbb9R
> f7BLsEen5XeFcvObh34ZkZg=
> =6ON5
> -----END PGP SIGNATURE-----
> 
> 
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly 
> upgrade, or settle for being marooned without product support? Time to
> move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus 
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel
> 

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to