Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Maven2 Archetypes

Maven2 has a powerful feature called Archetype.

As part of the Cargo project we have created some Archetype that you can use to get a working project sample using the Cargo Maven2 plugin.

Single Webapp Module Archetype

Shows how to configure Cargo and Maven2 to run functional tests directly from a single webapp module. To run it, execute:

where

  • <version> is the version of the Cargo Archetype (for example 1.0.1)
  • <application groupId> is the groupId of the application that will be generated
  • <application artifactId> is the artifactId of the application that will be generated
  • <application version> is the version of the application that will be generated

Separate Functional Test Module Archetype

Shows how to configure Cargo and Maven2 to run functional tests by creating a functional tests module next to the webapp module. To run it, execute:

  • No labels