Monthly Archives: July 2008

Infoworld, Bloggers React to Our Eclipse Debut


July 15, 2008 By Tim O'Brien

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.

Updates to Nexus Chapter: Services, Security, and more…


July 8, 2008 By Tim O'Brien

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.

Polyglot Maven: Maven for Scala


By Tim O'Brien

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.

Nexus 1.0 Beta-4 Released


By Brian Fox

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.

Corrected the Ant Mojo Examples


July 7, 2008 By Tim O'Brien

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.