|
17 | 17 | <java.version>11</java.version> |
18 | 18 | <junit.version>5.5.1</junit.version> |
19 | 19 | <saxon.version>9.9.1-4</saxon.version> |
| 20 | + <ignoreSigningInformation>true</ignoreSigningInformation> |
20 | 21 | </properties> |
21 | 22 |
|
22 | 23 | <organization> |
|
93 | 94 | <showDeprecation>true</showDeprecation> |
94 | 95 | </configuration> |
95 | 96 | </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> |
96 | 180 | </plugins> |
97 | 181 | </build> |
98 | 182 |
|
|
0 commit comments