blob: 2edeffff6bea15bfbc104b7551997a51d52f63d5 [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>
<artifactId>org.eclipse.viatra.parent.core</artifactId>
<groupId>org.eclipse.viatra</groupId>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../../releng/org.eclipse.viatra.parent.core/pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.viatra.query.testing.snapshot</artifactId>
<packaging>eclipse-plugin</packaging>
<properties>
<emf.workspace.location>${project.basedir}/../../target/workspace</emf.workspace.location>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>emf-gen</directory>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
<fileset><!-- EMF generator workspace -->
<directory>${emf.workspace.location}</directory>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<configuration>
<applicationsArgs>
<applicationsArg>-data ${emf.workspace.location}</applicationsArg>
<applicationsArg>-application org.eclipse.emf.codegen.ecore.Generator</applicationsArg>
<applicationsArg>-projects ${project.basedir}</applicationsArg>
<applicationsArg>-model</applicationsArg>
<applicationsArg>${project.basedir}/model/snapshot.genmodel</applicationsArg>
<applicationsArg>${project.basedir}</applicationsArg>
</applicationsArgs>
<dependencies>
<dependency>
<artifactId>org.eclipse.emf.codegen.ecore</artifactId>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
<repositories>
<repository>
<id>simrel</id>
<layout>p2</layout>
<url>${simrel.repository.url}</url>
</repository>
</repositories>
</configuration>
<executions>
<execution>
<goals>
<goal>eclipse-run</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>