|
1 | | -<?xml version="1.0" encoding="UTF-8" ?> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 | <groupId>MCZDataShot</groupId> |
6 | 6 | <artifactId>PreCaptureApp</artifactId> |
7 | 7 | <version>1.2.0-SNAPSHOT</version> |
| 8 | + <packaging>jar</packaging> |
8 | 9 | <name>precapture</name> |
9 | 10 | <description>MCZ DataShot Collection Precapture Label Application</description> |
10 | | - <packaging>jar</packaging> |
11 | 11 | <properties> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | 13 | </properties> |
|
64 | 64 | <artifactId>jaxb-api</artifactId> |
65 | 65 | <version>2.3.1</version> |
66 | 66 | </dependency> |
| 67 | + <!-- API, java.xml.bind module --> |
| 68 | + <dependency> |
| 69 | + <groupId>jakarta.xml.bind</groupId> |
| 70 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 71 | + <version>2.3.2</version> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>com.sun.activation</groupId> |
| 75 | + <artifactId>jakarta.activation</artifactId> |
| 76 | + <version>2.0.0-RC3</version> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>com.sun.activation</groupId> |
| 80 | + <artifactId>javax.activation</artifactId> |
| 81 | + <version>1.2.0</version> |
| 82 | + </dependency> |
67 | 83 | <dependency> |
68 | 84 | <groupId>javassist</groupId> |
69 | 85 | <artifactId>javassist</artifactId> |
70 | 86 | <version>3.12.1.GA</version> |
71 | 87 | </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>javax.activation</groupId> |
| 90 | + <artifactId>activation</artifactId> |
| 91 | + <version>1.1.1</version> |
| 92 | + </dependency> |
72 | 93 | <dependency> |
73 | 94 | <groupId>junit</groupId> |
74 | 95 | <artifactId>junit</artifactId> |
|
125 | 146 | <artifactId>javahelp</artifactId> |
126 | 147 | <version>2.0.05</version> |
127 | 148 | </dependency> |
128 | | - <dependency> |
| 149 | + <!-- <dependency> |
129 | 150 | <groupId>com.sun.xml.bind</groupId> |
130 | 151 | <artifactId>jaxb-core</artifactId> |
131 | 152 | <version>2.3.0.1</version> |
132 | | - </dependency> |
133 | | - <dependency> |
| 153 | + </dependency> --> |
| 154 | + <!-- <dependency> |
134 | 155 | <groupId>com.sun.xml.bind</groupId> |
135 | 156 | <artifactId>jaxb-impl</artifactId> |
136 | 157 | <version>2.3.1</version> |
| 158 | + </dependency> --> |
| 159 | + <!-- https://mvnrepository.com/artifact/com.sun.activation/javax.activation --> |
| 160 | + <dependency> |
| 161 | + <groupId>com.sun.activation</groupId> |
| 162 | + <artifactId>javax.activation</artifactId> |
| 163 | + <version>1.2.0</version> |
137 | 164 | </dependency> |
138 | 165 | <dependency> |
139 | 166 | <groupId>org.javassist</groupId> |
|
146 | 173 | <artifactId>pdfbox</artifactId> |
147 | 174 | <version>2.0.20</version> |
148 | 175 | </dependency> |
| 176 | + <!-- Runtime, com.sun.xml.bind module --> |
| 177 | + <dependency> |
| 178 | + <groupId>org.glassfish.jaxb</groupId> |
| 179 | + <artifactId>jaxb-runtime</artifactId> |
| 180 | + <version>2.3.2</version> |
| 181 | + </dependency> |
149 | 182 | </dependencies> |
150 | 183 | <build> |
151 | 184 | <sourceDirectory>${project.basedir}/src</sourceDirectory> |
152 | 185 | <testSourceDirectory>${project.basedir}/src</testSourceDirectory> |
153 | | - <testResources> |
154 | | - <testResource> |
155 | | - <directory>${project.basedir}/src</directory> |
156 | | - <includes> |
157 | | - <include>**/*.xml</include> |
158 | | - </includes> |
159 | | - </testResource> |
160 | | - </testResources> |
161 | 186 | <resources> |
162 | 187 | <resource> |
163 | | - <directory |
164 | | - >${project.basedir}/src/edu/harvard/mcz/precapture/resources</directory> |
165 | 188 | <targetPath>edu/harvard/mcz/precapture/resources</targetPath> |
| 189 | + <directory>${project.basedir}/src/edu/harvard/mcz/precapture/resources</directory> |
166 | 190 | <includes> |
167 | 191 | <include>**/**</include> |
168 | 192 | </includes> |
|
183 | 207 | </includes> |
184 | 208 | </resource> |
185 | 209 | </resources> |
| 210 | + <testResources> |
| 211 | + <testResource> |
| 212 | + <directory>${project.basedir}/src</directory> |
| 213 | + <includes> |
| 214 | + <include>**/*.xml</include> |
| 215 | + </includes> |
| 216 | + </testResource> |
| 217 | + </testResources> |
186 | 218 | <plugins> |
| 219 | + <plugin> |
| 220 | + <groupId>com.github.ekryd.sortpom</groupId> |
| 221 | + <artifactId>sortpom-maven-plugin</artifactId> |
| 222 | + <version>2.11.0</version> |
| 223 | + <executions> |
| 224 | + <execution> |
| 225 | + <goals> |
| 226 | + <goal>sort</goal> |
| 227 | + </goals> |
| 228 | + <phase>verify</phase> |
| 229 | + </execution> |
| 230 | + </executions> |
| 231 | + </plugin> |
187 | 232 | <plugin> |
188 | 233 | <groupId>org.apache.maven.plugins</groupId> |
189 | 234 | <artifactId>maven-compiler-plugin</artifactId> |
|
209 | 254 | <executions> |
210 | 255 | <execution> |
211 | 256 | <id>make-assembly</id> |
212 | | - <phase>package</phase> |
213 | 257 | <goals> |
214 | 258 | <goal>single</goal> |
215 | 259 | </goals> |
| 260 | + <phase>package</phase> |
| 261 | + </execution> |
| 262 | + </executions> |
| 263 | + </plugin> |
| 264 | + <plugin> |
| 265 | + <groupId>io.github.fvarrui</groupId> |
| 266 | + <artifactId>javapackager</artifactId> |
| 267 | + <version>1.4.1</version> |
| 268 | + <executions> |
| 269 | + <execution> |
| 270 | + <goals> |
| 271 | + <goal>package</goal> |
| 272 | + </goals> |
| 273 | + <phase>package</phase> |
| 274 | + <configuration> |
| 275 | + <!-- mandatory --> |
| 276 | + <mainClass>edu.harvard.mcz.precapture.PreCaptureApp</mainClass> |
| 277 | + <!-- optional --> |
| 278 | + <bundleJre>true</bundleJre> |
| 279 | + <generateInstaller>true</generateInstaller> |
| 280 | + <administratorRequired>false</administratorRequired> |
| 281 | + <platform>auto</platform> |
| 282 | + </configuration> |
216 | 283 | </execution> |
217 | 284 | </executions> |
218 | 285 | </plugin> |
|
0 commit comments