如何在Maven中使用Processing核心库? [英] How to use the Processing core library with Maven?
本文介绍了如何在Maven中使用Processing核心库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的Maven项目中使用Processing库,但是找不到依赖项.我在哪里可以买到?
I want to use Processing libs in my Maven project, but I can't find any artifact for dependency. Where can I get it?
推荐答案
编辑
从处理3开始,官方工件被发布到maven Central.
Edit
Since Processing 3, the official artifacts are released to maven central.
像这样使用(截至2019年2月的最新版本):
Use like this (latest version as of February 2019):
<dependency>
<groupId>org.processing</groupId>
<artifactId>core</artifactId>
<version>3.3.7</version>
</dependency>
对于旧版本
您可以使用来自 clojars.org/quil/processing-core .
要在Maven项目中使用Clojars存储库,请将以下内容添加到项目的 pom.xml
中:
To use Clojars repository in a Maven project, add the following to your project's pom.xml
:
<repositories>
<!-- ... -->
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</repository>
<!-- ... -->
</repositories>
依赖性
<dependencies>
<!-- ... -->
<dependency>
<groupId>quil</groupId>
<artifactId>processing-core</artifactId>
<version>2.2.1</version>
</dependency>
<!-- ... -->
</dependencies>
这篇关于如何在Maven中使用Processing核心库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文