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 <[EMAIL PROTECTED]> wrote:

Wendy Smoak wrote:
> On 12/7/06, Bob Arnott <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to