207 lines
9.5 KiB
XML
207 lines
9.5 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-poop-scripts</artifactId>
|
||
<packaging>pom</packaging>
|
||
<profiles>
|
||
<profile>
|
||
<id>mvn-help</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-antrun-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>mvn-help</id>
|
||
<goals>
|
||
<goal>run</goal>
|
||
</goals>
|
||
<phase>initialize</phase>
|
||
<configuration>
|
||
<target>
|
||
<echo></echo>
|
||
<echo>Bassboon Maven Help;</echo>
|
||
<echo></echo>
|
||
<echo> - mvn clean</echo>
|
||
<echo> - mvn package</echo>
|
||
<echo> - mvn install</echo>
|
||
<echo> - mvn initialize -P mvn-help</echo>
|
||
<echo> - mvn initialize -P mvn-versions-check</echo>
|
||
<echo></echo>
|
||
<echo>After "install" the following options are;</echo>
|
||
<echo></echo>
|
||
<echo> - mvn initialize -P x4o-update-schema-cel</echo>
|
||
<echo> - mvn initialize -P x4o-update-schema-eld</echo>
|
||
<echo> - mvn initialize -P x4o-generate-local-xsd</echo>
|
||
</target>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
<profile>
|
||
<id>mvn-versions-check</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>versions-maven-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>run-plugin-updates</id>
|
||
<goals>
|
||
<goal>display-plugin-updates</goal>
|
||
</goals>
|
||
<phase>initialize</phase>
|
||
<configuration>
|
||
<outputFile>target/versions-plugin-updates.txt</outputFile>
|
||
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>run-dependency-updates</id>
|
||
<goals>
|
||
<goal>display-dependency-updates</goal>
|
||
</goals>
|
||
<phase>initialize</phase>
|
||
<configuration>
|
||
<outputFile>target/versions-dependency-updates.txt</outputFile>
|
||
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-antrun-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>mvn-versions-check</id>
|
||
<goals>
|
||
<goal>run</goal>
|
||
</goals>
|
||
<phase>initialize</phase>
|
||
<configuration>
|
||
<target>
|
||
<echo>Loading version output.</echo>
|
||
<loadfile property="versions_plugins" srcFile="target/versions-plugin-updates.txt" encoding="UTF-8" />
|
||
<loadfile property="versions_dependency" srcFile="target/versions-dependency-updates.txt" encoding="UTF-8" />
|
||
<echo>Checking for plugin updates.</echo>
|
||
<fail message="Out of date plugin detected.">
|
||
<condition>
|
||
<contains string="${versions_plugins}" substring="->" />
|
||
</condition>
|
||
</fail>
|
||
<echo>Checking for dependency updates.</echo>
|
||
<fail message="Out of date dependency detected.">
|
||
<condition>
|
||
<contains string="${versions_dependency}" substring="->" />
|
||
</condition>
|
||
</fail>
|
||
<echo>No pending updates found.</echo>
|
||
</target>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
<profile>
|
||
<id>x4o-generate-local-xsd</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}/../src/_schemas" />
|
||
<property name="selfiename" value="${artifactId}@x4o-generate-local-xsd" />
|
||
<property name="selfiebreak" value="160" />
|
||
<property name="selfiecomment" value="@DuytsDocAuthor注(name = 'للَّٰهِilLצسُو', copyright = '©Δ∞ 仙上主天')" />
|
||
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath" />
|
||
<x4oTask languageName="cel" taskId="x4o-static">
|
||
<x4oTaskProperty key="http://x4o.org/properties/x4o-static/output/path" value="${coredir}/x4o-static" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/x4o-static/output/oasis-xml-catalog" value="true" />
|
||
</x4oTask>
|
||
<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/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</x4oTask>
|
||
<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/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</x4oTask>
|
||
<x4oTask languageName="test" taskId="eld-xsd">
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/junit-test" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</x4oTask>
|
||
<x4oTask languageName="swixml" languageVersion="2.0" taskId="eld-xsd">
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/junit-swixml" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</x4oTask>
|
||
<x4oTask languageName="swixml" languageVersion="3.0" taskId="eld-xsd">
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/junit-swixml" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</x4oTask>
|
||
<x4oTask languageName="redsea-wfs" taskId="eld-xsd">
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/redsea-wfs" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-by" value="${selfiename}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/prolog/generated-version" value="${version}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/user-comment" value="${selfiecomment}" />
|
||
<x4oTaskProperty key="http://x4o.org/properties/content/output/line-break-width" value="${selfiebreak}" />
|
||
</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>
|
||
</dependencies>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
</project> |