DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Maven Dependency Management Without Going Full Maven

Maven Dependency Management Without Going Full Maven

If you like using Maven to manage your projects, check out the MyEclipse IDE with its dependencies only mode, allowing you to take advantage of just this feature.

Nataliya Muriy user avatar by
Nataliya Muriy
·
Jan. 23, 18 · Java Zone · Tutorial
Like (3)
Save
Tweet
11.59K Views

Join the DZone community and get the full member experience.

Join For Free

You may have already discovered the joys of managing your projects with Maven, thanks to a virtually endless range of features it has to offer. Whether you are a newbie or a pro, using it in MyEclipse will take it to a whole new level if you are looking for a better experience inside an IDE.

Dependencies Only Mode

You might be used to the fact that with Maven you can manage a project's dependencies, builds, reporting, and documentation from a single place. Maven dependency management is one of the best-known Maven features, and is one of the areas where Maven excels. However, exploiting only this feature is typically not possible - you would need to go almost all the way with a Maven-based project configuration, adding and configuring Maven plugins, dealing with profiles, and goals. If you don't have the time or the need to go through the works, MyEclipse jumps into the picture, offering the Dependencies Only mode, which has actually been available since MyEclipse 2015.

If you haven't tried our full-stack MyEclipse IDE, now there are more reasons to do so! MyEclipse Stable 2.0 is out, bringing to you Angular 5 and the very latest CLIs support, as well as improvements in TypeScript, DevStyle, Servers, and more.

How It Works

So how does it work? If you opt for this mode, a Maven Dependencies classpath container is added to your project (as specified in pom.xml - if this file doesn't exist, it will be generated automatically). All the contents of this container is deployed with the project. If you modify the pom.xml file, only data pertaining to dependencies will be respected when the Maven Dependencies container is updated. Dependencies Only mode can be added to both new and existing projects.

For a more detailed tutorial on using this mode, click here to see the steps to follow. Remember, if you are looking for the full Maven experience, make sure you choose the Maven Support for Java EE Projects facet. Please see this page for more on Maven support in MyEclipse.

Apache Maven Dependency

Published at DZone with permission of Nataliya Muriy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Role of Development Team in an Agile Environment
  • Choosing Between REST and GraphQL
  • APIs Outside, Events Inside
  • Take Control of Your Application Security

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo