Re: contextFile does not work with profiles?

2011-11-07 Thread Bin Lan
Hi All, Sorry, please ignore this, the option is working. I put the wrong path. Regards Bin On Mon, Nov 7, 2011 at 9:18 AM, Bin Lan wrote: > Hi All, > > I am trying to use tomcat maven plugin with different profiles to get > different JNDI parameters so I can connect to differ

contextFile does not work with profiles?

2011-11-07 Thread Bin Lan
Hi All, I am trying to use tomcat maven plugin with different profiles to get different JNDI parameters so I can connect to different database. But the plugin seems to ignore the on the profile section. Here is some snapshots of my configuration: production

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
. Regards Bin On Wed, Nov 2, 2011 at 7:32 AM, Olivier Lamy wrote: > Can you try with last changes I have pushed ? > You need to build locally from sources. (some network issues for > *.apache.org so I cannot deploy snapshots) > > 2011/11/2 Bin Lan : > > Forgot to mentio

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Forgot to mention that I am using 2.0-snapshot. On Nov 2, 2011 7:20 AM, "Bin Lan" wrote: > Hi Olivier, > > Thank you for you reply. I run maven in cli not in ecclipse. Since the > project is a eclipse native dynamc web project, so I gues eclipse has its > own way to

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
d do the job. > Honestly I test more with cli (and not an eclipse user :-) ). > Do you have issues running that with cli ? > > 2011/11/2 Bin Lan : > > Hi all, > > > > I hope this message reaches the right user group. My question is pretty > > simple. In maven-tomca

Set docBase in pom.xml for maven tomcat plugin

2011-11-01 Thread Bin Lan
Hi all, I hope this message reaches the right user group. My question is pretty simple. In maven-tomcat-plugin, how can I set the docBase path? Currently, my project is a Eclipse dynamic web project and all the webapp files are being stored inside ${basedir}/WebContent folder. Whenever I tried mvn