Hello Mathieu, Guys.
You can add exclusions into axis2-war/pom.xml for ode-axis2 artifact.
Dependency on ant comes from ode-axis2 or one of its dependencies...
What i did:
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-axis2</artifactId>
<!-- Move to master POM -->
<version>${project.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
And it excludes ant from war.
Olexandr.
> [
> http://issues.apache.org/jira/browse/ODE-62?page=comments#action_12443666
> ]
>
> Matthieu Riou commented on ODE-62:
> ----------------------------------
>
> So Ant isn't one of the module dependencies. It just comes from nowhere.
> I'm suspecting it's an unintended consequence of using the antrun plugin.
> However the war plugin doesn't let you filter the included libraries, only
> the included resources.
>
> It's a shame though because that would make the WAR a whole megabyte
> smaller. If somebody knows how to filter this out...
>
>> ode-axis2.war contains ant-1.6.5.jar
>> ------------------------------------
>>
>> Key: ODE-62
>> URL: http://issues.apache.org/jira/browse/ODE-62
>> Project: Apache Ode
>> Issue Type: Bug
>> Components: Axis2 Integration
>> Reporter: Alex Boisvert
>>
>> ode-axis2.war contains ant-1.6.5.jar under WEF-INF/lib; we should fix
>> the build to avoid its inclusion into the .war
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>