maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [Tomcat Plugin] WebAppSourceDirectory Configuration?
Date Sun, 09 Oct 2011 19:51:13 GMT
Hi,

I tried the following:

       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>tomcat-maven-plugin</artifactId>
         <configuration>
           <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
         </configuration>
       </plugin>		

However when I run the following from my code:
logger.trace("The current root directory is: {} ", new File("").getAbsolutePath());

I still get the root directory of the project.  Thoughts?

TIA,
- Ole

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


Mime
View raw message