From amanda59@example.org Mon Sep 01 07:25:42 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 71173 invoked from network); 1 Sep 2003 07:25:42 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 07:25:42 -0000 Received: (qmail 65065 invoked by uid 500); 1 Sep 2003 07:25:09 -0000 Delivered-To: amanda59@example.org Received: (qmail 65008 invoked by uid 500); 1 Sep 2003 07:25:09 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 64876 invoked from network); 1 Sep 2003 07:25:07 -0000 Received: from unknown (HELO adslgateway.multitask.com.au) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 07:25:07 -0000 In-Reply-To: <014c01c3704b$f5899b00$67ce56d8@hagelhost> To: "Maven Users List" <amanda59@example.org> Subject: Re: plugin.jelly variables not available in <postGoal> MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003 From: amanda59@example.org Message-ID: <amanda59@example.org> Date: Mon, 1 Sep 2003 16:56:46 +1000 X-MIMETrack: Serialize by Router on ADSLGateway/Multitask Consulting/AU(Release 6.0|September 26, 2002) at 01/09/2003 05:29:21 PM, Serialize complete at 01/09/2003 05:29:21 PM Content-Type: multipart/alternative; boundary="=_alternative 0025A5D8CA256D94_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 0025A5D8CA256D94_= Content-Type: text/plain; charset="US-ASCII" I think xdoc has an init goal for that. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "khote" <amanda59@example.org> wrote on 01/09/2003 03:43:22 PM: > I can use > ${pom.getPluginContext('maven-WHATEVER-plugin').getVariable('XXX')} only if > that WHATEVER plugin was invoked prior to the pre or post Goal I'm working > with. I think it has to load that stuff from the plugin's > project.properties, I don't yet know of a way to "easily" load those > properties files. > > I was using the xdoc plugin, and for some reason wanted to include the > target/docs in my WAR. Since it's always convenient to use the default > properties when they work, I wanted to use the xdoc properties. > If I run: > > $ maven xdoc > $ maven war > > rather than: > > $ maven xdoc war > > then the xdoc properties would not be available to my war:webapp postGoal > using the > > ${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.xdoc.dest.dir > ')} (or whatever it was). > > What if I have several versions of the plugin, including a SNAPSHOT? Maven > seems to know how to load the latest and greatest, perhaps I'd have to write > a plugin to do all that for me: maven-loadUninvokedPluginProperties-plugin > or some such. > > ----- Original Message ----- > From: <amanda59@example.org> > To: "Maven Users List" <amanda59@example.org> > Sent: Sunday, August 31, 2003 9:53 PM > Subject: Re: plugin.jelly variables not available in <postGoal> > > > > Does > > ${pom.getPluginContext('maven-war-plugin').getVariable('XXX')} > > help? > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > "khote" <amanda59@example.org> wrote on 30/08/2003 10:25:26 AM: > > > > > I'm playing around with a postGoal for webapp ... > > > > > > <postGoal name="war:webapp"> > > > .... > > > </postGoal> > > > > > > I'm copying the docs directory generated by the xdoc plugin into my .war > > > > > > I notice in the plugin documentation that certain values such as > > > maven.war.webapp.dir have default values. I look in the > > maven-war-plugin's > > > plugin.jelly and see where they are set. Yet these values are not > > available > > > to my maven.xml postGoal, in fact they have no value at all by the time > > they > > > get there. I have to manually set them in > > > project.properties/build.properties or even reset them to the same > > values in > > > my maven.xml postGoal. It would be nice if I could use the expected > > > defaults in postGoals, is there a setting somewhere that can take care > > of > > > this? > > > > > > K > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: amanda59@example.org > > > For additional commands, e-mail: amanda59@example.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: amanda59@example.org > For additional commands, e-mail: amanda59@example.org > --=_alternative 0025A5D8CA256D94_=-- From amanda59@example.org Mon Sep 01 08:15:17 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 94121 invoked from network); 1 Sep 2003 08:15:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 08:15:16 -0000 Received: (qmail 71346 invoked by uid 500); 1 Sep 2003 08:14:39 -0000 Delivered-To: amanda59@example.org Received: (qmail 71296 invoked by uid 500); 1 Sep 2003 08:14:38 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 71275 invoked from network); 1 Sep 2003 08:14:37 -0000 Received: from unknown (HELO adslgateway.multitask.com.au) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 08:14:37 -0000 To: amanda59@example.org Subject: Checkstyle plugin 2.0 release MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003 From: amanda59@example.org Message-ID: <amanda59@example.org> Date: Mon, 1 Sep 2003 17:32:37 +1000 X-MIMETrack: Serialize by Router on ADSLGateway/Multitask Consulting/AU(Release 6.0|September 26, 2002) at 01/09/2003 06:18:52 PM, Serialize complete at 01/09/2003 06:18:52 PM Content-Type: multipart/alternative; boundary="=_alternative 00290D23CA256D94_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 00290D23CA256D94_= Content-Type: text/plain; charset="US-ASCII" The Maven team is pleased to announce the Checkstyle plugin 2.0 release! http://maven.apache.org/reference/plugins/checkstyle/ The Maven Checkstyle plugin is a plugin for Checkstyle (http://checkstyle.sourceforge.net) that allows for code to be checked and a Maven report produced Changes in this version: Note that this plugin has been tested with Maven HEAD. Using it with another version of Maven is at your own risks! :-) You can download the Checkstyle Maven plugin here: http://www.ibiblio.org/maven/maven/plugins/maven-checkstyle-plugin-2.0.jar Have fun! -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ --=_alternative 00290D23CA256D94_=-- From amanda59@example.org Mon Sep 01 10:45:15 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 65139 invoked from network); 1 Sep 2003 10:45:14 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 10:45:14 -0000 Received: (qmail 95713 invoked by uid 500); 1 Sep 2003 10:45:06 -0000 Delivered-To: amanda59@example.org Received: (qmail 95505 invoked by uid 500); 1 Sep 2003 10:45:04 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 95442 invoked from network); 1 Sep 2003 10:45:03 -0000 Received: from unknown (HELO GB002EX001.uk.mytravelgroup.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 10:45:03 -0000 Received: by GB002EX001.uk.mytravelgroup.net with Internet Mail Service (5.5.2653.19) id <RL1160WH>; Mon, 1 Sep 2003 11:29:55 +0100 Message-ID: <8B90BED96552D4119D5100508B694F740357CC6B@NTMED-EXC001> From: "Bateman, Patrick eMEDIA" <amanda59@example.org> To: 'Maven Users List' <amanda59@example.org> Subject: Adding RMIC into the jar goal Date: Mon, 1 Sep 2003 11:30:53 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N How do I integrate rmic into the jar goal ? Thanks Pat -----Original Message----- From: Bateman, Patrick eMEDIA [mailto:amanda59@example.org] Sent: 29 August 2003 11:05 To: 'Maven Users List' Subject: Test Plugin : maven.junit.sysproperties I'm trying the set two properties for my JUnit tests using 'maven.junit.sysproperties' maven.junit.sysproperties=mtconfig_env mtconfig_dir mtconfig_env=${mtconfig_env} mtconfig_dir=${basedir}/../mt_config/ This cause a stack overflow because mt_config is self referencing. What I really want to achieve is to initialise mtconfig_env with an environment varaible from the OS. How do Maven property files load environment variables from the OS? Thanks Pat This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 14:19:07 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 62083 invoked from network); 1 Sep 2003 14:19:06 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 14:19:06 -0000 Received: (qmail 78335 invoked by uid 500); 1 Sep 2003 14:18:26 -0000 Delivered-To: amanda59@example.org Received: (qmail 78287 invoked by uid 500); 1 Sep 2003 14:18:25 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 78196 invoked from network); 1 Sep 2003 14:18:24 -0000 Received: from unknown (HELO herkules.vie.weberhofer.at) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 14:18:24 -0000 Received: (qmail 907 invoked by uid 0); 1 Sep 2003 14:18:20 -0000 Received: from amanda59@example.org by herkules by uid 101 with qmail-scanner-1.16 (uvscan: v4.2.40/v4290. spamassassin: 2.55. Clear:SA:0(-0.5/5.0):. Processed in 0.8018 secs); 01 Sep 2003 14:18:20 -0000 X-Spam-Status: No, hits=-0.5 required=5.0 Received: from c-web2.vie.weberhofer.at (HELO weberhofer.at) (83.161.120.155) by herkules.vie.weberhofer.at with SMTP; 1 Sep 2003 14:18:19 -0000 Message-ID: <amanda59@example.org> Date: Mon, 01 Sep 2003 16:18:18 +0200 From: Markus Pscheidt <amanda59@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030813 Thunderbird/0.2a X-Accept-Language: en-us, en MIME-Version: 1.0 To: amanda59@example.org Subject: Integrate jaxrpc as dependency Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! What is the best way to integrate jaxrpc - which is part of the Java Web Service Developer Pack (Java WSDP) - into the dependeny list of my project.xml file? I need it because i want to have Axis in my dependencies list also. The problem is that there seems to be no download place available for jaxrpc.jar which I could use in the URL parameter of the dependency element. The place at ibiblio does not contain jar files for jaxrpc ( http://www.ibiblio.org/maven/jaxrpc/ ). Of course, one solution is to copy jaxrpc.jar to $MAVEN_REPO_LOCAL/jaxrpc/jars/jaxrpc-1.0.jar, but this is not very elegant. Markus --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 14:39:35 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 70536 invoked from network); 1 Sep 2003 14:39:35 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 14:39:35 -0000 Received: (qmail 23177 invoked by uid 500); 1 Sep 2003 14:39:13 -0000 Delivered-To: amanda59@example.org Received: (qmail 23123 invoked by uid 500); 1 Sep 2003 14:39:12 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 23058 invoked from network); 1 Sep 2003 14:39:11 -0000 Received: from unknown (HELO th24.opsion.fr) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 14:39:11 -0000 Received: from 83.161.120.155 [83.161.120.155] by th24.opsion.fr id 200309011430.3795; Mon, 1 Sep 2003 14:30:55 GMT Message-ID: <005201c37096$27930e20$020b4b0a@7J09FL58803V> From: "Emmanuel Venisse" <amanda59@example.org> To: "Maven Users List" <amanda59@example.org> References: <amanda59@example.org> Subject: Re: Integrate jaxrpc as dependency Date: Mon, 1 Sep 2003 16:34:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Markus Pscheidt" <amanda59@example.org> To: <amanda59@example.org> Sent: Monday, September 01, 2003 4:18 PM Subject: Integrate jaxrpc as dependency > Hi! > > What is the best way to integrate jaxrpc - which is part of the Java Web > Service Developer Pack (Java WSDP) - into the dependeny list of my > project.xml file? I need it because i want to have Axis in my > dependencies list also. > > The problem is that there seems to be no download place available for > jaxrpc.jar which I could use in the URL parameter of the dependency > element. The place at ibiblio does not contain jar files for jaxrpc ( > http://www.ibiblio.org/maven/jaxrpc/ ). > > Of course, one solution is to copy jaxrpc.jar to > $MAVEN_REPO_LOCAL/jaxrpc/jars/jaxrpc-1.0.jar, but this is not very elegant. It's the solution. Else, you can create your remote repository on your web server, and define : maven.repo.remote = http://www.ibiblio.org/maven, http://your-server Else, you can use MavenProxy (http://wiki.codehaus.org/maven/MavenProxy) > > Markus > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: amanda59@example.org > For additional commands, e-mail: amanda59@example.org > > _____________________________________________________________________ > Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger > http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 14:46:32 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 74609 invoked from network); 1 Sep 2003 14:46:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 14:46:31 -0000 Received: (qmail 46744 invoked by uid 500); 1 Sep 2003 14:46:19 -0000 Delivered-To: amanda59@example.org Received: (qmail 46692 invoked by uid 500); 1 Sep 2003 14:46:16 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 46671 invoked from network); 1 Sep 2003 14:46:15 -0000 Received: from unknown (HELO salix.caltha.pl) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 14:46:15 -0000 Received: from caltha.pl (actaea.caltha.pl [888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4.161.120.155]) (IDENT: fil, AUTH: LOGIN rafal) by salix.caltha.pl with esmtp; Mon, 01 Sep 2003 16:45:51 +0200 Message-ID: <amanda59@example.org> Date: Mon, 01 Sep 2003 18:45:34 +0200 From: Rafal Krzewski <amanda59@example.org> Organization: Caltha Sp. J. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030829 X-Accept-Language: en MIME-Version: 1.0 To: Maven Users List <amanda59@example.org> Subject: Re: Integrate jaxrpc as dependency References: <amanda59@example.org> In-Reply-To: <amanda59@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Markus Pscheidt wrote: > The problem is that there seems to be no download place available for > jaxrpc.jar which I could use in the URL parameter of the dependency > element. The place at ibiblio does not contain jar files for jaxrpc ( > http://www.ibiblio.org/maven/jaxrpc/ ). Sun's licensig policy does not allow ibiblio (and others) to redistribute their software. A solution (legal+technical) is being worked on to assist Maven users in dowloading necessary jars fulfilling Sun's policy (which is presenting full license text to the user and his/ her explicit acceptance of it). > Of course, one solution is to copy jaxrpc.jar to > $MAVEN_REPO_LOCAL/jaxrpc/jars/jaxrpc-1.0.jar, but this is not very elegant. Until the aforementioned solution is complete this is exactly the way you should solve your problem. R. --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 17:09:48 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 26876 invoked from network); 1 Sep 2003 17:09:48 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 17:09:48 -0000 Received: (qmail 45291 invoked by uid 500); 1 Sep 2003 17:09:16 -0000 Delivered-To: amanda59@example.org Received: (qmail 45233 invoked by uid 500); 1 Sep 2003 17:09:15 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 45186 invoked from network); 1 Sep 2003 17:09:14 -0000 Received: from unknown (HELO mwinf0405.wanadoo.fr) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 17:09:14 -0000 Received: from mwinf0402.wanadoo.fr (mwinf0402 [83.161.120.155]) by mwinf0405.wanadoo.fr (SMTP Server) with ESMTP id C52EC14007CD6 for <amanda59@example.org>; Mon, 1 Sep 2003 18:49:44 +0200 (CEST) Received: from wanadoo.fr (AFontenayssB-110-1-3-221.w80-15.abo.wanadoo.fr [83.161.120.155]) by mwinf0402.wanadoo.fr (SMTP Server) with ESMTP id 0D52C8000ED for <amanda59@example.org>; Mon, 1 Sep 2003 18:49:33 +0200 (CEST) Message-ID: <amanda59@example.org> Date: Mon, 01 Sep 2003 18:49:55 +0200 From: Gilles Dodinet <amanda59@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven Users List <amanda59@example.org> Subject: Re: plugin.jelly variables not available in <postGoal> References: <amanda59@example.org> In-Reply-To: <amanda59@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ive encountered such a problem some time ago. i solved it by adding a namespace pointing to the plugin (or so it seems) : <project xmlns:test="test" ..> ... </project> where test is the test plugin (maven-test-plugin). - please note that after that the 'test' namespace was never used. im really not sure if this should work (perhaps if this was just a side-effect), tho it has for me. maybe this can help. -- gd Brett Porter wrote: >Most plugins have a hook that you can add as a prereq (although not on a >preGoal - you'd need to do that differently by preGoal calling attainGoal on >the content). > >Eg. War:load does nothing but bring the plugin into action. > >This is likely to change in the future. > >- Brett > > > >>-----Original Message----- >>From: khote [mailto:amanda59@example.org] >>Sent: Monday, 1 September 2003 3:43 PM >>To: Maven Users List >>Subject: Re: plugin.jelly variables not available in <postGoal> >> >> >>I can use >>${pom.getPluginContext('maven-WHATEVER-plugin').getVariable('X >>XX')} only if that WHATEVER plugin was invoked prior to the >>pre or post Goal I'm working with. I think it has to load >>that stuff from the plugin's project.properties, I don't yet >>know of a way to "easily" load those properties files. >> >>I was using the xdoc plugin, and for some reason wanted to >>include the target/docs in my WAR. Since it's always >>convenient to use the default properties when they work, I >>wanted to use the xdoc properties. If I run: >> >>$ maven xdoc >>$ maven war >> >>rather than: >> >>$ maven xdoc war >> >>then the xdoc properties would not be available to my >>war:webapp postGoal using the >> >>${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven >>.xdoc.dest.dir >>')} (or whatever it was). >> >>What if I have several versions of the plugin, including a >>SNAPSHOT? Maven seems to know how to load the latest and >>greatest, perhaps I'd have to write a plugin to do all that >>for me: maven-loadUninvokedPluginProperties-plugin >>or some such. >> >>----- Original Message ----- >>From: <amanda59@example.org> >>To: "Maven Users List" <amanda59@example.org> >>Sent: Sunday, August 31, 2003 9:53 PM >>Subject: Re: plugin.jelly variables not available in <postGoal> >> >> >> >> >>>Does ${pom.getPluginContext('maven-war-plugin').getVariable('XXX')} >>>help? >>>-- >>>dIon Gillard, Multitask Consulting >>>Blog: http://blogs.codehaus.org/people/dion/ >>> >>> >>>"khote" <amanda59@example.org> wrote on 30/08/2003 10:25:26 AM: >>> >>> >>> >>>>I'm playing around with a postGoal for webapp ... >>>> >>>><postGoal name="war:webapp"> >>>>.... >>>></postGoal> >>>> >>>>I'm copying the docs directory generated by the xdoc >>>> >>>> >>plugin into my .war >> >> >>>>I notice in the plugin documentation that certain values such as >>>>maven.war.webapp.dir have default values. I look in the >>>> >>>> >>>maven-war-plugin's >>> >>> >>>>plugin.jelly and see where they are set. Yet these values are not >>>> >>>> >>>available >>> >>> >>>>to my maven.xml postGoal, in fact they have no value at >>>> >>>> >>all by the time >> >> >>>they >>> >>> >>>>get there. I have to manually set them in >>>>project.properties/build.properties or even reset them to the same >>>> >>>> >>>values in >>> >>> >>>>my maven.xml postGoal. It would be nice if I could use >>>> >>>> >>the expected >> >> >>>>defaults in postGoals, is there a setting somewhere that >>>> >>>> >>can take care >> >> >>>of >>> >>> >>>>this? >>>> >>>>K >>>> >>>> >>>> >>>> >>>> >>--------------------------------------------------------------------- >> >> >>>>To unsubscribe, e-mail: amanda59@example.org >>>>For additional commands, e-mail: amanda59@example.org >>>> >>>> >>>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: amanda59@example.org >>For additional commands, e-mail: amanda59@example.org >> >> >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 17:24:03 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 30928 invoked from network); 1 Sep 2003 17:24:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 17:24:01 -0000 Received: (qmail 75108 invoked by uid 500); 1 Sep 2003 17:22:19 -0000 Delivered-To: amanda59@example.org Received: (qmail 75028 invoked by uid 500); 1 Sep 2003 17:22:19 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 74935 invoked from network); 1 Sep 2003 17:22:18 -0000 Received: from unknown (HELO mail.speakeasy.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 17:22:18 -0000 Received: (qmail 20979 invoked from network); 1 Sep 2003 17:14:53 -0000 Received: from unknown (HELO davetoshiba) ([83.161.120.155]) (envelope-sender <amanda59@example.org>) by mail7.speakeasy.net (qmail-ldap-1.03) with SMTP for <amanda59@example.org>; 1 Sep 2003 17:14:53 -0000 Message-ID: <001301c370ac$8b7ce5d0$be7ba8c0@davetoshiba> From: "Dave Ford" <amanda59@example.org> To: "Maven Users" <amanda59@example.org> Subject: Dependency Groups Date: Mon, 1 Sep 2003 10:14:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is there a way to define reusable "lib groups"? IntelliJ lets you do this under project properties/paths/libraries. For example, if i use hibernate in 5 different projects. And hibernate requires 5 jar files. That's a lot of extra typing in project.xml (dependencies section). Dave Ford Smart Soft - The Developer Training Company http://www.smart-soft.com --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 17:40:47 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 36988 invoked from network); 1 Sep 2003 17:40:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 17:40:47 -0000 Received: (qmail 23871 invoked by uid 500); 1 Sep 2003 17:40:29 -0000 Delivered-To: amanda59@example.org Received: (qmail 23815 invoked by uid 500); 1 Sep 2003 17:40:29 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 23794 invoked from network); 1 Sep 2003 17:40:28 -0000 Received: from unknown (HELO cuaima.ica.luz.ve) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 17:40:28 -0000 Received: from tragavenado.ica.luz.ve (tragavenado.ica.luz.ve [83.161.120.155]) by cuaima.ica.luz.ve (Postfix) with ESMTP id 473531A229 for <amanda59@example.org>; Mon, 1 Sep 2003 14:43:27 -0400 (VET) From: Nelson =?iso-8859-1?q?Arap=E9?= <amanda59@example.org> To: "Maven Users List" <amanda59@example.org> Subject: Re: Dependency Groups Date: Mon, 1 Sep 2003 13:41:25 -0400 User-Agent: KMail/1.5.3 References: <001301c370ac$8b7ce5d0$be7ba8c0@davetoshiba> In-Reply-To: <001301c370ac$8b7ce5d0$be7ba8c0@davetoshiba> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <amanda59@example.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You may use XML Entities Nelson Arap=E9 On Monday 01 September 2003 13:14, Dave Ford wrote: > Is there a way to define reusable "lib groups"? IntelliJ lets you do this > under project properties/paths/libraries. For example, if i use hibernate > in 5 different projects. And hibernate requires 5 jar files. That's a lot > of extra typing in project.xml (dependencies section). > > > Dave Ford > Smart Soft - The Developer Training Company > http://www.smart-soft.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: amanda59@example.org > For additional commands, e-mail: amanda59@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 17:43:10 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 38572 invoked from network); 1 Sep 2003 17:43:10 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 17:43:10 -0000 Received: (qmail 26804 invoked by uid 500); 1 Sep 2003 17:41:08 -0000 Delivered-To: amanda59@example.org Received: (qmail 26649 invoked by uid 500); 1 Sep 2003 17:41:06 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 26608 invoked from network); 1 Sep 2003 17:41:06 -0000 Received: from unknown (HELO hogshead.codehaus.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 17:41:06 -0000 Received: from [83.161.120.155] (CPE00045a0b555b-CM023080004191.cpe.net.cable.rogers.com [83.161.120.155]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id h81HrM125221 for <amanda59@example.org>; Mon, 1 Sep 2003 12:53:22 -0500 Subject: Re: Dependency Groups From: Jason van Zyl <amanda59@example.org> Reply-To: amanda59@example.org To: Maven Users List <amanda59@example.org> In-Reply-To: <001301c370ac$8b7ce5d0$be7ba8c0@davetoshiba> References: <001301c370ac$8b7ce5d0$be7ba8c0@davetoshiba> Content-Type: text/plain Organization: Message-Id: <amanda59@example.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 01 Sep 2003 13:41:01 -0400 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 2003-09-01 at 13:14, Dave Ford wrote: > Is there a way to define reusable "lib groups"? IntelliJ lets you do this > under project properties/paths/libraries. For example, if i use hibernate in > 5 different projects. And hibernate requires 5 jar files. That's a lot of > extra typing in project.xml (dependencies section). Transitive dependencies will come but not slated for the 1.0 release. > > Dave Ford > Smart Soft - The Developer Training Company > http://www.smart-soft.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: amanda59@example.org > For additional commands, e-mail: amanda59@example.org -- jvz. Jason van Zyl amanda59@example.org http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 18:32:34 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 63427 invoked from network); 1 Sep 2003 18:32:34 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 18:32:34 -0000 Received: (qmail 44680 invoked by uid 500); 1 Sep 2003 18:32:16 -0000 Delivered-To: amanda59@example.org Received: (qmail 44644 invoked by uid 500); 1 Sep 2003 18:32:15 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 86047 invoked from network); 1 Sep 2003 12:14:46 -0000 From: "Michal Maczka" <amanda59@example.org> To: "'Maven Users List'" <amanda59@example.org> Subject: RE: war-plugin bug? Date: Mon, 1 Sep 2003 14:14:26 +0200 Message-ID: <amanda59@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <amanda59@example.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is caused by the fact that ${artifact.id} = ${artifct.groupId}:${artifact.arifactId} while it should be ${artifact.id} = ${artifct.groupId}:${artifact.arifactId}:${artifact.type} (we had a discussion about it some time ago when you have closed one issue in JIRA with resolution "won't fix") So this must be first changed in maven core and then consequently in plugins. Michal > -----Original Message----- > From: amanda59@example.org [mailto:amanda59@example.org] > Sent: Monday, September 01, 2003 6:03 AM > To: Maven Users List > Subject: Re: war-plugin bug? > > I believe this is filed as an open bug on Maven. > > Anyone is able to submit a patch fixing it. > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > > > "Dan Tran" <amanda59@example.org> wrote on 31/08/2003 01:45:28 AM: > > > that is an anoying bug to me, i think it is reported already. > > (not sure thou) > > > > So the first suggested solution solve this dilema. > > > > > > -Dan > > > > ----- Original Message ----- > > From: "khote" <amanda59@example.org> > > To: "Maven Users List" <amanda59@example.org> > > Sent: Saturday, August 30, 2003 8:22 AM > > Subject: Re: war-plugin bug? > > > > > > > Those are good suggestions, some things I hadn't thought of. I am > using a > > > war:webapp postGoal to copy in some docs into my webapp before the > WAR > is > > > created. > > > > > > What I discovered was that the first use of > > > > > > <groupId>taglibs</groupId> > > > <artifactId>taglib-session</artifactId> > > > <version>1.0.1</version> etc. > > > > > > when I wanted the jar in /WEB-INF/lib, > > > > > > was overwritten in the Map (or Hash or whatever) that was built for > > lib.path > > > by the second use of that same name, when I specified that > > > <type>tld</type> > > > > > > So unless I used two different names, I would always lose the first > one > > when > > > the maven-war-plugin executed. > > > > > > I found another way also: I took all the taglib jars I want to use > and > > > unjarred them into a common temp directory, then went into that > directory > > > and > > > > > > jar cf taglibs-1.0.1 org > > > > > > then moved that into my taglibs repository. Only had to have that > one > > > dependency then .... overkill I know, but it works. > > > > > > I'm trying to move an existing Tomcat/Struts application that works > well > > > enough into a JBoss-Tomcat/Struts, still trying to lose that > Tomcat-think > > > about how things are done. Some of those taglibs can help me > watch/see > > > what's going on in the JSP environment, they're really just for > debugging > > > right now. > > > > > > Thanks, > > > K > > > > > > > > > ----- Original Message ----- > > > From: "Dan Tran" <amanda59@example.org> > > > To: "Maven Users List" <amanda59@example.org>; "khote" > > > <amanda59@example.org> > > > Sent: Saturday, August 30, 2003 8:11 AM > > > Subject: Re: war-plugin bug? > > > > > > > > > > Since tld file can live any where under WEB-INF > > > > directory, it is ambiguous for maven to blindfully > > > > copy the tld file to WEB-INF/ > > > > > > > > there are 2 solutions: > > > > 1. if you are usig servet 2.3 configure your taglib to look for > tld in > > > the > > > > jar file > > > > so you dont have to copy it to web-inf. > > > > > > > > 2. You need to tell maven what do by putting a postgoal in > maven.xml > > > > > > > > here is an example > > > > > > > > <?xml version="1.0"?> > > > > <project > > > > default="nightly-build" > > > > xmlns:m="maven" > > > > xmlns:j="jelly:core" > > > > xmlns:u="jelly:util"> > > > > > > > > <postGoal name="war:webapp"> > > > > <!-- copy validator-rules.xml to WEB-INF, war plugin does > > not do > that > > > automa > > > tically --> > > > > <copy > file="${maven.repo.local}/struts/xmls/validator-rules-1.1.xml" > > > > tofile= > > > > "${maven.build.dir}/${pom.artifactId}/WEB-INF/validator-rules.xml" > > /> > > > > </postGoal> > > > > > > > > </project> > > > > > > > > > > > > ----- Original Message ----- > > > > From: "khote" <amanda59@example.org> > > > > To: "Maven Users List" <amanda59@example.org> > > > > Sent: Saturday, August 30, 2003 4:10 AM > > > > Subject: war-plugin bug? > > > > > > > > > > > > > Wanting to try out some jakarta-taglibs. It's not on ibiblio, > so > I > > > > > downloaded them and moved them into a taglibs (both jars and > tlds) > > > > directory > > > > > in my local repository. > > > > > > > > > > <dependency> > > > > > <groupId>taglibs</groupId> > > > > > <artifactId>session</artifactId> > > > > > <version>1.0.1</version> > > > > > <properties><war.bundle>true</war.bundle></properties> > > > > > </dependency> > > > > > > > > > > <dependency> > > > > > <groupId>taglibs</groupId> > > > > > <artifactId>session</artifactId> > > > > > <version>1.0.1</version> > > > > > <type>tld</type> > > > > > <properties><war.bundle>true</war.bundle></properties> > > > > > </dependency> > > > > > > > > > > maven successfully finds, them. However, when I try to use the > > > > war-plugin, > > > > > only the jar is copied into the WEB-INF/lib, the tld is not > copied > > into > > > > > WEB-INF/tld. > > > > > > > > > > I am already successfully using the jstl standard and struts > plugins > > > this > > > > > way, both jars and tlds, they are behaving as expected. In fact > I > > just > > > > > copied their dependency statements as above and changed the > name. > > > > > > > > > > I went into the maven-war-plugin's plugin.jelly and put some > <echo>'s > > in > > > > it > > > > > to see what's happening: > > > > > > > > > > <j:if test="${dep.type =='jar'}"> > > > > > <echo>JAR: copying lib.path = ${lib.path}</echo> > > > > > <ant:copy todir="${webapp.build.lib}" > file="${lib.path}"/> > > > > > </j:if> > > > > > > > > > > <j:if test="${dep.type =='tld'}"> > > > > > <echo>TLD: copying lib.path = ${lib.path}</echo> > > > > > <ant:copy todir="${webapp.build.tlds}" > file="${lib.path}"/> > > > > > </j:if> > > > > > > > > > > It is simply not seeing the session-1.0.1.tld, it is not being > put > in > > > the > > > > > dependencies collection. > > > > > Bug? > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: amanda59@example.org > > > > > For additional commands, e-mail: amanda59@example.org > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: amanda59@example.org > > > For additional commands, e-mail: amanda59@example.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: amanda59@example.org > > For additional commands, e-mail: amanda59@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 20:09:59 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 97129 invoked from network); 1 Sep 2003 20:09:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 20:09:59 -0000 Received: (qmail 59885 invoked by uid 500); 1 Sep 2003 20:09:42 -0000 Delivered-To: amanda59@example.org Received: (qmail 59844 invoked by uid 500); 1 Sep 2003 20:09:42 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 59825 invoked from network); 1 Sep 2003 20:09:41 -0000 Received: from unknown (HELO hotmail.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 20:09:41 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Sep 2003 13:09:42 -0700 Received: from 83.161.120.155 by law11-oe66.law11.hotmail.com with DAV; Mon, 01 Sep 2003 20:09:42 +0000 X-Originating-IP: [83.161.120.155] X-Originating-Email: [amanda59@example.org] From: "Dan Tran" <amanda59@example.org> To: "Maven Users List" <amanda59@example.org> References: <amanda59@example.org> Subject: Re: war-plugin bug? Date: Mon, 1 Sep 2003 13:10:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <amanda59@example.org> X-OriginalArrivalTime: 01 Sep 2003 20:09:42.0373 (UTC) FILETIME=[FB03B150:01C370C4] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does this mean, we will not see a fix for this? -Dan ----- Original Message ----- From: "Michal Maczka" <amanda59@example.org> To: "'Maven Users List'" <amanda59@example.org> Sent: Monday, September 01, 2003 5:14 AM Subject: RE: war-plugin bug? > This is caused by the fact that > ${artifact.id} = ${artifct.groupId}:${artifact.arifactId} > > while it should be > > ${artifact.id} = > ${artifct.groupId}:${artifact.arifactId}:${artifact.type} > > (we had a discussion about it some time ago when you have closed one > issue in JIRA with resolution "won't fix") > > So this must be first changed in maven core and then consequently in > plugins. > > > > > Michal > > > > -----Original Message----- > > From: amanda59@example.org [mailto:amanda59@example.org] > > Sent: Monday, September 01, 2003 6:03 AM > > To: Maven Users List > > Subject: Re: war-plugin bug? > > > > I believe this is filed as an open bug on Maven. > > > > Anyone is able to submit a patch fixing it. > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > "Dan Tran" <amanda59@example.org> wrote on 31/08/2003 01:45:28 AM: > > > > > that is an anoying bug to me, i think it is reported already. > > > (not sure thou) > > > > > > So the first suggested solution solve this dilema. > > > > > > > > > -Dan > > > > > > ----- Original Message ----- > > > From: "khote" <amanda59@example.org> > > > To: "Maven Users List" <amanda59@example.org> > > > Sent: Saturday, August 30, 2003 8:22 AM > > > Subject: Re: war-plugin bug? > > > > > > > > > > Those are good suggestions, some things I hadn't thought of. I am > > using a > > > > war:webapp postGoal to copy in some docs into my webapp before the > > WAR > > is > > > > created. > > > > > > > > What I discovered was that the first use of > > > > > > > > <groupId>taglibs</groupId> > > > > <artifactId>taglib-session</artifactId> > > > > <version>1.0.1</version> etc. > > > > > > > > when I wanted the jar in /WEB-INF/lib, > > > > > > > > was overwritten in the Map (or Hash or whatever) that was built > for > > > lib.path > > > > by the second use of that same name, when I specified that > > > > <type>tld</type> > > > > > > > > So unless I used two different names, I would always lose the > first > > one > > > when > > > > the maven-war-plugin executed. > > > > > > > > I found another way also: I took all the taglib jars I want to > use > > and > > > > unjarred them into a common temp directory, then went into that > > directory > > > > and > > > > > > > > jar cf taglibs-1.0.1 org > > > > > > > > then moved that into my taglibs repository. Only had to have that > > one > > > > dependency then .... overkill I know, but it works. > > > > > > > > I'm trying to move an existing Tomcat/Struts application that > works > > well > > > > enough into a JBoss-Tomcat/Struts, still trying to lose that > > Tomcat-think > > > > about how things are done. Some of those taglibs can help me > > watch/see > > > > what's going on in the JSP environment, they're really just for > > debugging > > > > right now. > > > > > > > > Thanks, > > > > K > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Dan Tran" <amanda59@example.org> > > > > To: "Maven Users List" <amanda59@example.org>; "khote" > > > > <amanda59@example.org> > > > > Sent: Saturday, August 30, 2003 8:11 AM > > > > Subject: Re: war-plugin bug? > > > > > > > > > > > > > Since tld file can live any where under WEB-INF > > > > > directory, it is ambiguous for maven to blindfully > > > > > copy the tld file to WEB-INF/ > > > > > > > > > > there are 2 solutions: > > > > > 1. if you are usig servet 2.3 configure your taglib to look > for > > tld in > > > > the > > > > > jar file > > > > > so you dont have to copy it to web-inf. > > > > > > > > > > 2. You need to tell maven what do by putting a postgoal in > > maven.xml > > > > > > > > > > here is an example > > > > > > > > > > <?xml version="1.0"?> > > > > > <project > > > > > default="nightly-build" > > > > > xmlns:m="maven" > > > > > xmlns:j="jelly:core" > > > > > xmlns:u="jelly:util"> > > > > > > > > > > <postGoal name="war:webapp"> > > > > > <!-- copy validator-rules.xml to WEB-INF, war plugin does > > > not do > > that > > > > automa > > > > tically --> > > > > > <copy > > file="${maven.repo.local}/struts/xmls/validator-rules-1.1.xml" > > > > > tofile= > > > > > > "${maven.build.dir}/${pom.artifactId}/WEB-INF/validator-rules.xml" > > > > /> > > > > > </postGoal> > > > > > > > > > > </project> > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "khote" <amanda59@example.org> > > > > > To: "Maven Users List" <amanda59@example.org> > > > > > Sent: Saturday, August 30, 2003 4:10 AM > > > > > Subject: war-plugin bug? > > > > > > > > > > > > > > > > Wanting to try out some jakarta-taglibs. It's not on ibiblio, > > so > > I > > > > > > downloaded them and moved them into a taglibs (both jars and > > tlds) > > > > > directory > > > > > > in my local repository. > > > > > > > > > > > > <dependency> > > > > > > <groupId>taglibs</groupId> > > > > > > <artifactId>session</artifactId> > > > > > > <version>1.0.1</version> > > > > > > <properties><war.bundle>true</war.bundle></properties> > > > > > > </dependency> > > > > > > > > > > > > <dependency> > > > > > > <groupId>taglibs</groupId> > > > > > > <artifactId>session</artifactId> > > > > > > <version>1.0.1</version> > > > > > > <type>tld</type> > > > > > > <properties><war.bundle>true</war.bundle></properties> > > > > > > </dependency> > > > > > > > > > > > > maven successfully finds, them. However, when I try to use > the > > > > > war-plugin, > > > > > > only the jar is copied into the WEB-INF/lib, the tld is not > > copied > > > into > > > > > > WEB-INF/tld. > > > > > > > > > > > > I am already successfully using the jstl standard and struts > > plugins > > > > this > > > > > > way, both jars and tlds, they are behaving as expected. In > fact > > I > > > just > > > > > > copied their dependency statements as above and changed the > > name. > > > > > > > > > > > > I went into the maven-war-plugin's plugin.jelly and put some > > <echo>'s > > > in > > > > > it > > > > > > to see what's happening: > > > > > > > > > > > > <j:if test="${dep.type =='jar'}"> > > > > > > <echo>JAR: copying lib.path = ${lib.path}</echo> > > > > > > <ant:copy todir="${webapp.build.lib}" > > file="${lib.path}"/> > > > > > > </j:if> > > > > > > > > > > > > <j:if test="${dep.type =='tld'}"> > > > > > > <echo>TLD: copying lib.path = ${lib.path}</echo> > > > > > > <ant:copy todir="${webapp.build.tlds}" > > file="${lib.path}"/> > > > > > > </j:if> > > > > > > > > > > > > It is simply not seeing the session-1.0.1.tld, it is not being > > put > > in > > > > the > > > > > > dependencies collection. > > > > > > Bug? > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: amanda59@example.org > > > > > > For additional commands, e-mail: amanda59@example.org > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: amanda59@example.org > > > > For additional commands, e-mail: amanda59@example.org > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: amanda59@example.org > > > For additional commands, e-mail: amanda59@example.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: amanda59@example.org > For additional commands, e-mail: amanda59@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: amanda59@example.org For additional commands, e-mail: amanda59@example.org From amanda59@example.org Mon Sep 01 23:54:32 2003 Return-Path: <amanda59@example.org> Delivered-To: amanda59@example.org Received: (qmail 59308 invoked from network); 1 Sep 2003 23:54:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Sep 2003 23:54:31 -0000 Received: (qmail 21059 invoked by uid 500); 1 Sep 2003 23:54:11 -0000 Delivered-To: amanda59@example.org Received: (qmail 20816 invoked by uid 500); 1 Sep 2003 23:54:09 -0000 Mailing-List: contact amanda59@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:amanda59@example.org> List-Subscribe: <mailto:amanda59@example.org> List-Help: <mailto:amanda59@example.org> List-Post: <mailto:amanda59@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <amanda59@example.org> Delivered-To: mailing list amanda59@example.org Received: (qmail 20788 invoked from network); 1 Sep 2003 23:54:09 -0000 Received: from unknown (HELO adslgateway.multitask.com.au) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Sep 2003 23:54:09 -0000 In-Reply-To: <amanda59@example.org> To: "Maven Users List" <amanda59@example.org> Subject: Re: plugin.jelly variables not available in <postGoal> MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003 From: amanda59@example.org Message-ID: <amanda59@example.org> Date: Tue, 2 Sep 2003 08:24:20 +1000 X-MIMETrack: Serialize by Router on ADSLGateway/Multitask Consulting/AU(Release 6.0|September 26, 2002) at 02/09/2003 09:58:16 AM, Serialize complete at 02/09/2003 09:58:16 AM Content-Type: multipart/alternative; boundary="=_alternative 007A634BCA256D94_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 007A634BCA256D94_= Content-Type: text/plain; charset="US-ASCII" Yes, this is by design. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Gilles Dodinet <amanda59@example.org> wrote on 02/09/2003 02:49:55 AM: > ive encountered such a problem some time ago. i solved it by adding a > namespace pointing to the plugin (or so it seems) : > > <project xmlns:test="test" ..> ... </project> > > where test is the test plugin (maven-test-plugin). - please note that > after that the 'test' namespace was never used. > > im really not sure if this should work (perhaps if this was just a > side-effect), tho it has for me. maybe this can help. > > -- gd > > > > Brett Porter wrote: > > >Most plugins have a hook that you can add as a prereq (although not on a > >preGoal - you'd need to do that differently by preGoal calling attainGoal on > >the content). > > > >Eg. War:load does nothing but bring the plugin into action. > > > >This is likely to change in the future. > > > >- Brett > > > > > > > >>-----Original Message----- > >>From: khote [mailto:amanda59@example.org] > >>Sent: Monday, 1 September 2003 3:43 PM > >>To: Maven Users List > >>Subject: Re: plugin.jelly variables not available in <postGoal> > >> > >> > >>I can use > >>${pom.getPluginContext('maven-WHATEVER-plugin').getVariable('X > >>XX')} only if that WHATEVER plugin was invoked prior to the > >>pre or post Goal I'm working with. I think it has to load > >>that stuff from the plugin's project.properties, I don't yet > >>know of a way to "easily" load those properties files. > >> > >>I was using the xdoc plugin, and for some reason wanted to > >>include the target/docs in my WAR. Since it's always > >>convenient to use the default properties when they work, I > >>wanted to use the xdoc properties. If I run: > >> > >>$ maven xdoc > >>$ maven war > >> > >>rather than: > >> > >>$ maven xdoc war > >> > >>then the xdoc properties would not be available to my > >>war:webapp postGoal using the > >> > >>${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven > >>.xdoc.dest.dir > >>')} (or whatever it was). > >> > >>What if I have several versions of the plugin, including a > >>SNAPSHOT? Maven seems to know how to load the latest and > >>greatest, perhaps I'd have to write a plugin to do all that > >>for me: maven-loadUninvokedPluginProperties-plugin > >>or
{'source': 'Apache Software Foundation Public Mail Archives'}