Date: 2004-12-10T11:56:07 Editor: DanDiephouse <[EMAIL PROTECTED]> Wiki: Apache Beehive Wiki Page: MavenBeehivePlugin URL: http://wiki.apache.org/beehive/MavenBeehivePlugin
no comment Change Log: ------------------------------------------------------------------------------ @@ -5,24 +5,25 @@ * Helps you generate WARs for your application == Installing the Plugin == -The plugin isn't yet in SVN, but it can be downloaded [http://www.codehaus.org/~dandiep/mavenplugin.tgz here]. To install: { { { +The plugin isn't yet in SVN, but it can be downloaded [http://www.codehaus.org/~dandiep/mavenplugin.tgz here]. To install: {{{ $ cd maven-beehive-plugin $ maven plugin:install -} } } +}}} After that you should be ready to go! == Setting up your Maven Project == -To set up your Maven project to use the plugin, you just add a couple lines to your project.properties file telling Maven to use Java 5 and the plugin you just installed. { { { +To set up your Maven project to use the plugin, you just add a couple lines to your project.properties file telling Maven to use Java 5 and the plugin you just installed. {{{ maven.compile.source=1.5 maven.compile.target=1.5 beehive.compile.enable=true -} } } +}}} == Building and Testing Your Application == You can build and test your application with the normal maven commands, "maven jar" and "maven test". == Building and Testing Webapps == + The plugin attempts to leverage the work that work that WAR plugin has done to make building webapps easy. Please read the [http://maven.apache.org/reference/plugins/war/ Maven War plugin documentation] on how to set up Maven for web applications. Currently there is only support for the "war:inplace" command (the rest are coming soon!). When the Beehive Maven plugin is installed, war:inplace will process your JPF files and build the app. Then just add your webapp directory to Tomcat to be loaded.
