Hi,
axis2 requires .mar files (modules) to be stored in a /modules folder within the resulting war file. The mar file is currently available as a dependency, and thus resides in WEB-INF/lib . I would like to have it moved to /modules.
axis2 jaxws-samples uses maven and does it like this:
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-modules</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/modules</outputDirectory>
<includeTypes>mar</includeTypes>
</configuration>
</execution>
</executions>
</plugin>
What would the alternative be in Gradle? I’m pretty new at Gradle, using Kotlin DSL, and having difficulties finding the correct way to do this. Any help is very much appreciated.