On 08/12/2011 12:29 PM, manitas wrote:
> Maybe I can try to help you to do this demo application. 
>
I would certainly welcome that.  I do know that there was another user
working on a port of the spring-security demo who was interested in
contributing that work.
> To follow your advice, I'm trying to start developping it with maven but the
> following artifact doesn't work for me :
>
>               <dependency>
>                       <groupId>org.apache.shiro</groupId>
>                       <artifactId>shiro-core</artifactId>
>                       <version>1.2.0-SNAPSHOT</version>
>               </dependency> 
>
>               <dependency>
>                       <groupId>org.apache.shiro</groupId>
>                       <artifactId>shiro-guice</artifactId>
>                       <version>1.2.0-SNAPSHOT</version>
>               </dependency> 
>
> I've the following error :
>
> ArtifactDescriptorException: Failed to read artifact descriptor for
> org.apache.shiro:shiro-core:jar:1.2.0-SNAPSHOT: ArtifactResolutionException:
> Could not transfer artifact org.apache.shiro:shiro-core:pom:1.2.0-SNAPSHOT
> from/to maven-repository.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.java.net
> (http://download.java.net/maven/1) of type legacy using the available
> factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
> pom.xml
> Maven Dependency Problem
>
> Do I need to add a particular repository ?
>
Yep.  You'll either need to check out the shiro trunk and build it
locally, or add apache's snapshot repository.

This is a good resource on that:
http://www.apache.org/dev/repository-faq.html

And the necessary repository is here:
https://repository.apache.org/content/repositories/snapshots/

> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Guice-shiro-jersey-tp6673315p6681116.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to