blob: c3d13efc8129be0d37535039cf8d6854257550e3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.papyrusrt</groupId>
<artifactId>umlrt.code-generator</artifactId>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.eclipse.papyrusrt</groupId>
<artifactId>org.eclipse.papyrusrt.rts</artifactId>
<version>0.5.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>make</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="make">
<taskdef
resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.plugin.classpath" />
<copy todir="${project.basedir}/umlrts">
<fileset dir="${project.basedir}/../../rts"/>
</copy>
<exec
executable="make"
dir="${project.basedir}/umlrts"
failonerror="true">
<!-- These need to be args rather then env-vars because the RTS makefile
does not respect values inherited from the environment. -->
<arg value="DEBUG=1"/>
<arg value="DEPEND=0"/>
<arg value="all"/>
</exec>
<delete file="${project.basedir}/umlrts/.cproject"/>
<delete file="${project.basedir}/umlrts/.project"/>
<delete dir="${project.basedir}/umlrts/build"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<packaging>eclipse-plugin</packaging>
</project>