Is there any reason why these files shouldn't be considered binaries
by the assembly plugin?

I'm now running into a problem where my "binaries" are getting
included in the zip file I create, but my resources are not.

Do I need to explicitly include the mas files, or is there an option
within the <moduleSet> to include resources?

On Tue, May 13, 2008 at 1:33 PM, matthew sporleder <[EMAIL PROTECTED]> wrote:
> 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