The Artima Developer Community
Sponsored Link

Java Buzz Forum
Exploring Maven 3 with John Ferguson Smart

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Exploring Maven 3 with John Ferguson Smart Posted: Oct 22, 2009 7:14 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Exploring Maven 3 with John Ferguson Smart
Feed Title: Java Today
Feed URL: http://weblogs.java.net/blog/editors/index.rdf
Feed Description: Java Today on java.net
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From Java Today

Advertisement

John Ferguson Smart's new java.net article and his latest blog post both investigate aspects of the upcoming Version 3 of Apache Maven. Maven, in case you're not familiar with it, is a "software project management and comprehension tool." At the core of Maven's application to a specific software project is the project object model (POM). The POM file provides information on the basic structure of the project, and enables Maven to manage a project's build, reporting, and documentation. It's all about automating tasks that once required a lot of repetitious keystrokes by developers, QA teams, and others.

If you read John's writings on java.net and elsewhere, it's readily apparent that automating the processes of developing, building, and testing software are high on his list of concerns. In fact, professionally, he spends a lot of his time training and mentoring companies on agile development and software lifecycle management. Given this background, it's no surprise that Maven is among John's interests.

Last week we published John's article, "Working with Maven in NetBeans 6.7.1". This article outlines and demonstrates many new features in NetBeans 6.7.1 that facilitate working with Maven. Subtopics in the article include:

  • Creating a Maven project in NetBeans
  • Working with your Maven project
  • Managing the Pom file
  • Managing Dependencies

In his latest blog post, Writing your pom files in Groovy - a sneek preview of Maven 3's polyglot features, John talks about the new Maven 3 feature where your POM file doesn't have to be written in the historical XML format. In the post, John demonstrates how you could write a POM file in Groovy. He notes, however, that Maven 3 is expected to support writing POM files in other scripting languages as well.

One interesting item in the new Maven is the translator tool. This tool will translate your existing XML POM files into a different language, for example, Groovy:

$ translator pom.xml pom.groovy

John closes his blog post with:

I've just scratched the surface of Maven 3 Groovy support, but hopefully this will give you some idea of what it's all about. In the coming weeks, I'll write about some of the other new features in Maven 3.

I look forward to reading those posts!


In Java Today, the java.net Mobile and Embedded Community is featuring the story Mixins in JavaFX 1.2 Technology:

With the release of version 1.2 of JavaFX technology, developers have a new style of class inheritance: a mixin. A mixin is a type of class that can be inherited by a subclass, but it is not meant for instantiation. In this manner, mixins are similar to interfaces in the Java programming language. However, the difference is that mixins may actually define method bodies and class variables in addition to constants and method signatures...

The java.net NetBeans Community is featuring a news item on OSUM: OSUM Hosts Global NetBeans Demo Fest!:

For the month of October, the OSUM (the Open Source University Meetup) Community is celebrating NetBeans technology by hosting tech demos of the IDE around the world! OSUM is a global network of student developers and on-campus clubs. Membership in OSUM gives students access to free technology training, on-campus events, and tons of free student resources to help them grow as developers and widen their career opportunities. Are you a student or an educator? You can join OSUM and participate in the community's month-long NetBeans Demo Fest by visiting the OSUM site, locating your school's OSUM group, and finding scheduled demo events. Gather your developer friends or students and watch (or show) cool demos of the NetBeans IDE in action...

peligri announces Now Playing, Kohsuke! Recording of Hudson Webinar Now Available:

Kohsuke's Webinar on Hudson last week was a success; it was very well attended and had Great Reviews, and it is now Available for Replay (free, but requires registration). If you are interested in the topic, also check the Hudson Whitepaper...

In today's Weblogs, John Ferguson Smart discusses Writing your pom files in Groovy - a sneek preview of Maven 3's polyglot features:

