You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even so, some classes from the "tests" folder cannot import the "Loci" dependency. Even after deleting these classes, many JUnit tests start to fail, and some classes show deprecation warnings.
I haven't found a solution for this.
What should be done:
Find an alternative for using the ImageJ dependency.
Replace the Loci dependency with another that performs the same task.
By making these changes, the expectation is that the Maven build will return to functioning normally.
The text was updated successfully, but these errors were encountered:
With this combination, as well as other versions of OpenJDK I tested, I am able to build ImageJ without the problems you describe, simply by typing mvn at the command line.
Based on your screenshot above, I get the impression somehow that you are not using the Maven command line tool, but maybe some other tool? If so, what is it?
About the specific points you raise:
pom-scijava: version 31.1.0
This parent version works just fine for me. Using 37.0.0 is also fine, and we can certainly update it, but I don't believe there is an urgent reason to do so for this project.
junit: no specific version
The version of junit should not be specified here. Rather, it is inherited from the parent POM via its depenencyManagement section. This is the purpose of the SciJava Bill of Materials.
loci: missing dependency
Yes, some of the tests are currently written to use Bio-Formats to import images. This is less than ideal. However, the tests are currently disabled in the pom.xml, so these errors should not matter. I have not fixed this issue yet due to lack of time, as there are currently many failing tests.
Bugs
When I tried to build the application using Maven, I encountered some import errors in the POM.xml file. The dependencies are:
Affected Classes and Possible Fixes
pom-scijava 31.1.0:
JUnit
Folder /ImageJ/tests experiencing import issues with various classes:
Even so, some classes from the "tests" folder cannot import the "Loci" dependency. Even after deleting these classes, many JUnit tests start to fail, and some classes show deprecation warnings.
What should be done:
By making these changes, the expectation is that the Maven build will return to functioning normally.
The text was updated successfully, but these errors were encountered: