
Brian Fox sat down to answer a few questions about Nexus. Why should people be using repositories managers? What differentiates Nexus from other repository managers? How does Nexus store information about a repository? What is the architecture of Nexus? and What is next for Nexus? This interview is approximately 10 minutes long.
To learn more about Nexus and to download it today, go to http://nexus.sonatype.org
Nexus
The Maven 2.0.10 Release process has begun and will follow the process pioneered in 2.0.9.
That process consists of a series of Release Candidate builds, first on the Maven Developer list, and then finally on the Maven User list. Now that the process is started, the feature/bug list is final. Only new regressions identified between 2.0.10 and 2.0.9 will cause a new RC to be generated.
The issues chosen to be fixed in 2.0.10 included any regressions that were identified in 2.0.9 after the final release, as well as the next most popular issues in Jira. You can see the current list of issues for 2.0.10 here.
Notable enhancements include:
- [MNG-2562] - expose current time as a property for POM interpolation
- [MNG-3652] - set a user agent for Maven HTTP requests
- [MNG-3571] - Allow use of ! when deactivating profiles
- [MNG-3268] - Command line doesn’t handle multiple -P correctly
- [MNG-2068] - Multiple inheritance fails to find “grand” parent in ../../pom.xml when the groupIds differ (Test Case Attached)
Work for 2.0.11 is already underway, so be sure to vote for the issues you want fixed.
Maven, News
The m2eclipse team released an important set of features during last week’s 0.9.5 release. Among the important features released to production are the POM Editor, improvements in content assist features, tweaks to the project creation wizards and a whole host of other features which will change the way you use Eclipse and Maven.
Ease of Navigation: Unit Tests
One of the most useful features is a subtle, yet important navigation link in the output of the Surefire plugin. When a test is listed in the Surefire plugin output, you are now able to click on the name of the test and navigate to it immediately:

Navigating to POMs with CTRL-CLICK
Try this with the new m2eclipse, open up a pom.xml in the m2eclipse pom editor. Now select the final tab which displays the POM XML. Scroll down to your project’s dependencies and CTRL-CLICK (or APPLE-CLICK) on an artifactId of a dependency. m2eclipse will fetch the corresponding POM from the repository and open it in the POM editor:
![]()
Content Assist for Versions
Tired of rifling through the Central Maven repository to figure out the version numbers available for a dependency? Using the new m2eclipse POM Edit and content assist, you can easily retrieve this list from the repository index. Just open up a POM and use content assist in the version field.

To use these and other features of the m2eclipse plugin, go to m2eclipse.sonatype.org and read the Installation instructions on the project page. This page will walk you through the process of installing m2eclipse 0.9.5.
m2eclipse

