<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Unresolved Dependencies building jforum 2.4.1 with Maven"]]></title>
		<link>https://community.jforum.net/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic "Unresolved Dependencies building jforum 2.4.1 with Maven"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Unresolved Dependencies building jforum 2.4.1 with Maven</title>
				<description><![CDATA[ Hi, I just did a fresh checkout of jforum 2.4.1 and tried to compile with maven. After a couple of minutes it exits with the following error:
<br>
<br>
[code]
<br>
[ERROR] Failed to execute goal on project jforum: Could not resolve dependencies for project net.jforum:jforum:war:2.5: Failed to collect dependencies at com.octo.captcha:jcaptcha:jar:1.0 -&gt; com.jhlabs:imaging:jar:01012005: Failed to read artifact descriptor for com.jhlabs:imaging:jar:01012005: Could not transfer artifact com.jhlabs:imaging:pom:01012005 from/to 3rd-party (http://forge.octo.com/archiva/repository/3rd-party): Failed to transfer file: http://forge.octo.com/archiva/repository/3rd-party/com/jhlabs/imaging/01012005/imaging-01012005.pom. Return code is: 503 , ReasonPhrase:Service Unavailable. -&gt; [Help 1]
<br>
[/code]
<br>
<br>
I'm not all too familiar with maven but the site forge.octo.com not being available seems to be the problem. Any idea how to work around this?
<br>
<br>
Can I manually download the com.octo.captcha:jcaptcha:jar:1.0 and manuallly put it in my local maven repository cache? I this is possible, how do I do it.
<br>
<br>
Help would be greatly appreciated.
<br>
<br>
Cheers!]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/152/632.page</guid>
				<link>https://community.jforum.net/posts/preList/152/632.page</link>
				<pubDate><![CDATA[Thu, 31 Aug 2017 14:16:36]]> GMT</pubDate>
				<author><![CDATA[ Udusimus]]></author>
			</item>
			<item>
				<title>Aw:Unresolved Dependencies building jforum 2.4.1 with Maven</title>
				<description><![CDATA[ ok, not the most elegant but this workaround did it for me:
<br>
<br>
I downloaded and unpacked the jforum 2.4.1 war and referenced the jcaptcha and jcaptcha-api jars in the pom.
<br>
<br>
just replace the following lines in the pom.xml
<br>
<br>
[code]
<br>
&lt;dependency&gt;
<br>
&lt;groupId&gt;com.octo.captcha&lt;/groupId&gt;
<br>
&lt;artifactId&gt;jcaptcha&lt;/artifactId&gt;
<br>
&lt;version&gt;1.0&lt;/version&gt;
<br>
&lt;type&gt;jar&lt;/type&gt;
<br>
&lt;scope&gt;compile&lt;/scope&gt;
<br>
&lt;/dependency&gt;
<br>
[/code]
<br>
<br>
with the following:
<br>
<br>
[code]
<br>
&lt;dependency&gt;
<br>
&lt;groupId&gt;com.octo.captcha&lt;/groupId&gt;
<br>
&lt;artifactId&gt;jcaptcha&lt;/artifactId&gt;
<br>
&lt;version&gt;1.0&lt;/version&gt;
<br>
&lt;type&gt;jar&lt;/type&gt;
<br>
&lt;scope&gt;system&lt;/scope&gt;
<br>
&lt;systemPath&gt;/YOUR-OWN-FULLY-QUALIFIED-PATH-TO/jforum-2.4.1/WEB-INF/lib/jcaptcha-1.0.jar&lt;/systemPath&gt;
<br>
&lt;/dependency&gt;
<br>
&lt;dependency&gt;
<br>
&lt;groupId&gt;com.octo.captcha&lt;/groupId&gt;
<br>
&lt;artifactId&gt;jcaptcha-api&lt;/artifactId&gt;
<br>
&lt;version&gt;1.0&lt;/version&gt;
<br>
&lt;type&gt;jar&lt;/type&gt;
<br>
&lt;scope&gt;system&lt;/scope&gt;
<br>
&lt;systemPath&gt;/YOUR-OWN-FULLY-QUALIFIED-PATH-TO/jforum-2.4.1/WEB-INF/lib/jcaptcha-api-1.0.jar&lt;/systemPath&gt;
<br>
&lt;/dependency&gt;
<br>
[/code]]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/152/634.page</guid>
				<link>https://community.jforum.net/posts/preList/152/634.page</link>
				<pubDate><![CDATA[Thu, 31 Aug 2017 22:53:56]]> GMT</pubDate>
				<author><![CDATA[ Udusimus]]></author>
			</item>
			<item>
				<title>回覆:Unresolved Dependencies building jforum 2.4.1 with Maven</title>
				<description><![CDATA[ You can download the attachment imaging.zip and unzip it into your local .m2 repository com/jhlabs directory.
<br>
The path should be like: C:\Users\%username%\.m2\repository\com\jhlabs
<br>
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/152/635.page</guid>
				<link>https://community.jforum.net/posts/preList/152/635.page</link>
				<pubDate><![CDATA[Sun, 17 Sep 2017 03:10:23]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>