|
8 | 8 | <packaging>jar</packaging>
|
9 | 9 | <name>nfc4pc</name>
|
10 | 10 | <url>https://github.com/martinpaljak/nfc4pc</url>
|
11 |
| - <description>Working with smart card readers? This is for you.</description> |
| 11 | + <description>Make your PC open links on NFC tags, like a phone!</description> |
12 | 12 | <properties>
|
13 | 13 | <project.build.outputTimestamp>2024-09-26T12:49:53Z</project.build.outputTimestamp>
|
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 16 | + <javafx.version>21.0.5</javafx.version> |
14 | 17 | </properties>
|
15 | 18 | <scm>
|
16 | 19 | <url>https://github.com/martinpaljak/nfc4pc</url>
|
|
36 | 39 | <dependency>
|
37 | 40 | <groupId>org.openjfx</groupId>
|
38 | 41 | <artifactId>javafx-controls</artifactId>
|
39 |
| - <version>21.0.5</version> |
| 42 | + <version>${javafx.version}</version> |
40 | 43 | </dependency>
|
41 | 44 | <dependency>
|
42 | 45 | <groupId>org.openjfx</groupId>
|
43 | 46 | <artifactId>javafx-swing</artifactId>
|
44 |
| - <version>21.0.5</version> |
45 |
| - </dependency> |
46 |
| - <dependency> |
47 |
| - <groupId>org.openjfx</groupId> |
48 |
| - <artifactId>javafx-graphics</artifactId> |
49 |
| - <version>21.0.5</version> |
| 47 | + <version>${javafx.version}</version> |
50 | 48 | </dependency>
|
51 | 49 | <dependency>
|
52 | 50 | <groupId>com.dustinredmond.fxtrayicon</groupId>
|
53 | 51 | <artifactId>FXTrayIcon</artifactId>
|
54 | 52 | <version>4.2.0</version>
|
55 | 53 | </dependency>
|
56 |
| - <!-- Runtime files for target platforms for JavaFX --> |
57 |
| - <dependency> |
58 |
| - <groupId>org.openjfx</groupId> |
59 |
| - <artifactId>javafx-graphics</artifactId> |
60 |
| - <version>21.0.5</version> |
61 |
| - <classifier>win</classifier> |
62 |
| - </dependency> |
63 |
| - <dependency> |
64 |
| - <groupId>org.openjfx</groupId> |
65 |
| - <artifactId>javafx-graphics</artifactId> |
66 |
| - <version>21.0.5</version> |
67 |
| - <classifier>linux</classifier> |
68 |
| - </dependency> |
69 |
| - <dependency> |
70 |
| - <groupId>org.openjfx</groupId> |
71 |
| - <artifactId>javafx-graphics</artifactId> |
72 |
| - <version>21.0.5</version> |
73 |
| - <classifier>mac</classifier> |
74 |
| - </dependency> |
75 |
| - <dependency> |
76 |
| - <groupId>org.openjfx</groupId> |
77 |
| - <artifactId>javafx-graphics</artifactId> |
78 |
| - <version>21.0.5</version> |
79 |
| - <classifier>mac-aarch64</classifier> |
80 |
| - </dependency> |
81 | 54 | <!-- PC/SC -->
|
82 | 55 | <dependency>
|
83 | 56 | <groupId>com.github.martinpaljak</groupId>
|
|
117 | 90 | <dependency>
|
118 | 91 | <groupId>org.junit.jupiter</groupId>
|
119 | 92 | <artifactId>junit-jupiter-api</artifactId>
|
120 |
| - <version>5.10.3</version> |
| 93 | + <version>5.11.3</version> |
121 | 94 | <scope>test</scope>
|
122 | 95 | </dependency>
|
123 | 96 | </dependencies>
|
124 | 97 | <build>
|
125 | 98 | <plugins>
|
| 99 | + <!-- Minimum Maven version. Not really relevant with wrapper --> |
| 100 | + <plugin> |
| 101 | + <groupId>org.apache.maven.plugins</groupId> |
| 102 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 103 | + <version>3.5.0</version> |
| 104 | + <executions> |
| 105 | + <execution> |
| 106 | + <id>enforce-maven-version</id> |
| 107 | + <goals> |
| 108 | + <goal>enforce</goal> |
| 109 | + </goals> |
| 110 | + <configuration> |
| 111 | + <rules> |
| 112 | + <requireJavaVersion> |
| 113 | + <version>[17,)</version> |
| 114 | + <message>Project requires JDK 17+</message> |
| 115 | + </requireJavaVersion> |
| 116 | + <requireMavenVersion> |
| 117 | + <version>[3.9.9,)</version> |
| 118 | + </requireMavenVersion> |
| 119 | + <!--requirePluginVersions/--> |
| 120 | + </rules> |
| 121 | + </configuration> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
126 | 125 | <plugin>
|
127 | 126 | <groupId>org.openjfx</groupId>
|
128 | 127 | <artifactId>javafx-maven-plugin</artifactId>
|
|
161 | 160 | <configuration>
|
162 | 161 | <finalName>nfc4pc</finalName>
|
163 | 162 | <createDependencyReducedPom>false</createDependencyReducedPom>
|
| 163 | + <extraArtifacts> |
| 164 | + org.openjfx:javafx-graphics:jar:mac:${javafx.version},org.openjfx:javafx-graphics:jar:mac-aarch64:${javafx.version},org.openjfx:javafx-graphics:jar:linux:${javafx.version},org.openjfx:javafx-graphics:jar:win:${javafx.version} |
| 165 | + </extraArtifacts> |
164 | 166 | <transformers>
|
165 | 167 | <transformer
|
166 | 168 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
0 commit comments