<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>de.rhocas.featuregen</groupId>
        <artifactId>featuregen-parent</artifactId>
        <version>2.0.0</version>
        <relativePath>../featuregen-parent</relativePath>
    </parent>

    <artifactId>featuregen-generator</artifactId>

    <dependencies>
        <dependency>
            <groupId>de.rhocas.featuregen</groupId>
            <artifactId>featuregen-feature-ide-configuration-model</artifactId>
        </dependency>
        <dependency>
            <groupId>de.rhocas.featuregen</groupId>
            <artifactId>featuregen-feature-ide-feature-model</artifactId>
        </dependency>
        <dependency>
            <groupId>de.rhocas.featuregen</groupId>
            <artifactId>featuregen-lib</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.xtend</groupId>
            <artifactId>org.eclipse.xtend.lib</artifactId>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-all</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.xtend</groupId>
                <artifactId>xtend-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>testCompile</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory>
                            <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>