You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by an...@ourlobby.com on 2003/03/20 11:43:28 UTC

[PATCH] war:webapp

war:webapp will use ${maven.war.build.dir}/${pom.artifactId} as the root
directory of the webapp.  For some reason I don't want the pom.artifactId
be used as part of webapp dir, I add a
properties "maven.war.build.noidsubdir" so the plugin will use
${maven.war.build.dir} as the webapp root dir


Re: [PATCH] war:webapp

Posted by Angus Chan <an...@hotmail.com>.
Thanks St�phane.

This is another patch to copy the local overrided jar to WEB-INF/lib from
their overrided
location instead of from repository


Re: [PATCH] war:webapp

Posted by Stéphane Mor <st...@yahoo.fr>.
On Fri, Mar 21, 2003 at 10:25:01AM +1000, Ben Walding wrote:
> Well once Stephane codes it in (:P), you'd put the property in your 
> project.properties file.

Done.

Then, you'll have to:
- update the plugin from CVS (if you're using the HEAD version that is...)
- go into src/plugins-build/war/
- deploy the updated plugin (maven plugin:deploy)
- add "maven.war.webapp.dir = ${maven.war.build.dir}" to your project.properties
  file
- report any bug that you find along the way!

Cheers,
Stéphane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [PATCH] war:webapp

Posted by Ben Walding <de...@walding.com>.
Well once Stephane codes it in (:P), you'd put the property in your 
project.properties file.

Eric Emminger wrote:

> Stéphane
>
>> I'd rather have a "maven.war.webapp.dir" properties that would 
>> default to
>> ${maven.war.build.dir}/${pom.artifactId}, and that you would override as
>> ${maven.war.build.dir}
>
>
> How do you override this? I'd like to do that.
>
> Eric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [PATCH] war:webapp

Posted by Eric Emminger <er...@ericemminger.com>.
Stéphane

> I'd rather have a "maven.war.webapp.dir" properties that would default to
> ${maven.war.build.dir}/${pom.artifactId}, and that you would override as
> ${maven.war.build.dir}

How do you override this? I'd like to do that.

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [PATCH] war:webapp

Posted by Stéphane Mor <st...@yahoo.fr>.
On Thu, Mar 20, 2003 at 06:43:28PM +0800, angus_ml@ourlobby.com wrote:
> war:webapp will use ${maven.war.build.dir}/${pom.artifactId} as the root
> directory of the webapp.  For some reason I don't want the pom.artifactId
> be used as part of webapp dir, I add a
> properties "maven.war.build.noidsubdir" so the plugin will use
> ${maven.war.build.dir} as the webapp root dir
Hi,

I'd rather have a "maven.war.webapp.dir" properties that would default to
${maven.war.build.dir}/${pom.artifactId}, and that you would override as
${maven.war.build.dir}.

maven.war.build.noidsubdir isn't really intuitive to me ...

Cheers,
Stéphane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org