Including sibling module attachment inside another module artifact

2010-03-01 Thread Thomas Harris
Maven Users: I have been searching for examples of how to make this work, but I must be missing something. We have a multimodule project, along these lines: proj-parent |- modules |- module1 |- target |- module1-1.0.0-classifiername.jar |- module2 |- WebR

Including sibling module attachment inside another module artifact

2010-03-04 Thread Thomas Harris
Maven Users: I have been searching for examples of how to make this work, but I must be missing something. We have a multimodule project, along these lines: proj-parent |- modules |- module1 |- target |- module1-1.0.0-classifiername.jar |- module2

RE: Including sibling module attachment inside another module artifact

2010-03-01 Thread Thomas Harris
sibling module attachment inside another module artifact Maven Users: I have been searching for examples of how to make this work, but I must be missing something. We have a multimodule project, along these lines: proj-parent |- modules |- module1 |- target |- module1

Re: Including sibling module attachment inside another module artifact

2010-03-04 Thread Wayne Fay
> module1's output is two jar files, one the standard output, and the > other the extra one defined with includes/excludes using the > maven-jar-plugin and a classifier. The extra one needs to be attached to your project with build-helper-m-p and installed and deployed alongside the standard outpu

RE: Including sibling module attachment inside another module artifact

2010-03-05 Thread Thomas Harris
n Users List Subject: Re: Including sibling module attachment inside another module artifact > module1's output is two jar files, one the standard output, and the > other the extra one defined with includes/excludes using the > maven-jar-plugin and a classifier. The extra one needs t

Re: Including sibling module attachment inside another module artifact

2010-03-05 Thread Wayne Fay
>                 >                  com.x >                  module1 >                  ${project.version} >                  jar blah Did you try this? The documentation doesn't show it, but the API [1] has a getClassifier() which makes me think its there. [1] http://ma

RE: Including sibling module attachment inside another module artifact

2010-03-05 Thread Thomas Harris
Wayne: It now takes both the main artifact AND the classified attachment. Closer, but still wrong. So odd. Tom -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, March 05, 2010 3:09 PM To: Maven Users List Subject: Re: Including sibling module attachment

Re: Including sibling module attachment inside another module artifact

2010-03-05 Thread Wayne Fay
> It now takes both the main artifact AND the classified attachment. Closer, > but still wrong. So odd. Except in very specific circumstances, I am not a fan of artifacts with classifiers. Reconfigure your project so that you have 2 separate modules and don't use classifier, and I'd assume it wil

RE: Including sibling module attachment inside another module artifact

2010-03-05 Thread Thomas Harris
, I will probably be long done with the project, and no one will ever revisit. :) Thanks for all your help, Wayne. Karma! Tom -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, March 05, 2010 4:13 PM To: Maven Users List Subject: Re: Including sibling modu