From: <cat...@us...> - 2010-06-03 16:33:48
|
Revision: 14388 http://andromda.svn.sourceforge.net/andromda/?rev=14388&view=rev Author: catforce Date: 2010-06-03 16:33:42 +0000 (Thu, 03 Jun 2010) Log Message: ----------- changed configuration from andromda-site-plugin to xml-maven-plugin for xsl transformations of namespace.xml Modified Paths: -------------- trunk/translation-libraries/ocl/andromda-query/pom.xml trunk/translation-libraries/ocl/andromda-validation/pom.xml trunk/translation-libraries/ocl/pom.xml Modified: trunk/translation-libraries/ocl/andromda-query/pom.xml =================================================================== --- trunk/translation-libraries/ocl/andromda-query/pom.xml 2010-06-03 16:33:05 UTC (rev 14387) +++ trunk/translation-libraries/ocl/andromda-query/pom.xml 2010-06-03 16:33:42 UTC (rev 14388) @@ -51,17 +51,10 @@ <configurationUri>file:${basedir}/../conf/test/andromda.xml</configurationUri> </configuration> </plugin> + <!--Perform xslt transformation of namespace.xml for site generation--> <plugin> - <groupId>org.andromda.maven.plugins.site</groupId> - <artifactId>andromda-site-plugin</artifactId> - <executions> - <execution> - <id>namespace-transform</id> - <goals> - <goal>namespace-xsl</goal> - </goals> - </execution> - </executions> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> </plugin> </plugins> </build> Modified: trunk/translation-libraries/ocl/andromda-validation/pom.xml =================================================================== --- trunk/translation-libraries/ocl/andromda-validation/pom.xml 2010-06-03 16:33:05 UTC (rev 14387) +++ trunk/translation-libraries/ocl/andromda-validation/pom.xml 2010-06-03 16:33:42 UTC (rev 14388) @@ -69,17 +69,10 @@ <configurationUri>file:${basedir}/../conf/test/andromda.xml</configurationUri> </configuration> </plugin> + <!--Perform xslt transformation of namespace.xml for site generation--> <plugin> - <groupId>org.andromda.maven.plugins.site</groupId> - <artifactId>andromda-site-plugin</artifactId> - <executions> - <execution> - <id>namespace-transform</id> - <goals> - <goal>namespace-xsl</goal> - </goals> - </execution> - </executions> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> </plugin> </plugins> </build> Modified: trunk/translation-libraries/ocl/pom.xml =================================================================== --- trunk/translation-libraries/ocl/pom.xml 2010-06-03 16:33:05 UTC (rev 14387) +++ trunk/translation-libraries/ocl/pom.xml 2010-06-03 16:33:42 UTC (rev 14388) @@ -33,10 +33,29 @@ <artifactId>andromda-bootstrap-plugin</artifactId> <version>${project.version}</version> </plugin> + <!--Perform xslt transformation of namespace.xml for site generation--> <plugin> - <groupId>org.andromda.maven.plugins.site</groupId> - <artifactId>andromda-site-plugin</artifactId> - <version>${project.version}</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> + <configuration> + <transformationSets> + <transformationSet> + <addedToClasspath>false</addedToClasspath> + <dir>src/main/resources/META-INF/andromda</dir> + <includes> + <include>namespace.xml</include> + </includes> + <stylesheet>../../../andromda-etc/xsl/namespace.xsl</stylesheet> + <parameters> + <parameter> + <name>projectName</name> + <value>${project.name}</value> + </parameter> + </parameters> + <outputDir>src/site/xdoc</outputDir> + </transformationSet> + </transformationSets> + </configuration> </plugin> </plugins> </pluginManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |