Using maven-archetype-har

The maven-archetype-plugin along with our maven-archetype-har package provides an easy way to seed your new har project. Use the command below, filling in your group and artifact id, to generate a proper pom.xml and file layout for the maven-har-plugin.

mvn archetype:create                        \
  -DarchetypeGroupId=net.sf.maven-har       \
  -DarchetypeArtifactId=maven-archetype-har \
  -DarchetypeVersion=1.0                    \
  -DgroupId=[your project's group id]       \
  -DartifactId=[your project's artifact id]