<moduleSearchLocations> not re-initialized between maven2 plugin executions.
----------------------------------------------------------------------------
Key: MAVEN-61
URL: http://jira.andromda.org/browse/MAVEN-61
Project: Maven Plugins
Type: Bug
Reporter: Jerome Leclercq
Assigned to: Chad Brandon
<location> items under <moduleSearchLocations> in .xml config files keep adding
up instead of being initialized before each execution.
example :
we have 2 modules used as a dependency :
/dir/module.xml.zip
/dir/subdir/module.xml.zip
Second execution always picks up /dir/subdir/module.xml.zip instead of
/dir/module.xml.zip.
##### andromda-java.xml #####
<moduleSearchLocations>
<location patterns="*.xml.zip">/dir/subdir</location>
##### andromda-spring.xml #####
<moduleSearchLocations>
<location patterns="*.xml.zip">/dir</location>
##### pom.xml #####
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromda-maven-plugin</artifactId>
<version>${andromda.version}</version>
<executions>
<execution>
<id>java</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<buildSourceDirectory>target/src</buildSourceDirectory>
<configurationUri>file:${basedir}/model/conf/andromda-java.xml</configurationUri>
</configuration>
</execution>
<execution>
<id>spring</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<buildSourceDirectory>target/src</buildSourceDirectory>
<configurationUri>file:${basedir}/model/conf/andromda-spring.xml</configurationUri>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.andromda.cartridges</groupId>
<artifactId>andromda-spring-cartridge</artifactId>
<version>${andromda.version}</version>
</dependency>
<dependency>
<groupId>org.andromda.cartridges</groupId>
<artifactId>andromda-java-cartridge</artifactId>
<version>${andromda.version}</version>
</dependency>
</dependencies>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV