|
43 | 43 | <groupId>org.onebusaway</groupId> |
44 | 44 | <artifactId>onebusaway-gtfs</artifactId> |
45 | 45 | <version>1.3.87</version> |
| 46 | + <exclusions> |
| 47 | + <!-- Old legacy coordinates (c3p0:c3p0:0.9.1.2) break Java 6+ JDBC APIs (e.g., Connection#createClob). --> |
| 48 | + <exclusion> |
| 49 | + <groupId>c3p0</groupId> |
| 50 | + <artifactId>c3p0</artifactId> |
| 51 | + </exclusion> |
| 52 | + </exclusions> |
46 | 53 | </dependency> |
| 54 | + |
| 55 | + <!-- Ensure we have the modern c3p0 implementation on the classpath (version pinned in parent) --> |
| 56 | + <dependency> |
| 57 | + <groupId>com.mchange</groupId> |
| 58 | + <artifactId>c3p0</artifactId> |
| 59 | + </dependency> |
| 60 | + |
47 | 61 | <!-- Command line parameter parsing --> |
48 | 62 | <dependency> |
49 | 63 | <groupId>commons-cli</groupId> |
|
84 | 98 | <version>4.13.1</version> |
85 | 99 | </dependency> |
86 | 100 | <dependency> |
87 | | - <groupId>javax.validation</groupId> |
88 | | - <artifactId>validation-api</artifactId> |
89 | | - <version>2.0.0.Final</version> |
| 101 | + <groupId>jakarta.validation</groupId> |
| 102 | + <artifactId>jakarta.validation-api</artifactId> |
| 103 | + <version>3.0.2</version> |
90 | 104 | </dependency> |
91 | | - <!-- Hibernate --> |
| 105 | + <!-- Jakarta Persistence API --> |
92 | 106 | <dependency> |
93 | | - <groupId>org.hibernate</groupId> |
94 | | - <artifactId>hibernate-core</artifactId> |
95 | | - <version>5.6.7.Final</version> |
| 107 | + <groupId>jakarta.persistence</groupId> |
| 108 | + <artifactId>jakarta.persistence-api</artifactId> |
| 109 | + <version>3.1.0</version> |
96 | 110 | </dependency> |
| 111 | + <!-- Hibernate --> |
97 | 112 | <dependency> |
98 | | - <groupId>org.javassist</groupId> |
99 | | - <artifactId>javassist</artifactId> |
100 | | - <version>3.28.0-GA</version> |
| 113 | + <groupId>org.hibernate.orm</groupId> |
| 114 | + <artifactId>hibernate-core</artifactId> |
| 115 | + <version>6.4.4.Final</version> |
101 | 116 | </dependency> |
102 | 117 | <!-- Spatial operations --> |
103 | 118 | <dependency> |
|
130 | 145 | <artifactId>maven-compiler-plugin</artifactId> |
131 | 146 | <version>3.7.0</version> |
132 | 147 | <configuration> |
133 | | - <source>1.8</source> |
134 | | - <target>1.8</target> |
| 148 | + <source>17</source> |
| 149 | + <target>17</target> |
135 | 150 | </configuration> |
136 | 151 | </plugin> |
137 | 152 |
|
|
144 | 159 | <include>**/*Spec.*</include> |
145 | 160 | <include>**/*Test.*</include> |
146 | 161 | </includes> |
147 | | - <argLine>-Xmx4G -Xms1G</argLine> |
| 162 | + <argLine>-Xmx4G -Xms1G |
| 163 | + --add-opens java.base/java.lang=ALL-UNNAMED |
| 164 | + --add-opens java.base/java.io=ALL-UNNAMED |
| 165 | + --add-opens java.base/java.util=ALL-UNNAMED |
| 166 | + --add-opens java.base/java.util.concurrent=ALL-UNNAMED |
| 167 | + --add-opens java.base/java.lang.reflect=ALL-UNNAMED |
| 168 | + --add-opens java.base/java.math=ALL-UNNAMED</argLine> |
148 | 169 | </configuration> |
149 | 170 | </plugin> |
150 | 171 |
|
|
188 | 209 | </filter> |
189 | 210 | </filters> |
190 | 211 |
|
| 212 | + <!-- Attach the uber-jar as a secondary artifact so the main jar stays dependency-clean --> |
| 213 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
191 | 214 | <shadedClassifierName>withAllDependencies</shadedClassifierName> |
192 | 215 | <transformers> |
193 | 216 | <transformer |
|
0 commit comments