Skip to content

Commit

Permalink
Merge pull request #2 from donmendelson/issue1
Browse files Browse the repository at this point in the history
  • Loading branch information
donmendelson authored Sep 17, 2019
2 parents a2b4bc4 + 441ddce commit 73ef29e
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<java.version>11</java.version>
<junit.version>5.5.1</junit.version>
<saxon.version>9.9.1-4</saxon.version>
<ignoreSigningInformation>true</ignoreSigningInformation>
</properties>

<organization>
Expand Down Expand Up @@ -93,6 +94,89 @@
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>verify</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/modules</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}</directory>
<includes>
<include>*.jar</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>1.0.0.Beta2</version>
<executions>
<execution>
<id>add-module-infos</id>
<phase>generate-resources</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/modules</outputDirectory>
<overwriteExistingFiles>true</overwriteExistingFiles>
<ignoreSigningInformation>true</ignoreSigningInformation>
<modules>
<module>
<artifact>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${saxon.version}</version>
</artifact>
<moduleInfoSource>
module Saxon.HE {

}
</moduleInfoSource>
</module>
</modules>

</configuration>
</execution>
<execution>
<!-- due to an apparent plugin bug, must run after clean -->
<id>create-runtime-image</id>
<phase>install</phase>
<goals>
<goal>create-runtime-image</goal>
</goals>
<configuration>
<modulePath>
<path>${project.build.directory}/modules</path>
</modulePath>
<modules>
<module>diff.merge</module>
<module>Saxon.HE</module>
</modules>
<outputDirectory>
${project.build.directory}/jlink-image
</outputDirectory>
<!-- apparently only one launcher can be provided, so merge requires command line -->
<launcher>
<name>xmldiff</name>
<module>diff.merge/io.fixprotocol.xml.XmlDiff</module>
</launcher>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 73ef29e

Please sign in to comment.