在pom.xml中包括QRGen [英] Including QRGen in pom.xml
问题描述
我正在春季开发应用程序+在Maven中处于休眠状态,因此我需要制作QR码
我已经在 http://viralpatel中找到了本教程. net/blogs/create-qr-codes-java-servlet-qr-code-java/
在该教程中,使用了以下库:
xzing和qrgen(net.glxn.qrgen)
我在xzing及其运行中添加了pom.xml依赖项,但qrgen需要自己的存储库,所以
我在该页面上包含了类似的存储库: http://kenglxn.github.com/QRGen/ :
但 http://kenglxn.github.com/QRGen/repository 似乎已关闭>
任何人都知道新的(或确切的)回购地址,或者可以告诉我我做错了什么
1.2版现在可以从maven Central http://viralpatel.net/blogs/create-qr-codes-java-servlet-qr-code-java/
In that tutorial following libs are in use:
xzing and qrgen (net.glxn.qrgen)
I've added in pom.xml dependency on xzing and its running but qrgen needs his own repo so
I've included repository like on that page: http://kenglxn.github.com/QRGen/ :
but it seems that http://kenglxn.github.com/QRGen/repository is down
Anyone knows new (or exact) repo address or could tell me what I'm doing wrong
version 1.2 is now available from maven central http://search.maven.org/#artifactdetails%7Cnet.glxn%7Cqrgen%7C1.2%7Cjar
please use:
<dependency>
<groupId>net.glxn</groupId>
<artifactId>qrgen</artifactId>
<version>1.2</version>
</dependency>
这篇关于在pom.xml中包括QRGen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!