org.apache.maven.plugin.war

Class WarMojo

public class WarMojo extends AbstractWarMojo

Build a war/webapp.

Version: $Id: WarMojo.java 390289 2006-03-31 00:17:24Z brett $

Author: Emmanuel Venisse

UNKNOWN: war package runtime

Method Summary
voidexecute()
Executes the WarMojo on the current project.
protected StringgetClassifier()
Overload this to produce a test-war, for example.
protected static FilegetWarFile(File basedir, String finalName, String classifier)

Method Detail

execute

public void execute()
Executes the WarMojo on the current project.

Throws: MojoExecutionException if an error occured while building the webapp

getClassifier

protected String getClassifier()
Overload this to produce a test-war, for example.

getWarFile

protected static File getWarFile(File basedir, String finalName, String classifier)
Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.