Yup using fileSets tag rather than dependencySets worked. I simply don't know why given the following structure:
parent-pom.xml |_artifact-generating-child-pom.xml |_assembly-based-artifact-generating-child-pom.xml |_assembly-based-parent-product-packaging-delegate-pom.xml The artifact-generating-child-pom.xml and assembly-based-artifact-generating-child-pom.xml publish to my local .m2 repo but the assembly-based-parent-product-packaging-delegate-pom.xml chooses not to pull fro mthere but instead go otu to the web and fail if it can't find anything in real maven repos. Did you folks out there get dependencySets to work or did you also resort to using fileSets when working with assembly-based-parent-product-packaging-delegate-pom.xml 's assembly-descriptor? <dependencySets> <dependencySet> <includes> <include>parent:artifact-generating-child:abc</include> <include>parent:assembly-based-artifact-generating-child:def</include> </includes> </dependencySet> </dependencySets> VERSUS <fileSets> <fileSet> <directory>../artifact-generating-child/target</directory> <outputDirectory>/</outputDirectory> <includes> <include>*.abc</include> </includes> </fileSet> <fileSet> <directory>../assembly-based-artifact-generating-child/target</directory> <outputDirectory>/</outputDirectory> <includes> <include>*.def</include> </includes> </fileSet> </fileSets> On Thu, Sep 2, 2010 at 4:41 PM, Pulkit Singhal <pulkitsing...@gmail.com> wrote: > The sub-module is using the following goal for the assembler: > <execution> > <phase>package</phase> > <goals> > <goal>single</goal> > </goals> > </execution> > But I think perhaps my artifact is being installed locally > (/.m2/repository) and then for some strange reason the > fake-assembly-put-my-product-together project decides that it should > look at real repositories when looking for dependencySets and not my > local .m2 repo, I wonder why that could be. Perhaps I should switch > over to using fileSets tag? > > - Pulkit > > On Thu, Sep 2, 2010 at 4:36 PM, Wendy Smoak <wsm...@gmail.com> wrote: >> On Thu, Sep 2, 2010 at 4:26 PM, Pulkit Singhal <pulkitsing...@gmail.com> >> wrote: >>> Thank You Anders & Wendy, that was a very educational link. >>> >>> But by moving the product assembler from the parent to a child >>> project, I've now run into a problem because i also have some of the >>> children of the parent pom building some packages using assemblers ... >>> their assembled stuff is not published in the repository (i wonder >>> why) ... and the fake-assembly-put-my-product-together project can't >>> download it from the repo so it chokes :( >> >> What assembly plugin goal are you using? You probably need to use one >> that 'attach'es those assemblies to the project so they get >> installed/deployed. >> >> -- >> Wendy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org