Thanks, that worked perfectly.

On Tue, May 13, 2008 at 1:17 PM, Kalle Korhonen
<[EMAIL PROTECTED]> wrote:
> I'd separate out those resources from classpath resources by putting them
>  into a different dir. Then use:
>           <resource>
>             <directory>src/main/data</directory>
>             <targetPath>..</targetPath>
>           </resource>
>
>  Or, if you bind resources plugin yourself like you did below, use:
>                         <configuration>
>
>  <outputDirectory>${basedir}/target</outputDirectory>
>                         </configuration>
>
>
>  Kalle
>
>
>  On Tue, May 13, 2008 at 9:03 AM, matthew sporleder <[EMAIL PROTECTED]>
>  wrote:
>
>
>
>  > How can I change the outputDirectory for all of my modules which
>  > include the following:
>  >
>  > <build>
>  >  <plugins>
>  >  <plugin>
>  >   <groupId>org.apache.maven.plugins</groupId>
>  >   <artifactId>maven-resources-plugin</artifactId>
>  >   <version>2.2</version>
>  >    <executions>
>  >      <execution>
>  >        <phase>compile</phase>
>  >        <goals>
>  >          <goal>resources</goal>
>  >        </goals>
>  >      </execution>
>  >    </executions>
>  >   </plugin>
>  >  </plugins>
>  > </build>
>  >
>  > Currently my resources/* are being copied to target/classes/ and I
>  > really just need them in target/
>  >
>  > I've tried changing the outputDirectory, but it's not really working
>  > how I'd like with modules. (I end up with the copies in the parent's
>  > target/ instead of the modules'.
>  >
>  > Thanks,
>  > Matt
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to