I think you should use ${project.build.directory} instead of
${basedir} as <outputDirectory>...
Philippe
On 9/27/07, Seenivasagam, Dhamotharakkannan <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> I have few Application related properties file. When I do compile I
> expect all goes to the respective folder(In my case my properties file
> is under ${basedir}/phonebook/src/com/wssc/ad/phonebook/utils after
> compilation I expect it to be copied under
> ${basedir}/phonebook/WebContent/WEB-INF/classes/
> com/wssc/ad/phonebook/utils )
>
>
>
> Surprisingly its copying under
> ${basedir}/phonebook/WebContent/WEB-INF/classes since my
> <outputDirectory>${basedir}/phonebook/WebContent/WEB-INF/classes</output
> Directory> setting. Not sure how to configure.
>
>
>
> Here is my pom.xml file
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project>
>
> <modelVersion>4.0.0</modelVersion>
>
> <groupId>com.wssc.ad.phonebook</groupId>
>
> <artifactId>phonebook</artifactId>
>
> <packaging>war</packaging>
>
> <version>1.0.0</version>
>
> <description>WSSC Blue Book </description>
>
> <dependencies>
>
>
>
> <build>
>
> <sourceDirectory>${basedir}/phonebook</sourceDirectory>
>
>
> <outputDirectory>${basedir}/phonebook/WebContent/WEB-INF/classes</output
> Directory>
>
> <resources>
>
> <resource>
>
>
> <directory>${basedir}/phonebook/src/com/wssc/ad/phonebook/utils</directo
> ry>
>
> <includes>
>
> <filtering>false</filtering>
>
> <include>**/*.properties</include>
>
> </includes>
>
> </resource>
>
> </resources>
>
>
>
> <plugins>
>
>
>
> <plugin>
>
>
> <groupId>org.apache.maven.plugins</groupId>
>
>
> <artifactId>maven-compiler-plugin</artifactId>
>
> <configuration>
>
>
> <compilerVersion>1.4</compilerVersion>
>
> <source>1.4</source>
>
> <target>1.4</target>
>
> </configuration>
>
>
>
> </plugin>
>
>
>
> <plugin>
>
>
> <groupId>org.apache.maven.plugins</groupId>
>
>
> <artifactId>maven-war-plugin</artifactId>
>
> <configuration>
>
>
> <warSourceDirectory>${basedir}/phonebook/WebContent</warSourceDirectory>
>
>
> </configuration>
>
> </plugin>
>
>
>
> </plugins>
>
>
>
> </build>
>
> </project>
>
> S Kannan
>
> Web Team
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]