Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-14 Thread matthew sporleder
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
   directorysrc/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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-resources-plugin/artifactId
   version2.2/version
executions
  execution
phasecompile/phase
goals
  goalresources/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]



Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread matthew sporleder
How can I change the outputDirectory for all of my modules which
include the following:

build
 plugins
  plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-resources-plugin/artifactId
   version2.2/version
executions
  execution
phasecompile/phase
goals
  goalresources/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]



Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread Kalle Korhonen
I'd separate out those resources from classpath resources by putting them
into a different dir. Then use:
  resource
directorysrc/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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-resources-plugin/artifactId
   version2.2/version
executions
  execution
phasecompile/phase
goals
  goalresources/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]




Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread matthew sporleder
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
 directorysrc/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
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-resources-plugin/artifactId
 version2.2/version
  executions
execution
  phasecompile/phase
  goals
goalresources/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]