On Jul 30, 2010, at 10:58, <[email protected]> wrote:

> 
> 
> 
> Hi Gregory
> 
> Thanks for your fast reply
> 
> I managed to use change the dependencies accordingly (in the end it was more 
> than just one failing dependency). After a few tries, this Is what had to 
> change in the POM (if anyone else has similar problems)
> 
> - Added the following repo
> 
>     <repository>
>      <id>maven repo2</id>
>      <name>maven repo2 for OCTO projects</name>
>      <url>http://repo2.maven.org/maven2/</url>
>    </repository>

Not needed, this is the "central" repo, it's in Maven by default.

> - changed the dependency for jcaptcha
> 
>    <dependency>
>      <groupId>com.octo.captcha</groupId>
>      <artifactId>jcaptcha-all</artifactId>
>      <version>1.0-RC6</version>
>    </dependency>

Hmm, this is probably bringing in more stuff that you need (none of the deps of 
this artifacts have a scope...); did you have problems with 
com.octo.captcha:jcaptcha:1.0 ?

-g


> Cheers
> 
> Claudio
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Grégory Joseph
> Sent: Friday, July 30, 2010 10:35 AM
> To: Magnolia User-List
> Subject: Re: [magnolia-user] Captcha Module for 3.5.2, Maven project is not 
> building
> 
> 
> Hi Claudio,
> 
> Sounds like the Octo guys moved their snapshot repository; two things:
> * JCaptcha 1.0 has been released, so you and/or the developer of the 
> jcaptcha-magnolia-module can/should update the dependency to 1.0 (and remove 
> the ref to octo's snapshot repo)
> * Figure out where Octo now deploy their snapshots and update the pom to 
> point there (although I'd advise against it - I also see they're nearing a 
> 2.0 release, with a 2.0-alpha-1 being available (but not on central, it 
> seems): https://oss.sonatype.org/index.html#nexus-search;quick~octo
> 
> Cheers,
> 
> -g
> 
> On Jul 30, 2010, at 10:26, <[email protected]> wrote:
> 
>> Hi List
>> 
>> I am trying to build the captcha module using MVN.
>> http://confluence.magnolia-cms.com/display/WIKI/Captcha
>> 
>> However it fails  with the following message
>> SNIPPET START------
>> Missing:
>> ----------
>> 1) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
>> 
>>  Try downloading the file manually from the project website.
>> 
>>  Then, install it using the command:
>>      mvn install:install-file -DgroupId=com.octo.captcha 
>> -DartifactId=jcaptcha
>> -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>> 
>>  Alternatively, if you host your own repository you can deploy the file 
>> there:
>> 
>>      mvn deploy:deploy-file -DgroupId=com.octo.captcha -DartifactId=jcaptcha 
>> -D
>> version=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
>> -Dreposito
>> ryId=[id]
>> 
>>  Path to dependency:
>>        1) com.techbydesign:jcaptcha-module:jar:1.0
>>        2) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
>> 
>> ----------
>> 1 required artifact is missing.
>> 
>> for artifact:
>>  com.techbydesign:jcaptcha-module:jar:1.0
>> 
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2),
>>  magnolia (http://svn.magnolia.info/maven/m2),
>>  octo-forge-snapshots 
>> (http://forge.octo.com/archiva/repository/forge-snapshots
>> /)
>> END-----
>> 
>> However I did not find the mentioned file anywhere in the above remote 
>> directories.
>> Does anyone of you has experience with this? I am not used to maven and 
>> don't really know how to fix this.
>> 
>> Many thanks
>> 
>> C
>> 
>> 
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to