Hello Franz,
You mean like this:
<binaries>
<outputDirectory>src/main/webapp/WEB-INF/lib</outputDirectory>
<includeDependencies>true</includeDependencies>
<dependencySets>
<dependencySet>
<outputDirectory>src/main/webapp/WEB-INF/lib</outputDirectory>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
<unpack>false</unpack>
</binaries>
I don't believe that would be the error as the message doesnt describe
that it misses the dependencySet tag. But anyhow, the error for the
above code is still the same:
Embedded error: Unrecognised tag: 'dependencySets' (position:
START_TAG seen ...</includeDependencies>\n <dependencySets>...
@19:19)
Cheers
Guilherme
On 11/30/06, franz see <[EMAIL PROTECTED]> wrote:
Good dayt o you, Guilherme,
Try adding a <dependencySet>...</dependencySet> inside your
<dependencySets>.
Cheers,
Franz
guilherme_silveira wrote:
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/assembly-plugin-with-modules-tf2727062s177.html#a7623648
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
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]