How can I use the addressing module in a maven test? I'd love to have an
example how to load a module from the classpath and how to convince maven to
put a module on the classpath.
I've tried adding the module as a dependency in maven, and that compiled but
failed to load the module.
I've tried this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>initialize</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>
org.apache.axis2
</groupId>
<artifactId>addressing</artifactId>
<version>
1.4
</version>
<type>mar</type>
<destFileName>
addressing-1.4.mar
</destFileName>
</artifactItem>
</artifactItems>
<outputDirectory>
src/main/resources
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
But that doesn't work for me either.
Thanks in advance,
--Nik