Search code examples
mavendependenciesprocessingmaven-central

How to use the Processing core library with Maven?


I want to use Processing libs in my Maven project, but I can't find any artifact for dependency. Where can I get it?


Solution

  • 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>