Added ELD doc build script

This commit is contained in:
Willem Cazander 2024-12-19 17:20:10 +01:00
parent 5338d4f632
commit 1990f9a19e

View file

@ -37,9 +37,10 @@
<echo></echo> <echo></echo>
<echo>After "install" the following options are;</echo> <echo>After "install" the following options are;</echo>
<echo></echo> <echo></echo>
<echo> - mvn initialize -P x4o-update-schema-cel</echo> <echo> - mvn initialize -P x4o-generate-local-xsd (generated all XSD files)</echo>
<echo> - mvn initialize -P x4o-update-schema-eld</echo> <echo> - mvn initialize -P x4o-generate-eld-doc (generated some ELD documentation)</echo>
<echo> - mvn initialize -P x4o-generate-local-xsd</echo> <echo> - mvn initialize -P x4o-update-schema-cel (for x4o dev)</echo>
<echo> - mvn initialize -P x4o-update-schema-eld (for x4o dev)</echo>
</target> </target>
</configuration> </configuration>
</execution> </execution>
@ -125,7 +126,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>x4o-update-schema-eld-run-ant</id> <id>x4o-generate-local-xsd-run-ant</id>
<phase>initialize</phase> <phase>initialize</phase>
<configuration> <configuration>
<target> <target>
@ -218,5 +219,66 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile>
<id>x4o-generate-eld-doc</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>x4o-generate-eld-doc-run-ant</id>
<phase>initialize</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../target/site/xmldoc" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath" />
<x4oTask languageName="cel" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/cel" />
</x4oTask>
<x4oTask languageName="eld" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/eld" />
</x4oTask>
<x4oTask languageName="swixml" languageVersion="3.0" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/junit-swixml" />
</x4oTask>
<x4oTask languageName="redsea-jdatstart" languageVersion="7.0" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/redsea-jdatstart" />
</x4oTask>
<!--
<x4oTask languageName="redsea-wfs" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/redsea-wfs" />
</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>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-x4o-driver</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>love.distributedrebirth.nx01</groupId>
<artifactId>nx01-redsea-jdatstart</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles> </profiles>
</project> </project>