<?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>sca2amalthea</groupId> | |
<artifactId>org.eclipse.app4mc.sca2amalthea.build</artifactId> | |
<version>1.0.0.qualifier</version> | |
<relativePath>../../build/org.eclipse.app4mc.sca2amalthea.build</relativePath> | |
</parent> | |
<groupId>sca2amalthea</groupId> | |
<artifactId>org.eclipse.app4mc.sca2amalthea.scairmodelenricher</artifactId> | |
<packaging>eclipse-plugin</packaging> | |
<build> | |
<sourceDirectory>src</sourceDirectory> | |
<resources> | |
<resource> | |
<directory>xtend-gen</directory> | |
<excludes> | |
<exclude>**/*.java</exclude> | |
</excludes> | |
</resource> | |
<resource> | |
<directory>src</directory> | |
<excludes> | |
<exclude>**/*.java</exclude> | |
</excludes> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>2.4.1</version> | |
<configuration> | |
<filesets> | |
<fileset> | |
<directory>xtend-gen</directory> | |
<includes> | |
<include>**</include> | |
</includes> | |
</fileset> | |
</filesets> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<id>add-source</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>add-source</goal> | |
</goals> | |
<configuration> | |
<sources> | |
<source>xtend-gen</source> | |
</sources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.xtend</groupId> | |
<artifactId>xtend-maven-plugin</artifactId> | |
<version>2.7.3</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>xtend-gen</outputDirectory> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |