Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10D95D830 for ; Wed, 29 Aug 2012 22:05:00 +0000 (UTC) Received: (qmail 35697 invoked by uid 500); 29 Aug 2012 22:04:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35657 invoked by uid 500); 29 Aug 2012 22:04:56 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 35648 invoked by uid 99); 29 Aug 2012 22:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 22:04:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kSnortum@catalystitservices.com designates 70.88.117.122 as permitted sender) Received: from [70.88.117.122] (HELO CORPEXCH01.catalystsolves.com) (70.88.117.122) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 22:04:50 +0000 Received: from CORPEXCH01.catalystsolves.com ([::1]) by CORPEXCH01.catalystsolves.com ([::1]) with mapi; Wed, 29 Aug 2012 18:04:40 -0400 From: Knute Snortum To: Tomcat Users List Subject: RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files? Thread-Topic: tomcat7-maven-plugin doesn't understand Maven filtering of context files? Thread-Index: Ac2FQ3KwAbM5gULSQeKumiJUm0yKRwAQHzeAAAWHAEAADPM6gAALw9oAAAoXiYAAAwGP0A== Date: Wed, 29 Aug 2012 22:04:38 +0000 Message-ID: <860E78144996BA4886978AEDFF02CCAAC320A1@CORPEXCH01.catalystsolves.com> References: <860E78144996BA4886978AEDFF02CCAAC31C58@CORPEXCH01.catalystsolves.com> <860E78144996BA4886978AEDFF02CCAAC31F04@CORPEXCH01.catalystsolves.com> <860E78144996BA4886978AEDFF02CCAAC31FC2@CORPEXCH01.catalystsolves.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > -----Original Message----- > From: Olivier Lamy [mailto:olamy@apache.org] > Sent: Wednesday, August 29, 2012 9:32 AM > To: Tomcat Users List > Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of > context files? [section deleted] > > > >> What cli are you using ? > > > > If I understand you, it's this: > > > > mvn clean install tomcat:run -P development > > > > I'm making that up because it's actually run from an Eclipse form. > When I run that from the command line in the project folder, I get the > same results so I think it's right... > > > > I just noticed that the CLI should be: > > > > mvn clean install tomcat7:run -P development > > > > ...with "tomcat7" not "tomcat". This gives me the Tomcat 2.0-beta-1 > version that we were excepting. I also notice the debug flag (-e?) and > that gives me a ton of info. Should I repost the output, or some of it? > Add as an attachment? > Regarding the flag have a look at what mvn -h says :-) (-X is for full > debug trace) > > > Maybe in a jira issue yes but not sure that will help > >> BTW do you have any sample project to reproduce your issue ? > > > > It would be complex to do this, but I'm going to try. I'm not sure > how I would post that. > Just share a project via bitbucket or github. I created a test project in Github: https://github.com/ksnortum/Tomcat7MavenPluginTester It demonstrates what I believe is a bug in tomcat7-maven-plugin. The Tomca= t server that is created does not use the configuration files (e.g.: web.xm= l) in the war file or the war directory that is created. It uses the "proj= ect" files, that is, the ones in src/main/webapp/WEB-INF. If you use Maven= web resource filtering, the war file is changed but the "project" file isn= 't. This is correct. But if tomcat7-maven-plugin doesn't use the war conf= iguration files, then how can you properly test the war file? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > >=20 >=20 >=20 > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org