maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupendra Bhardwaj" <bhupendra...@gmail.com>
Subject Re: Assembly problem
Date Wed, 13 Dec 2006 15:34:41 GMT
I too faced the same problem
dependencySets didn't seem to work inside moduleset.
So have added dependencysets outside moduleset and in the dependenySet
included only the modules I need.

Regards,


On 12/11/06, Bob Arnott <boba@aungate.com> wrote:
>
> Wendy Smoak wrote:
> > On 12/7/06, Bob Arnott <boba@autonomy.com> wrote:
> >
> >> Hello list, I've got an issue with the assembly plugin, I'm getting
> this
> >> error:
> >> Embedded error: Unrecognised tag: 'dependencySets' (position:
> >> START_TAG seen ...</includeDependencies>\r\n        <dependencySets
> >
> > That doesn't seem to match up with what you posted, which has no
> > <includeDependencies> tag.  In addition, as Bram mentioned, the xml
> > you posted is not well formed.  (Your closing </moduleSets> tag is
> > missing the /.)
>
> The XML I posted was an example to make my point about the what I was
> trying to achieve. A cut down version of what I've got is:
>
> <assembly>
>   <id>bin</id>
>   <formats>
>     <format>tar.gz</format>
>     <format>zip</format>
>   </formats>
>   <moduleSets>
>     <moduleSet>
>       <includes>
>         <include>my-group:module1</include>
>       </includes>
>       <binaries>
>         <outputDirectory></outputDirectory>
>         <includeDependencies>true</includeDependencies>
>         <dependencySets>
>           <dependencySet>
>             <outputDirectory>libs</outputDirectory>
>             <scope>runtime</scope>
>             <excludes>
>               <exclude>my-group:module1</exclude>
>             </excludes>
>           </dependencySet>
>         </dependencySets>
>       </binaries>
>     </moduleSet>
>     ...
>   </moduleSets>
> </assembly>
>
> Cheers,
>
> --
> Bob Arnott
>
> Senior Software Developer
> Autonomy Systems Ltd.
> Cambridge Business Park
> Cowley Road
> Cambridge
> CB4 0WZ
>
> T: +44 (0) 1223 448 000
> F: +44 (0) 1223 448 001
> http://www.autonomy.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message