tischi / table-utils

0 stars 1 forks source link

Dependency issues #7

Closed constantinpape closed 4 years ago

constantinpape commented 4 years ago

I tried to install table utils, but run into the following issues:

$ mvn clean install
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.814 s
[INFO] Finished at: 2020-04-03T21:21:45+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project table-utils: Could not resolve dependencies for project de.embl.cba:table-utils:jar:0.3.20: The following artifacts could not be resolved: sc.fiji:bigdataviewer-vistools:jar:1.0.0-beta-18-SNAPSHOT, org.itc:image-transform-converters:jar:0.1.1: Failure to find sc.fiji:bigdataviewer-vistools:jar:1.0.0-beta-18-SNAPSHOT in https://maven.imagej.net/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of imagej.public has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

(Side note: setting up intellij with multiple git repositories seems to be not so trivial. I will talk to @wolny about this next week, but would be good if we solve this first.)

tischi commented 4 years ago

Could you git pull again and then: mvn -U clean install (same for the mmb-fiji repo, because I think I managed to upload the bdv-vistools, so you would have to remove it from the Project Structure in IntelliJ, where you added it manually).

constantinpape commented 4 years ago

Still get some dependency issues, but I think they are different from before:

pape@mokshi:~/Work/my_projects/table-utils$ mvn -U clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< de.embl.cba:table-utils >-----------------------
[INFO] Building Table Utils 0.3.21
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from scijava.public: https://maven.scijava.org/content/groups/public/sc/fiji/bigdataviewer-core/7.0.1-SNAPSHOT/maven-metadata.xml
Downloading from bintray-tischi-snapshots: https://dl.bintray.com/tischi/snapshots/sc/fiji/bigdataviewer-core/7.0.1-SNAPSHOT/maven-metadata.xml
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/sc/fiji/bigdataviewer-core/7.0.1-SNAPSHOT/maven-metadata.xml
Downloaded from scijava.public: https://maven.scijava.org/content/groups/public/sc/fiji/bigdataviewer-core/7.0.1-SNAPSHOT/maven-metadata.xml (1.4 kB at 1.2 kB/s)
Downloaded from imagej.public: https://maven.imagej.net/content/groups/public/sc/fiji/bigdataviewer-core/7.0.1-SNAPSHOT/maven-metadata.xml (1.4 kB at 694 B/s)
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.pom
Downloading from bintray-tischi-snapshots: https://dl.bintray.com/tischi/snapshots/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.pom
Downloading from central: https://repo.maven.apache.org/maven2/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.pom
[WARNING] The POM for de.embl.cba:fiji-plugin-morphometry:jar:0.5.2 is missing, no dependency information available
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/org/itc/image-transform-converters/0.1.1/image-transform-converters-0.1.1.jar
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.jar
Downloading from bintray-tischi-snapshots: https://dl.bintray.com/tischi/snapshots/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.jar
Downloading from bintray-tischi-snapshots: https://dl.bintray.com/tischi/snapshots/org/itc/image-transform-converters/0.1.1/image-transform-converters-0.1.1.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/itc/image-transform-converters/0.1.1/image-transform-converters-0.1.1.jar
Downloading from central: https://repo.maven.apache.org/maven2/de/embl/cba/fiji-plugin-morphometry/0.5.2/fiji-plugin-morphometry-0.5.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.219 s
[INFO] Finished at: 2020-04-04T11:07:48+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project table-utils: Could not resolve dependencies for project de.embl.cba:table-utils:jar:0.3.21: The following artifacts could not be resolved: org.itc:image-transform-converters:jar:0.1.1, de.embl.cba:fiji-plugin-morphometry:jar:0.5.2: Could not find artifact org.itc:image-transform-converters:jar:0.1.1 in imagej.public (https://maven.imagej.net/content/groups/public) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
tischi commented 4 years ago

ok! again git pull and mvn -U clean install

constantinpape commented 4 years ago

Yep, we got further; now cats is missing:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.966 s
[INFO] Finished at: 2020-04-04T15:54:59+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project table-utils: Could not resolve dependencies for project de.embl.cba:table-utils:jar:0.3.21: Could not find artifact de.embl.cba:fiji-plugin-cats:jar:0.7.3 in imagej.public (https://maven.imagej.net/content/groups/public) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
tischi commented 4 years ago

ok. again please :)

constantinpape commented 4 years ago
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.277 s
[INFO] Finished at: 2020-04-04T16:07:10+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project table-utils: Could not resolve dependencies for project de.embl.cba:table-utils:jar:0.3.21: Could not find artifact com.github.mcib3d:mcib3d-plugins:jar:master-3.9-gb1cad5c-26 in imagej.public (https://maven.imagej.net/content/groups/public) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
tischi commented 4 years ago

again...

constantinpape commented 4 years ago

I think this is still the same error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.599 s
[INFO] Finished at: 2020-04-04T16:19:57+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project table-utils: Could not resolve dependencies for project de.embl.cba:table-utils:jar:0.3.21: Could not find artifact com.github.mcib3d:mcib3d-plugins:jar:master-3.9-gb1cad5c-26 in imagej.public (https://maven.imagej.net/content/groups/public) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
tischi commented 4 years ago

hm, I think this was a dependency within fiji-plugin-cats-0.7.3.jar, which I changed online. Could you remove this jar in your .m2 folder and thereby force its download again?

constantinpape commented 4 years ago

Yes, removing the cats plugin fixed the issue, build is working now.

tischi commented 4 years ago

good. I began to loose my nerves ;-)

constantinpape commented 4 years ago

Ok, let's close these issues for now :).