April 8, 2011

Maven and Perforce


With the 2011.1 release of the Perforce Java product line, Perforce adds P4Maven, a full-featured integration with the Maven software management and build system. Maven is much more than just a build tool, and now you can take advantage of all the features of Perforce in your Maven project -- and vice versa.

Maven offers compelling features for continuous integration, dependency management, and artifact distribution, along with the normal build and packaging mechanisms. As part of a continuous integration system, Maven can seamlessly build, package, test, deploy, and distribute your project.

To support its interaction with SCM systems, Maven has a set of defined SCM goals. P4Maven uses Perforce's P4Java API to plug into that framework with very little extra configuration.

Whole books have been written about the effective use of Maven, so I’d encourage you to just grab P4Maven and start using it. If you’re looking for some examples, stay tuned! There’s a lot more information coming about using Perforce's Java product line as part of the Maven ecosystem. If you want to hear the latest and greatest, drop by the User Conference for the presentation on the Perforce Java platform.