DZone
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
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Getting Sources in NetBeans IDE from Maven Repositories

Getting Sources in NetBeans IDE from Maven Repositories

Hubert Klein Ikkink user avatar by
Hubert Klein Ikkink
·
Dec. 15, 08 · News
Like (0)
Save
Tweet
Share
13.03K Views

Join the DZone community and get the full member experience.

Join For Free

Adding a new Maven dependency to our project in NetBeans IDE is very easy. But this will only get us the compiled classes. But what if we want to see the source code or look at the Javadoc?

Well that is easy too! Suppose we have a project with a dependency on the Jakarta commons-lang library.

To get the sources for our library we right-click on Libraries and select Download All Library Sources.

NetBeans starts a download process to get the sources. Of course we must keep in mind the sources must be available otherwise NetBeans cannot download anything. Notice the changed icon for the library if the sources are download. This indicates sources are available. We can now open a libary and open a .class. NetBeans opens the source code in read-only mode in the Java editor.

Integrated development environment NetBeans Apache Maven

Published at DZone with permission of Hubert Klein Ikkink, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Isolating Noisy Neighbors in Distributed Systems: The Power of Shuffle-Sharding
  • Kubernetes-Native Development With Quarkus and Eclipse JKube
  • How To Perform Local Website Testing Using Selenium And Java
  • Why Continuous Monitoring of AWS Logs Is Critical To Secure Customer and Business-Specific Data

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • 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: