|
5 | 5 | <parent> |
6 | 6 | <groupId>org.scijava</groupId> |
7 | 7 | <artifactId>pom-scijava</artifactId> |
8 | | - <version>40.0.0</version> |
| 8 | + <version>45.1.0</version> |
9 | 9 | <relativePath /> |
10 | 10 | </parent> |
11 | 11 |
|
12 | 12 | <artifactId>scijava-maven-plugin</artifactId> |
13 | | - <version>3.0.2-SNAPSHOT</version> |
| 13 | + <version>4.0.0-SNAPSHOT</version> |
14 | 14 | <packaging>maven-plugin</packaging> |
15 | 15 |
|
16 | 16 | <name>SciJava plugin for Maven</name> |
|
140 | 140 | <license.excludes>**/resources/**</license.excludes> |
141 | 141 |
|
142 | 142 | <jdepend.version>2.9.5</jdepend.version> |
143 | | - <jgrapht.version>0.8.3</jgrapht.version> |
144 | 143 |
|
145 | | - <maven.version>3.0</maven.version> |
146 | | - <maven-core.version>3.0</maven-core.version> |
147 | | - <maven-plugin-annotations.version>3.5</maven-plugin-annotations.version> |
148 | | - <maven-resolver-api.version>1.9.18</maven-resolver-api.version> |
149 | | - <maven-artifact-transfer.version>0.9.1</maven-artifact-transfer.version> |
150 | | - <maven-common-artifact-filters.version>3.0.1</maven-common-artifact-filters.version> |
151 | | - <plexus-interpolation.version>1.24</plexus-interpolation.version> |
152 | | - <plexus-utils.version>3.1.0</plexus-utils.version> |
153 | | - <org.eclipse.sisu.plexus.version>0.3.0</org.eclipse.sisu.plexus.version> |
154 | | - |
155 | | - <hamcrest.version>1.3</hamcrest.version> |
| 144 | + <!-- |
| 145 | + Maven core artifacts are provided by the Maven runtime executing this |
| 146 | + plugin. Compile against the same Maven version that pom-scijava manages |
| 147 | + via maven-core, and against the versions of resolver and Sisu bundled |
| 148 | + with that Maven release, so that we do not bind to newer APIs. |
| 149 | + --> |
| 150 | + <maven.version>${maven-core.version}</maven.version> |
| 151 | + <maven-plugin-api.version>${maven.version}</maven-plugin-api.version> |
| 152 | + <maven-artifact.version>${maven.version}</maven-artifact.version> |
| 153 | + <maven-compat.version>${maven.version}</maven-compat.version> |
| 154 | + <maven-model.version>${maven.version}</maven-model.version> |
| 155 | + <maven-resolver-api.version>1.9.24</maven-resolver-api.version> |
| 156 | + <org.eclipse.sisu.plexus.version>0.9.0.M4</org.eclipse.sisu.plexus.version> |
| 157 | + <enforcer-api.version>${maven-enforcer-plugin.version}</enforcer-api.version> |
| 158 | + <maven-plugin-annotations.version>${maven-plugin-plugin.version}</maven-plugin-annotations.version> |
| 159 | + <javax.inject.version>1</javax.inject.version> |
| 160 | + <plexus-interpolation.version>1.30.0</plexus-interpolation.version> |
| 161 | + <hamcrest.version>3.0</hamcrest.version> |
| 162 | + <hamcrest-core.version>${hamcrest.version}</hamcrest-core.version> |
| 163 | + <hamcrest-library.version>${hamcrest.version}</hamcrest-library.version> |
156 | 164 | </properties> |
157 | 165 |
|
158 | 166 | <dependencies> |
|
162 | 170 | <version>${jdepend.version}</version> |
163 | 171 | </dependency> |
164 | 172 | <dependency> |
165 | | - <groupId>net.sf.jgrapht</groupId> |
166 | | - <artifactId>jgrapht</artifactId> |
167 | | - <version>${jgrapht.version}</version> |
| 173 | + <groupId>org.jgrapht</groupId> |
| 174 | + <artifactId>jgrapht-core</artifactId> |
168 | 175 | </dependency> |
169 | 176 |
|
170 | 177 | <dependency> |
171 | 178 | <groupId>org.apache.maven</groupId> |
172 | 179 | <artifactId>maven-plugin-api</artifactId> |
173 | | - <version>${maven.version}</version> |
| 180 | + <version>${maven-plugin-api.version}</version> |
174 | 181 | <scope>provided</scope> |
175 | 182 | </dependency> |
176 | 183 | <dependency> |
177 | 184 | <groupId>org.apache.maven</groupId> |
178 | 185 | <artifactId>maven-artifact</artifactId> |
179 | | - <version>${maven.version}</version> |
| 186 | + <version>${maven-artifact.version}</version> |
180 | 187 | <scope>provided</scope> |
181 | 188 | </dependency> |
182 | 189 | <dependency> |
183 | 190 | <groupId>org.apache.maven</groupId> |
184 | 191 | <artifactId>maven-compat</artifactId> |
185 | | - <version>${maven.version}</version> |
| 192 | + <version>${maven-compat.version}</version> |
186 | 193 | <scope>provided</scope> |
187 | 194 | </dependency> |
188 | 195 | <dependency> |
|
193 | 200 | <dependency> |
194 | 201 | <groupId>org.apache.maven</groupId> |
195 | 202 | <artifactId>maven-model</artifactId> |
196 | | - <version>${maven.version}</version> |
| 203 | + <version>${maven-model.version}</version> |
197 | 204 | <scope>provided</scope> |
198 | 205 | </dependency> |
199 | 206 |
|
200 | 207 | <dependency> |
201 | 208 | <groupId>org.apache.maven.enforcer</groupId> |
202 | 209 | <artifactId>enforcer-api</artifactId> |
203 | | - <version>${maven-enforcer-plugin.version}</version> |
| 210 | + <version>${enforcer-api.version}</version> |
| 211 | + <scope>provided</scope> |
204 | 212 | </dependency> |
205 | 213 |
|
206 | 214 | <dependency> |
207 | 215 | <groupId>org.apache.maven.plugin-tools</groupId> |
208 | 216 | <artifactId>maven-plugin-annotations</artifactId> |
209 | 217 | <version>${maven-plugin-annotations.version}</version> |
| 218 | + <scope>provided</scope> |
210 | 219 | </dependency> |
211 | 220 |
|
212 | 221 | <dependency> |
213 | 222 | <groupId>org.apache.maven.resolver</groupId> |
214 | 223 | <artifactId>maven-resolver-api</artifactId> |
215 | 224 | <version>${maven-resolver-api.version}</version> |
| 225 | + <scope>provided</scope> |
216 | 226 | </dependency> |
217 | 227 |
|
218 | 228 | <dependency> |
|
232 | 242 | <dependency> |
233 | 243 | <groupId>org.codehaus.plexus</groupId> |
234 | 244 | <artifactId>plexus-utils</artifactId> |
235 | | - <version>${plexus-utils.version}</version> |
| 245 | + </dependency> |
| 246 | + <dependency> |
| 247 | + <groupId>org.codehaus.plexus</groupId> |
| 248 | + <artifactId>plexus-component-annotations</artifactId> |
| 249 | + <scope>provided</scope> |
236 | 250 | </dependency> |
237 | 251 |
|
238 | 252 | <dependency> |
239 | 253 | <groupId>org.eclipse.sisu</groupId> |
240 | 254 | <artifactId>org.eclipse.sisu.plexus</artifactId> |
241 | 255 | <version>${org.eclipse.sisu.plexus.version}</version> |
| 256 | + <scope>provided</scope> |
| 257 | + </dependency> |
| 258 | + <dependency> |
| 259 | + <groupId>javax.inject</groupId> |
| 260 | + <artifactId>javax.inject</artifactId> |
| 261 | + <version>${javax.inject.version}</version> |
| 262 | + <scope>provided</scope> |
242 | 263 | </dependency> |
243 | 264 |
|
244 | 265 | <dependency> |
|
254 | 275 | <dependency> |
255 | 276 | <groupId>org.hamcrest</groupId> |
256 | 277 | <artifactId>hamcrest-core</artifactId> |
257 | | - <version>${hamcrest.version}</version> |
| 278 | + <version>${hamcrest-core.version}</version> |
258 | 279 | <scope>test</scope> |
259 | 280 | </dependency> |
260 | 281 | <dependency> |
261 | 282 | <groupId>org.hamcrest</groupId> |
262 | 283 | <artifactId>hamcrest-library</artifactId> |
263 | | - <version>${hamcrest.version}</version> |
| 284 | + <version>${hamcrest-library.version}</version> |
264 | 285 | <scope>test</scope> |
265 | 286 | </dependency> |
266 | 287 | <dependency> |
|
0 commit comments