maven - Unexpected Eclipse m2e fetched dependencies newer than my source -


Is there a better way to work with Eclipse & amp; To use the Maven command line Offline and the Meeven command line, when I want to get dependency, since then can I have more than setting up the Eclipse Maven Prefaces?

The M2A download binaries that are out of sync with my source via Eclipse + Maven

While working on a bug, when I pull the source and dependence on my eclipse workspace However, my continuous integration system is always creating new snapshots for me. Occasionally the eclipse will take dependency that breaks my local build because I do not have the updated source yet (and do not have to)

Am I missing or who is optimal for those people who want to be less than continuously integrated?

  • Set Eclipse Window - & gt; Preference - & gt; Offline
  • Update from source control
  • Build on command line with Maven
  • Work in eclipse: change, test , Idea, repeat
  • When ready to receive changes: update source, mvn build on command line and back to eclipse

    thanks

    Peter

    If this is an option for you, then you must have the SNAPSHOT dependency of your project in your workspace A. You can checkout and can enable the "solution". With this solution "Dependencies with Workspace Projects" in your project settings, you can control that when all the losses of new sources of your dependency are kept without Maven offline.

Comments