Discussion:
Captcha Module for 3.5.2, Maven project is not building
c***@public.gmane.org
2010-07-30 08:26:10 UTC
Permalink
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: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Grégory Joseph
2010-07-30 08:34:54 UTC
Permalink
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
Post by c***@public.gmane.org
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------
----------
1) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
mvn install:install-file -DgroupId=com.octo.captcha -DartifactId=jcaptcha
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
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]
1) com.techbydesign:jcaptcha-module:jar:1.0
2) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
com.techbydesign:jcaptcha-module:jar:1.0
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
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
c***@public.gmane.org
2010-07-30 08:58:15 UTC
Permalink
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>


- changed the dependency for jcaptcha

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

Cheers

Claudio


-----Original Message-----
From: user-list-owner-O8DnXSz/***@public.gmane.org [mailto:user-list-***@magnolia-cms.com] 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
Post by c***@public.gmane.org
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------
----------
1) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
mvn install:install-file -DgroupId=com.octo.captcha -DartifactId=jcaptcha
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
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]
1) com.techbydesign:jcaptcha-module:jar:1.0
2) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
com.techbydesign:jcaptcha-module:jar:1.0
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
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Grégory Joseph
2010-07-30 09:06:25 UTC
Permalink
Post by c***@public.gmane.org
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.
Post by c***@public.gmane.org
- 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
Post by c***@public.gmane.org
Cheers
Claudio
-----Original Message-----
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,
* 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
Post by c***@public.gmane.org
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------
----------
1) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
mvn install:install-file -DgroupId=com.octo.captcha -DartifactId=jcaptcha
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
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]
1) com.techbydesign:jcaptcha-module:jar:1.0
2) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
com.techbydesign:jcaptcha-module:jar:1.0
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
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
c***@public.gmane.org
2010-07-30 11:32:12 UTC
Permalink
Hi Gregory

I added this because I had problems with a image library that was references, (I don't recall its name)

-----Original Message-----
From: user-list-owner-O8DnXSz/***@public.gmane.org [mailto:user-list-***@magnolia-cms.com] On Behalf Of Grégory Joseph
Sent: Friday, July 30, 2010 11:06 AM
To: Magnolia User-List
Subject: Re: [magnolia-user] Captcha Module for 3.5.2, Maven project is not building
Post by c***@public.gmane.org
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.
Post by c***@public.gmane.org
- 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
Post by c***@public.gmane.org
Cheers
Claudio
-----Original Message-----
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,
* 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
Post by c***@public.gmane.org
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------
----------
1) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
mvn install:install-file -DgroupId=com.octo.captcha -DartifactId=jcaptcha
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
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]
1) com.techbydesign:jcaptcha-module:jar:1.0
2) com.octo.captcha:jcaptcha:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
com.techbydesign:jcaptcha-module:jar:1.0
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
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------

Loading...