x4o/x4o-plugin/x4o-plugin-ant/pom.xml

209 lines
7.8 KiB
XML
Raw Normal View History

2012-09-11 11:15:26 +00:00
<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>org.x4o.plugin</groupId>
2013-04-08 19:44:16 +00:00
<artifactId>x4o-plugin</artifactId>
<version>0.8.6-SNAPSHOT</version>
2012-09-11 11:15:26 +00:00
</parent>
2013-04-08 19:44:16 +00:00
<artifactId>x4o-plugin-ant</artifactId>
<name>x4o-plugin-ant</name>
<description>x4o-plugin-ant</description>
2012-09-11 11:15:26 +00:00
<dependencies>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-eld-doc</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${ant.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>${ant-testutil.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
2013-04-08 19:44:16 +00:00
</dependency>
2012-09-11 11:15:26 +00:00
<dependency>
<groupId>de.odysseus.juel</groupId>
<artifactId>juel</artifactId>
<version>${juel.version}</version>
</dependency>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xerces.version}</version>
<scope>test</scope>
</dependency>
2012-09-11 11:15:26 +00:00
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site-plugin.version}</version>
<configuration>
<siteDirectory>${project.basedir}/../../src/site-child</siteDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
2013-04-08 19:44:16 +00:00
<profile>
<id>ant-update-schema-cel</id>
2013-04-08 19:44:16 +00:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>update-schema-cel-ant</id>
<phase>generate-resources</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<taskdef name="writeLanguageSchema" classname="org.x4o.plugin.ant.X4OWriteLanguageSchemaTask" classpathref="maven.plugin.classpath" />
<writeLanguageSchema destdir="${coredir}/cel" languageName="cel" />
2013-04-08 19:44:16 +00:00
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.x4o.plugin</groupId>
<artifactId>x4o-plugin-ant</artifactId>
2013-04-08 19:44:16 +00:00
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ant-update-schema-eld</id>
2013-04-08 19:44:16 +00:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>update-schema-eld-ant</id>
<phase>generate-resources</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<taskdef name="writeLanguageSchema" classname="org.x4o.plugin.ant.X4OWriteLanguageSchemaTask" classpathref="maven.plugin.classpath" />
<writeLanguageSchema destdir="${coredir}/eld" languageName="eld" />
2013-04-08 19:44:16 +00:00
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.x4o.plugin</groupId>
<artifactId>x4o-plugin-ant</artifactId>
2013-04-08 19:44:16 +00:00
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
2012-09-11 11:15:26 +00:00
<profile>
<id>ant-site-elddoc</id>
2012-09-11 11:15:26 +00:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>site-elddoc-ant</id>
<phase>pre-site</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../target/site/elddocs" />
<mkdir dir="${coredir}/cel" />
<mkdir dir="${coredir}/eld" />
<mkdir dir="${coredir}/junit-test" />
<mkdir dir="${coredir}/junit-swixml2" />
<mkdir dir="${coredir}/junit-swixml3" />
<taskdef name="writeLanguageDoc" classname="org.x4o.plugin.ant.X4OWriteLanguageDocTask" classpathref="maven.plugin.classpath" />
<writeLanguageDoc destdir="${coredir}/cel" languageName="cel" />
<writeLanguageDoc destdir="${coredir}/eld" languageName="eld" />
<writeLanguageDoc destdir="${coredir}/junit-test" languageName="test" />
<writeLanguageDoc destdir="${coredir}/junit-swixml2" languageName="swixml" languageVersion="2.0" />
<writeLanguageDoc destdir="${coredir}/junit-swixml3" languageName="swixml" />
2012-09-11 11:15:26 +00:00
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.x4o.plugin</groupId>
2013-04-08 19:44:16 +00:00
<artifactId>x4o-plugin-ant</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.x4o</groupId>
<artifactId>x4o-eld-doc</artifactId>
2012-09-11 11:15:26 +00:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.odysseus.juel</groupId>
<artifactId>juel</artifactId>
<version>${juel.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>