MobMonRob / DSL4GeometricAlgebra

DSL for Geometric algebra with Java
Apache License 2.0
3 stars 1 forks source link

vecmath #3

Open codedeedope opened 2 years ago

codedeedope commented 2 years ago

https://github.com/MobMonRob/DSL4GeometricAlgebra , https://github.com/orat/ConformalGeometricAlgebra and https://github.com/orat/EuclidView3d depend on vecmath (https://jogamp.org/deployment/java3d/1.7.0-final/).

There is no available artifact of the jogamp version of vecmath in a known maven repository. Therefore the above projects don't work out of the box without manual intervention. This is inconvenient and error prone especially for newcomers.

Some thoughts about how to resolve this issue:

  1. Fork https://github.com/JogAmp/vecmath into a own GitHub repository. This option has the advantange of enabling to add own classes. 1.1 We even could upload our own artifact to maven central. However, in this case, we have to change the maven groupId. 1.2 Another possibility would be to use git submodules. But that is somewhat inconvenient.

  2. Get the dependency via https://jitpack.io/ , built directly from the sources ( https://github.com/JogAmp/vecmath ). Currently done this way here: https://github.com/MobMonRob/DSL4GeometricAlgebra/blob/main/pom.xml

  3. Ask the jogamp people to upload their vecmath artifact to maven central.

  4. Configure maven to download the jar ( https://stackoverflow.com/questions/2741806/maven-downloading-files-from-url ) from https://jogamp.org/deployment/java3d/1.7.0-final/ directly into the project. Then configure maven to use this jar as a dependency ( https://stackoverflow.com/questions/1164043/maven-how-to-include-jars-which-are-not-available-in-reps-into-a-j2ee-project ). Also add the path to the .gitignore file.