|
206 | 206 | * ome:jxrlib-all + javax.xml.bind:jaxb-api or jakarta.xml.bind:jakarta.xml.bind-api |
207 | 207 | * ome:jxrlib-all + org.glassfish.jaxb:jaxb-runtime |
208 | 208 | * ome:jxrlib-all + org.glassfish.jaxb:txw2 |
209 | | - * com.codahale.metrics:metrics-logback + io.dropwizard.metrics:metrics-logback |
210 | | - * com.codahale.metrics:metrics-graphite + io.dropwizard.metrics:metrics-graphite |
211 | 209 | * com.github.jnr:jnr-ffi + org.jruby:jruby-core |
212 | 210 | --> |
213 | | - <allowedDuplicateClasses>META-INF/versions/9/javax.xml.bind.ModuleUtil,com.codahale.metrics.graphite.*,com.codahale.metrics.logback.InstrumentedAppender,com.sun.istack.*,com.sun.xml.bind.*,com.sun.xml.txw2.*,javax.xml.bind.*,jnr.ffi.*,org.apache.hadoop.yarn.*.package-info,org.apache.spark.unused.UnusedStubClass,org.hibernate.stat.ConcurrentStatisticsImpl,org.junit.runner.Runner</allowedDuplicateClasses> |
| 211 | + <allowedDuplicateClasses>META-INF/versions/9/javax.xml.bind.ModuleUtil,com.com.sun.istack.*,com.sun.xml.bind.*,com.sun.xml.txw2.*,javax.xml.bind.*,jnr.ffi.*,org.apache.hadoop.yarn.*.package-info,org.apache.spark.unused.UnusedStubClass,org.hibernate.stat.ConcurrentStatisticsImpl,org.junit.runner.Runner</allowedDuplicateClasses> |
214 | 212 |
|
215 | 213 | <!-- |
216 | 214 | NB: We override these properties to make the enforcer happy. |
|
234 | 232 | If you need to override the version of a particular component, then simply |
235 | 233 | override that component's version property in your POM's <properties> |
236 | 234 | section, rather than hardcoding them. |
| 235 | +
|
| 236 | + WARNING: While most artifacts in this BOM can be successfully combined, |
| 237 | + there are a handful of exceptions requiring some downstream effort: |
| 238 | +
|
| 239 | + - net.imagej:imagej-server depends on Dropwizard, which ships its own |
| 240 | + metrics-graphite and metrics-logback libraries, among other issues. |
| 241 | + - org.apache.spark:spark-core_2.11 has a large number of dependencies, |
| 242 | + some of which are incompatible with other artifact trees in this BOM; |
| 243 | + e.g., Spark depends on kryo-shaded while Bio-Formats depends on kryo. |
| 244 | +
|
| 245 | + If you make use of any of the above artifacts, you may need to add |
| 246 | + dependency exclusions, ignore additional duplicate class patterns, |
| 247 | + and/or manually tune your runtime classpath. |
237 | 248 | --> |
238 | 249 |
|
239 | 250 | <!-- SciJava - https://github.com/scijava --> |
|
0 commit comments