Hi,
I would like to choose which dependency depA and it´s dependencies or depB and
it´s dependencies) to add at build time.
I know that :
<j:if test="${mydep.type == 'A'}">
<ant:path id="mydep.classpath">
<ant:pathelement
path="${plugin.getDependencyPath('groupIdA:depA')}" />
(... and its dependencies)
</j:if>
<j:if test="${mydep.type == 'B'}">
<ant:path id="mydep.classpath">
<ant:pathelement
path="${plugin.getDependencyPath('groupIdB:depB')}" />
(... and its dependencies)
</j:if>
However the code above only add the dependencies to classpath at compile time.
I need that the dependency is enclosed at my EAR or WAR.
It´s possible ? Or the POM is read-only ?
Thanks !!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]