<?xml version="1.0" encoding="UTF-8"?>
<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>com.redhat.ceylon.eclipse</groupId>
		<artifactId>plugins</artifactId>
		<version>1.1.0-SNAPSHOT</version>
	</parent>
	<artifactId>com.redhat.ceylon.eclipse.ui</artifactId> 
	
	<packaging>eclipse-plugin</packaging>
</project>

<?xml version="1.0" encoding="UTF-8"?>
<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>com.redhat.ceylon.eclipse</groupId>
        <artifactId>plugins</artifactId>
        <version>1.1.0-SNAPSHOT</version>
    </parent>
    <artifactId>com.redhat.ceylon.eclipse.ui</artifactId>

    <packaging>eclipse-plugin</packaging>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <id>cleanCeylonModule</id>
                        <phase>clean</phase>
                        <configuration>
                            <target>
                                <ant dir="${project.basedir}/ceylon" target="clean"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>compileCeylonModule</id>
                        <phase>generate-sources</phase>
                        <configuration>
                            <target>
                                <ant dir="${project.basedir}/ceylon" target="compile"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>testCeylonModule</id>
                        <phase>test</phase>
                        <configuration>
                            <target>
                                <ant dir="${project.basedir}/ceylon" target="test"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

Include the ceylon compilation and tests in the global maven build
Include the ceylon compilation and tests in the global maven build