Juven Xu has been busy translating chapters for the Chinese translation of Maven: The Definitive Guide, and we’re pleased to announce the release of four Chinese chapters.
- Chapter 1: here (Introducing Apache Maven)
- Chapter 2: here (Installing Apache Maven)
- Chapter 4: here (Customizing Maven)
- Chapter 5: here (Simple Web Project)
This is an initial release, and if you click on the links below, you’ll notice that the translated chapters are presented alongside untranslated English chapters. As we progress toward a full translation of Maven: The Definitive Guide, the Table of Contents is going to reflect our progress.
If you have questions about Maven or if you are interested in reading more Maven-oriented content in Chinese, see Juven Xu’s Maven.
PHOTO CREDIT: Licensed under Creative Commons 2.0 Attribution. Photo provided by Montrasio International, see original.
Book, Community, News
Gavin Clarke of The Register covers Sonatype joining the Eclipse Foundation:
From the article:
Van Zyl said efforts to integrate Maven and the Eclipse Web Tools Project and AspectJ are getting the biggest interest from those in the community. Also, he’s looking towards integration between Eclipse’s OSGi-based runtime project, Equinox.
Sonatype will put OSGi-based Ganymede bundles in the Maven central repository in the “near future”, according to van Zyl. Further out, Sonatype plans tools making it possible to search for OSGi components inside Maven and to consume them.
Read the full article at The Register.
Uncategorized
Josh Fruhlinger, one of the bloggers for JavaWorld, points to Paul Krill’s story in InfoWorld this morning. Here’s an excerpt from the InfoWorld piece “New Eclipse member looks to rival Visual Studio”:
[Sonatype was] Founded by the team that built the Apache Maven Java build and release framework and repository, Sonatype joins Eclipse as a strategic developer. Sonatype will lead development of the m2eclipse project, which is an Eclipse plug-in combining Maven and Eclipse. Release 1.0 of m2eclipse is anticipated by mid-September, said Jason van Zyl, CTO and co-founder of Sontatype and developer of Maven.
“Maven combined with the Eclipse IDE is, we think, a solution that is starting to approach the usability of Visual Studio,” van Zyl said.
The company has a seat on the Eclipse Board of Directors and the Eclipse Planning and Architecture council.
Uncategorized
There’s been a new release of Nexus verion 1.0.0-beta-4. To download this new release, go to the Nexus Download Page, and download the release from July 3rd, 2008.
![]()
We’ve also updated the Nexus chapter in the online version of the book to coincide with this release. Changes include a post-install checklist, scheduled services, and coverage of other new features. Including…
![]()
- A Post-install Checklist: Run through this post-install checklist to make sure that your proxied repositories are downloading the remote indexes
- Scheduled Services: Nexus now has support for scheduled services which can run on arbitrary schedules. These services are used for such things as publishing indexes or clearing caches.
- Expanded Coverage of Using Nexus: Browsing Repositories, Groups, and searching for Artifacts
- A section on the System Feeds: Nexus publishes a set of RSS feeds which track system events.
- Reading Nexus logs and configuration files from the Nexus UI
- Instructions for using the new deployment user to conduct secure deployments to hosted repositories.
- Modifying your Maven settings to work with the deployment user security
- …and more…
![]()
Check it out. Go to the Nexus Project Site and Read the Nexus Chapter.
Book, Nexus
Did you know that Scala is all about Maven? David Bernard wrote a quick intro to Maven for Scala programmers back in January. The Updated Version is now the getting started guide for Lift.
![]()
What’s interesting about this is that not only can you quickly create a Scala project using the archetype plugin in Maven, there is also a Maven Scala Plugin. Unique and interesting features of this plugin?
Lift is a Scala web frame, Lift’s main page is a wiki and they also have a Maven site.
Uncategorized
The 4th installment of the Nexus Maven Repository Manager has been released today. Download it from the Nexus Site.
Enhancements / New Features:
- Ability to Define Base URL for hosting behind Apache/Proxy
- Artifact Upload via the UI
- Scheduled Services
- Service to Evict unused artifact from Proxy Repositories
- Snapshot Removal Services
- Reindex / Clear Caches / Publish Group Index services
- Group Browsing
- Left Nav menu optimization and cleanup
- Search Box added to Left Nav
- Logs and Config screens combined
- Maintenance and Configuration Sections collapsed
- Online help section added
- RSS Feeds combined into a new UI, new Feeds added
- Search Result Paging
![]()
<
p>You can read more and download the bundle from the Nexus Project. And you can read more about Nexus in the Nexus Chapter of Maven: The Definitive Guide.
Next up is Beta-5 with a complete rework of the Authorization / Authentication to support Role based access.
Maven, News, Nexus
De Smet Ringo wrote us to let us know of a problem with the Ant Mojo example in Chapter X. He points us to an announcement by Vincent Siveton that the groupId for plugin-tools has changed. We’ve fixed the Ant example and the Writing Alt Plugins chapter in response.
Here’s his message to us:
The plugin dependency should read:
<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-ant</artifactId>
<version>2.4</version>
</dependency>
</dependencies>
for version 2.4 of the plugins and onwards...
If you stick to the 2.0.5 version of the plugin, this
is the error you get when you do site generation of your
maven plugin using Maven 2.0.9:
[INFO] --------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------
[INFO] Error during page generation
Embedded error: No method on class
org.apache.maven.plugin.plugin.PluginReport
[INFO] --------------------------------------------------------
You have to upgrade to the 2.4 release at least to
resolve this. I just lost some time on this one,
and updated documentation will hopefully prevent this
for other users...
Sorry for the trouble, you’ve earned a free copy of the printed book, and hopefully this correction will save some time for other readers.
Uncategorized