Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

cd thalia-maven/trunk/thalia
mvn clean package

It will create or update the target directory and add the file ROOT.war . 

4. If you're doing a release and the build completed without error, commit the branch. 

...

  c. To specify tomcat authentication info in Maven, add the following line in settings.xml in $M2_HOME/conf/settings.xml
    <server>
      <id>deploymentserver</id>
      <username>username</username>
      <password>password</password>
    </server>

  d. Deploy with Maven:

 mvn tomcat:deploy

The war will be deployed to ROOT. Undeploy ROOT first, then deploy the new war. (How?? Does Maven take care of that? -jbowker )