问题
I want to use Processing libs in my Maven project, but I can't find any artifact for dependency. Where can I get it?
回答1:
Edit
Since Processing 3, the official artifacts are released to maven central.
Use like this (latest version as of February 2019):
<dependency>
<groupId>org.processing</groupId>
<artifactId>core</artifactId>
<version>3.3.7</version>
</dependency>
For old releases
You can use the stable processing libraries from clojars.org/quil/processing-core.
To use Clojars repository in a Maven project, add the following to your project's pom.xml
:
Repository
<repositories>
<!-- ... -->
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</repository>
<!-- ... -->
</repositories>
Dependency
<dependencies>
<!-- ... -->
<dependency>
<groupId>quil</groupId>
<artifactId>processing-core</artifactId>
<version>2.2.1</version>
</dependency>
<!-- ... -->
</dependencies>
回答2:
This answer is out deprecated since Processing version 3 (first relleased on 26 July 2014).
No, there isn't a repository that I could find which has up-to-date processing jars (and there isn't a repo maintained by the processing developers).
You could install the processing jars manually in your local repo (or nexus proxy if you have one)
Have a look at http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
来源:https://stackoverflow.com/questions/14111805/how-to-use-the-processing-core-library-with-maven