jcaptcha maven

江佐
2023-12-01

来源:https://code.google.com/p/jcaptcha4struts2/issues/detail?id=6

Reported by  skpate...@gmail.comDec 26, 2009
I am including this in pom.xml:

	<dependency>
	    <groupId>com.google.code.jcaptcha4struts2</groupId>
	    <artifactId>jcaptcha4struts2</artifactId>
	    <version>2.0.2</version>
	</dependency>

And getting this error:

Missing indirectly referenced artifact com.jhlabs:imaging:jar:01012005:compile

And also this warning:

CHECKSUM FAILED - Error retrieving checksum file for
com/octo/captcha/jcaptcha/1.0/jcaptcha-1.0.jar - IGNORING
Dec 27, 2009
Project Member #1 yohanliy...@gmail.com
This seems to be a issue with Maven repositories / configuration while downloading
the dependencies of JCaptcha 1.0 library, and not a issue with JCaptcha4Struts2. 

JHLabs Imaging is a dependency of JCaptcha, which does not seem to be available in
Maven Central repository : http://jira.codehaus.org/browse/MAVENUPLOAD-2350

However, these artifacts are available at following Maven repositories. 

http://mirrors.ibiblio.org/pub/mirrors/maven2/ com/octo/captcha/jcaptcha/1.0/
http://maven.jahia.org/maven2/ com/jhlabs/imaging/01012005/

Ensure that the above repositories are being used by your Maven configuration (apart
from the Maven Central, which is the default). You can find out more about
configuring your Maven installation in following articles :

http://thedevelopercorner.blogspot.com/2007/08/adding-repositories-to-maaven-2.html
http://maven.apache.org/guides/introduction/introduction-to-repositories.html

If these repos are in use, you should be able to retrieve the above dependencies.
Alternatively, you can download these jar files and their pom files, and put those
into your maven repository manually.

In any approach, perform the build on your project with update snapshots enabled
(intially, you don't have to do it in every build) : 

mvn -U clean install

This will attempt to download the jar files from the repositories.

Thank you for using JCaptcha4Struts2, and I hope that this will help you to resolve
your problem.
Status: Invalid 
Owner: yohanliyanage 
Labels: -Type-Defect -Priority-Medium Type-Other Priority-Low 
Dec 28, 2009
#2 skpate...@gmail.com
Hi, thanks a lot for quick response and detailed guidance!

Now I face some other issue, will come through forum ...

Sanjay

 类似资料:

相关阅读

相关文章

相关问答