Re: webappsource location in POM

2012-03-06 Thread sarmahdi
yep I was looking for that info and already changed it but thanks for the tip
cos it took me a bit of googling to get to this 
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide site 

it has all the variables maven can understand.

Thanks again.

Syed...

--
View this message in context: 
http://maven.40175.n5.nabble.com/webappsource-location-in-POM-tp5536805p5541057.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: webappsource location in POM

2012-03-05 Thread sarmahdi
I added the location in the war plugin :D

plugins
  plugin
artifactIdmaven-war-plugin/artifactId
version2.2/version
executions
  execution
iddefault-war/id
phasepackage/phase
goals
  goalwar/goal
/goals
configuration
  packagingExcludesWEB-INF/lib/*.jar/packagingExcludes // to
exclude libs normally u dont need that
  archive
manifest
  addClasspathtrue/addClasspath
  classpathPrefixlib//classpathPrefix
/manifest
  /archive
  failOnMissingWebXmlfalse/failOnMissingWebXml
 
webappDirectoryC:\RSA75Workspace\workspace\Corpweb\WebContent/webappDirectory
/configuration
  /execution
/executions
configuration
  packagingExcludesWEB-INF/lib/*.jar/packagingExcludes// to
exclude libs normally u dont need that
  archive
manifest
  addClasspathtrue/addClasspath
  classpathPrefixlib//classpathPrefix
/manifest
  /archive
  failOnMissingWebXmlfalse/failOnMissingWebXml
 *
webappDirectoryC:\RSA75Workspace\workspace\Corpweb\WebContent/webappDirectory*
/configuration
  /plugin

--
View this message in context: 
http://maven.40175.n5.nabble.com/webappsource-location-in-POM-tp5536805p5537186.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: webappsource location in POM

2012-03-05 Thread Robert Scholte

Hi,

Two suggestions:
- remove the executions-section, since you've already configured it in the  
(global-)plugin configuration

- don't use absolute paths. Now it is bound to your system. Either use
  webappDirectoryWebContentwebappDirectory or  
webappDirectory${basedir}/WebContentwebappDirectory


-Robert

Op Mon, 05 Mar 2012 12:00:45 +0100 schreef sarmahdi sarma...@hotmail.com:


I added the location in the war plugin :D

plugins
  plugin
artifactIdmaven-war-plugin/artifactId
version2.2/version
executions
  execution
iddefault-war/id
phasepackage/phase
goals
  goalwar/goal
/goals
configuration
  packagingExcludesWEB-INF/lib/*.jar/packagingExcludes  
// to

exclude libs normally u dont need that
  archive
manifest
  addClasspathtrue/addClasspath
  classpathPrefixlib//classpathPrefix
/manifest
  /archive
  failOnMissingWebXmlfalse/failOnMissingWebXml
webappDirectoryC:\RSA75Workspace\workspace\Corpweb\WebContent/webappDirectory
/configuration
  /execution
/executions
configuration
  packagingExcludesWEB-INF/lib/*.jar/packagingExcludes// to
exclude libs normally u dont need that
  archive
manifest
  addClasspathtrue/addClasspath
  classpathPrefixlib//classpathPrefix
/manifest
  /archive
  failOnMissingWebXmlfalse/failOnMissingWebXml
 *
webappDirectoryC:\RSA75Workspace\workspace\Corpweb\WebContent/webappDirectory*
/configuration
  /plugin

--
View this message in context:  
http://maven.40175.n5.nabble.com/webappsource-location-in-POM-tp5536805p5537186.html

Sent from the Maven - Users mailing list archive at Nabble.com.

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


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