Maven 3 is promising to be the most significant upgrade since the release of Maven 2. While maintaining backward compatibility with existing Maven 2 projects, it introduces a number of powerful and compelling new features, such as a complete rewrite of the internal architecture, OSGi support and multi-language pom files. In this article, I will be giving a preview of this last feature. One exciting new feature in Maven 3 is it's ability to work with pom files written in non-XML notations. The Maven core now provides an underlying DSL to access the Maven internals, and write POM files in the language of your choice...

Joshua Marinacci introduces My new blog:

As many of you may know, user interface design is a passion of mine. I want software that both looks pretty and acts well. I've had lots of ideas on the topic, often bleeding over into art and traditional design, in addition to usability. After thinking about it for a couple of years I've finally decided to create a blog dedicated to the topic: www.joshondesign.com. At Josh On Design I'll be writing on art, design, and usability, but with a twist. There are plenty of design sites that focus on professional designers. My site will focus specifically on design for software engineers...

And Cay Horstmann provides instruction on Monitoring the HTTP Traffic in a JSF Redirect:

I wanted to trace exactly what happens when a JSF page uses a redirect. Here are my experiences with the HTTP and TCP/IP monitors in NetBeans and Eclipse, and why I ended up using Wireshark instead. Consider the usual JSF flow. The client makes a GET request for the first page. That's a special case, but from then on everything follows a pattern. The server renders a page containing an HTML form that is to be posted back to the same URL. The client makes a POST, the server navigates to a new page and renders it. The problem is that the browser requested the new page with the old URL, and so the browser bar URL is always one step behind...

In the Forums, pablopina needs information on JMS lookup in clustered environment: "We are trying to deploy our app to a cluster. My app client can't find the JMS resources any more on startup (through @Resource annotaions). Is there a different way of looking up JMS resources when running on cluster? ..."

scottjg needs help regarding ServiceActivity and ActivityEndEvent: "Hi, Does Mobicents send ActivityEndEvent for ServiceActivity when for example service is uninstalled or stoped? I provide method for ServiceStartedEvent and ActivityEndEvent, and additionaly I attache again to ServiceActivity ACI in..."

And matbitty has a Problem using the data-extension.type with graphml and JAXB: "[nobr]My first post, so trying to get everything correct… Hello to everyone, I was working on a project, where it is necessary to write an graphml file (http://graphml.graphdrawing.org/) ...."


Our current Spotlight is Interview: André van Kouwen and the GMVC Project: java.net editor Kevin Farnham has published a new article, "Interview: André van Kouwen and the GMVC Project". André recently founded a new java.net project, GMVC (see also the Swing's Generic MVC interface page). In the interview, André talked about why he started the project, the project's long-term objectives, and more.


The new java.net Poll asks Is Oracle good for Java? Today (Thursday) is the last full day of polling.


Our current "(Not So) Stupid Questions" topic for discussion is Does Java Speak for Itself? It was suggested at Oracle OpenWorld that Java indeed does speak for itself. But, what does that statement mean? Does it have any truth? Register your view by posting a comment.

Our Feature Articles include Manish K. Maheshwari's Sweeping the File System with NIO-2, which describes how JSR 203 (NIO-2), which is being implemented in the OpenJDK project, is shaping the future of I/O in the upcoming JDK 7. We're also featuring John Ferguson Smart's article Working with Maven in NetBeans 6.7.1, which shows why, if you are a NetBeans user working with Maven, you're in luck with NetBeans 6.7.1.


The latest Java Mobility Podcast is Java Mobile Podcast 90: Augmented Reality: Excerpts from the JavaOne 2009 Augmented Reality session with Kenneth Andersson and Erik Hellman of Sony Ericsson.


Current and upcoming Java Events:

Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site.


Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive.

-- Kevin Farnham
O'Reilly Media

Read: Exploring Maven 3 with John Ferguson Smart

Topic: Everything will be mobile Previous Topic   Next Topic Topic: Stocks fall as results from Bank of America, General Electric rattle investors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use