Skip to content

Commit 82e9132

Browse files
committed
Remove Bio-Formats-specific hack
The Fiji project, which is the reason for the hack in the first place, is moving from keeping Bio-Formats libraries in a special jars/bio-formats subdirectory to keeping them in jars with the rest.
1 parent 61fa2fb commit 82e9132

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/org/scijava/maven/plugin/install/AbstractInstallMojo.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ protected void installArtifact(final Artifact artifact,
210210
else if (isIJ1Plugin(source)) {
211211
targetDirectory = new File(appDir, "plugins");
212212
}
213-
else if (isBioFormatsArtifact(artifact)) {
214-
targetDirectory = new File(appDir, "jars/bio-formats");
215-
}
216213
else {
217214
final String subDir = subdirectory(artifact);
218215
targetDirectory = subDir == null ? //
@@ -296,13 +293,6 @@ private static String versionToString(final String v) {
296293
return v == null || v.isEmpty() ? "(none)" : v;
297294
}
298295

299-
private static boolean isBioFormatsArtifact(final Artifact artifact) {
300-
final String fileName = artifact.getFile().getName();
301-
return "ome".equals(artifact.getGroupId()) ||
302-
("loci".equals(artifact.getGroupId()) && (fileName.startsWith(
303-
"scifio-4.4.") || fileName.startsWith("jai_imageio-4.4.")));
304-
}
305-
306296
private static boolean isIJ1Plugin(final File file) {
307297
final String name = file.getName();
308298
if (name.indexOf('_') < 0 || !file.exists()) return false;

0 commit comments

Comments
 (0)