Dear list,
Recently we moved a big project [1] to maven, into several modules. One of
these modules creates an AAR with the maven aar plugin.
When we run a full clean install on the parent project, everything seems to
work find when inspecting the target folders. However, any module that is built
*after* the aar module is installed into the local repository as an .aar file.
Other projects depending on these modules break because they cannot find the
.jar file.
The parent pom contains:
<pluginManagement>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.5.4</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-aar-maven-plugin</artifactId>
<version>1.5.4</version>
<extensions>true</extensions>
</plugin>
</plugins>
</pluginManagement>
The aar module pom has:
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<configuration>
<wsdlFile>${basedir}/src/main/axis2/service.wsdl</wsdlFile>
<packageName>net.ontopia.topicmaps.utils.tmrap.axis2</packageName>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateServicesXml>true</generateServicesXml>
<namespaceToPackages>http://localhost:8080/tmrap/services/TMRAP=net.ontopia.topicmaps.utils.tmrap.axis2</namespaceToPackages>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-aar-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
Any clue why this is happening, and how to prevent it?
[1] http://code.google.com/p/ontopia/
With regards,
Quintin Siebers
--
[email protected]
Morpheus Kennistechnologie BV
<URL: http://www.mssm.nl >
postbus 69
3500 CD Utrecht
KVK 30 26 04 30