Skip to content

Commit 73ef29e

Browse files
authored
Merge pull request #2 from donmendelson/issue1
#1
2 parents a2b4bc4 + 441ddce commit 73ef29e

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

pom.xml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<java.version>11</java.version>
1818
<junit.version>5.5.1</junit.version>
1919
<saxon.version>9.9.1-4</saxon.version>
20+
<ignoreSigningInformation>true</ignoreSigningInformation>
2021
</properties>
2122

2223
<organization>
@@ -93,6 +94,89 @@
9394
<showDeprecation>true</showDeprecation>
9495
</configuration>
9596
</plugin>
97+
<plugin>
98+
<artifactId>maven-resources-plugin</artifactId>
99+
<version>3.1.0</version>
100+
<executions>
101+
<execution>
102+
<id>copy-resources</id>
103+
<phase>verify</phase>
104+
<goals>
105+
<goal>copy-resources</goal>
106+
</goals>
107+
<configuration>
108+
<outputDirectory>${project.build.directory}/modules</outputDirectory>
109+
<resources>
110+
<resource>
111+
<directory>${project.build.directory}</directory>
112+
<includes>
113+
<include>*.jar</include>
114+
</includes>
115+
</resource>
116+
</resources>
117+
</configuration>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.moditect</groupId>
123+
<artifactId>moditect-maven-plugin</artifactId>
124+
<version>1.0.0.Beta2</version>
125+
<executions>
126+
<execution>
127+
<id>add-module-infos</id>
128+
<phase>generate-resources</phase>
129+
<goals>
130+
<goal>add-module-info</goal>
131+
</goals>
132+
<configuration>
133+
<outputDirectory>${project.build.directory}/modules</outputDirectory>
134+
<overwriteExistingFiles>true</overwriteExistingFiles>
135+
<ignoreSigningInformation>true</ignoreSigningInformation>
136+
<modules>
137+
<module>
138+
<artifact>
139+
<groupId>net.sf.saxon</groupId>
140+
<artifactId>Saxon-HE</artifactId>
141+
<version>${saxon.version}</version>
142+
</artifact>
143+
<moduleInfoSource>
144+
module Saxon.HE {
145+
146+
}
147+
</moduleInfoSource>
148+
</module>
149+
</modules>
150+
151+
</configuration>
152+
</execution>
153+
<execution>
154+
<!-- due to an apparent plugin bug, must run after clean -->
155+
<id>create-runtime-image</id>
156+
<phase>install</phase>
157+
<goals>
158+
<goal>create-runtime-image</goal>
159+
</goals>
160+
<configuration>
161+
<modulePath>
162+
<path>${project.build.directory}/modules</path>
163+
</modulePath>
164+
<modules>
165+
<module>diff.merge</module>
166+
<module>Saxon.HE</module>
167+
</modules>
168+
<outputDirectory>
169+
${project.build.directory}/jlink-image
170+
</outputDirectory>
171+
<!-- apparently only one launcher can be provided, so merge requires command line -->
172+
<launcher>
173+
<name>xmldiff</name>
174+
<module>diff.merge/io.fixprotocol.xml.XmlDiff</module>
175+
</launcher>
176+
</configuration>
177+
</execution>
178+
</executions>
179+
</plugin>
96180
</plugins>
97181
</build>
98182

0 commit comments

Comments
 (0)