You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by csudhi <te...@gmail.com> on 2006/04/07 02:36:07 UTC
Changing default webapp directory
Hi,
Is it possible to change the default webapp directory (src/main/webapp)
location in POM.xml file , to somethng like ui/pages/jsp path (relative to
application root)?
--
View this message in context: http://www.nabble.com/Changing-default-webapp-directory-t1409364.html#a3795726
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Changing default webapp directory
Posted by Tom Joad <tj...@gmail.com>.
You configure maven-war-plugin
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0-beta-2</version>
<configuration>
<warSourceDirectory>YOUR_WEBAPP</warSourceDirectory>
</configuration>
</plugin>
Tom.
2006/4/7, Henry S. Isidro <hi...@exist.com>:
> csudhi wrote:
>
> >Hi,
> >
> >Is it possible to change the default webapp directory (src/main/webapp)
> >location in POM.xml file , to somethng like ui/pages/jsp path (relative to
> >application root)?
> >
> >
> >--
> >View this message in context: http://www.nabble.com/Changing-default-webapp-directory-t1409364.html#a3795726
> >Sent from the Maven - Users forum at Nabble.com.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> You can configure the war plugin. Change the value of warSourceDirectory
> to the setting you want. For more info:
>
> http://maven.apache.org/plugins/maven-war-plugin/
> http://maven.apache.org/guides/mini/guide-configuring-plugins.html
>
> HTH,
>
> Henry
>
>
> ||
>
> ---------------------------------------------------------------------
> 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: Changing default webapp directory
Posted by "Henry S. Isidro" <hi...@exist.com>.
csudhi wrote:
>Hi,
>
>Is it possible to change the default webapp directory (src/main/webapp)
>location in POM.xml file , to somethng like ui/pages/jsp path (relative to
>application root)?
>
>
>--
>View this message in context: http://www.nabble.com/Changing-default-webapp-directory-t1409364.html#a3795726
>Sent from the Maven - Users forum at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
You can configure the war plugin. Change the value of warSourceDirectory
to the setting you want. For more info:
http://maven.apache.org/plugins/maven-war-plugin/
http://maven.apache.org/guides/mini/guide-configuring-plugins.html
HTH,
Henry
||
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org