Hello. There is such a problem. It is necessary for the project to use the library jzy3d (for plotting, if specifically). I do not understand how to connect the library to the project. Everywhere I read what I need through Maven, but after reading various websites by Maven, I still can’t understand how I can connect it all the same?
The course of my actions: As far as I understood, Maven is needed -> I create a new Maven project. I am writing code there that I found on the site of this library itself . The code itself is -> (it may have been written incorrectly, because as I said, I don’t understand yet)
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.jzy3d</groupId> <artifactId>jzy3d-api</artifactId> <version>0.9.2-SNAPSHOT</version> <repositories> <repository> <id>jzy3d-snapshots</id> <name>Jzy3d Snapshots</name> <url>http://maven.jzy3d.org/snapshots</url> </repository> <repository> <id>jzy3d-releases</id> <name>Jzy3d Snapshots</name> <url>http://maven.jzy3d.org/releases</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.jzy3d</groupId> <artifactId>jzy3d-api</artifactId> <version>0.9.2-SNAPSHOT</version> </dependency> </dependencies> </project> And here is the actual question, what should I do next? Does this code need to be compiled (well, or another action)? And how can I add it to my (other) project?
With Maven faced for the first time in this form, help out. If it is possible, in more detail, for I understand that I do not display this topic yet.