Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F0E09FE8 for ; Fri, 15 Jun 2012 15:42:51 +0000 (UTC) Received: (qmail 3171 invoked by uid 500); 15 Jun 2012 15:42:49 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 3021 invoked by uid 500); 15 Jun 2012 15:42:49 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 2937 invoked by uid 99); 15 Jun 2012 15:42:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 15:42:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8DFC1142863 for ; Fri, 15 Jun 2012 15:42:45 +0000 (UTC) Date: Fri, 15 Jun 2012 15:42:45 +0000 (UTC) From: "Neale Upstone (JIRA)" To: dev@tomcat.apache.org Message-ID: <295147282.19088.1339774965583.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (MTOMCAT-60) Multiple-War-Deployment in configuration section. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-60?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Neale Upstone updated MTOMCAT-60: --------------------------------- Comment: was deleted (was: I'm creating a new patch now) =20 > Multiple-War-Deployment in configuration section. > ------------------------------------------------- > > Key: MTOMCAT-60 > URL: https://issues.apache.org/jira/browse/MTOMCAT-60 > Project: Apache Tomcat Maven Plugin > Issue Type: Improvement > Reporter: Joerg Bellmann > Priority: Minor > Attachments: SaxExceptionFix.patch, maven-tomcat-plugin.patch.txt= , patch-for-tomcat6.patch > > > When a user want to deploy multiple webapps with the plugin it uses all p= roject-war-dependencies with scope 'tomcat'. Maven 3 shows the following me= ssage at project-processing: > {code} > [INFO] Scanning for projects... > [WARNING]=20 > [WARNING] Some problems were encountered while building the effective mod= el for de.jbellmann.failsafe:de.jbellmann.failsafe.web:war:0.0.1-SNAPSHOT > [WARNING] 'dependencies.dependency.scope' for org.springframework.samples= :mvc-showcase:war must be one of [provided, compile, runtime, test, system]= but is 'tomcat'. @=20 > [WARNING]=20 > [WARNING] It is highly recommended to fix these problems because they thr= eaten the stability of your build. > [WARNING]=20 > [WARNING] For this reason, future Maven versions might no longer support = building such malformed projects. > {code} > Configuring the additional webapps in the configuration section like this= for example : > {code} > =09=09=09 > =09=09=09=09org.codehaus.mojo > =09=09=09=09tomcat-maven-plugin > =09=09=09=091.1-SNAPSHOT > =09=09=09=09 > =09=09=09=09=09 > =09=09=09=09=09=09start-tomcat-integration-tests > =09=09=09=09=09=09 > =09=09=09=09=09=09=09run > =09=09=09=09=09=09 > =09=09=09=09=09=09pre-integration-test > =09=09=09=09=09=09 > =09=09=09=09=09=09=09true > =09=09=09=09=09=09=09true > =09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09=09=09org.springframework.samples > =09=09=09=09=09=09=09=09=09=09mvc-showcase > =09=09=09=09=09=09=09=09=09=091.0.0-BUILD-SNAPSHOT > =09=09=09=09=09=09=09=09=09=09/mvc-showcase2 > =09=09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09 > =09=09=09=09 > =09=09=09 > {code} > avoids the warnings and makes maven 3 happy. > As a plus you can configure an contextPath different from the artifactId. > This solution was inspired by the 'maven-dependency-plugin' and uses some= code-snippets from it. > J=C3=B6rg Bellmann -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org