Sorry... correcting:

        <outputDirectory>src/main/webapp/WEB-INF/lib</outputDirectory>
        <includeDependencies>true</includeDependencies>
        <dependencySets></dependencySets>
        <unpack>false</unpack>

On 11/29/06, Guilherme Silveira <[EMAIL PROTECTED]> wrote:
Hello there,

Im using the assembly plugin with some modules and want to create a
fat zip with all module jars and its dependencies. The problem is, I
only need the RUNTIME dependencies of my submodules... looking at
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
it says I can do:

      <binaries>
        <outputDirectory>src/main/webapp/WEB-INF/lib</outputDirectory>
        <includeDependencies>false</includeDependencies>
        <dependencySets></dependencySets>
        <unpack>false</unpack>

But if I add such a tag (dependency sets), in order to set its scope, I get an:

Embedded error: Unrecognised tag: 'dependencySets' (position:
START_TAG seen ...</includeDependencies>\n        <dependencySets>...
@19:25)


Looks like the binaries tag doesnt really accept the dependencySets
tag. Im using the latest (?) release from assembly: 2.1

Any tips on it?

Guilherme

--
Guilherme Silveira
--------------------------------------------------
[EMAIL PROTECTED]
Caelum - Ensino e Solucoes em Java
www.caelum.com.br



--
Guilherme Silveira
--------------------------------------------------
[EMAIL PROTECTED]
Caelum - Ensino e Solucoes em Java
www.caelum.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to