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

119 lines
3.8 KiB
XML

<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01</artifactId>
<version>〇一。壬寅。一〄-SNAPSHOT</version>
</parent>
<artifactId>nx01-x4o-tool-ant-plugin</artifactId>
<dependencies>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-x4o-driver</artifactId>
</dependency>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-x4o-driver</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>x4o-update-schema-cel</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>x4o-update-schema-cel-run-ant</id>
<phase>initialize</phase>
<configuration>
<target>
<property name="coredir"
value="${basedir}/../nx01-x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../licence.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="cel" taskId="eld-xsd">
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/cel" />
<x4oTaskProperty
key="http://x4o.org/properties/content/prolog/licence-file"
value="${licesefile}" />
</x4oTask>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-x4o-tool-ant-plugin</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>x4o-update-schema-eld</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>x4o-update-schema-eld-run-ant</id>
<phase>initialize</phase>
<configuration>
<target>
<property name="coredir"
value="${basedir}/../nx01-x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../licence.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="eld" taskId="eld-xsd">
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/eld" />
<x4oTaskProperty
key="http://x4o.org/properties/content/prolog/licence-file"
value="${licesefile}" />
</x4oTask>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-x4o-tool-ant-plugin</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>