think of this a factory and method-advising package for Web-application and J2EE containers (such as catalina or grizzly) but now you need the Spring framework to work on the Plexus container
so you will need to configure and implement plexus-spring adapter http://plexus.codehaus.org/plexus-components/plexus-spring keep us apprised if you have any questions Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 11 Nov 2009 13:11:36 +0000 > From: [email protected] > Subject: How to get Spring Security with Maven? > To: [email protected] > > Hi, > > I try to integrate Springs Maven repository, but it doen't work. Specifically > I try to integrate Spring Security 3.0.0.RC1 (package: > org.springframework.security.authentication.encoding). > > I've adde the following repositories to my pom.xml: > > <repositories> > <repository> > <id>com.springsource.repository.bundles.release</id> > <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle > Releases</name> > <url>http://repository.springsource.com/maven/bundles/release</url> > </repository> > <repository> > <id>com.springsource.repository.bundles.external</id> > <name>SpringSource Enterprise Bundle Repository - External Bundle > Releases</name> > <url>http://repository.springsource.com/maven/bundles/external</url> > </repository> > <repository> > <id>springsource-milestone</id> > <url>http://repository.springsource.com/maven/bundles/milestone</url> > </repository> > </repositories> > > And added to following dependency to the same file: > > <dependencies> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>security</artifactId> > <version>3.0.0.RC1</version> > </dependency> > </dependencies> > > But Eclipse tells me in the related class, that the type > (org.springframework.security.authentication.encoding) cannot be resolved. If > I run "mvn compile" I get "BUILD SUCCESSFUL". A small file with the name > "security.core-3.0.0.RC1.jar" is added to the local repository, but its size > is only 5 kb. If I run "mvn test" I get the expected error: > > java.lang.Error: Unresolved compilation problems: > The import org.springframework cannot be resolved > ShaPasswordEncoder cannot be resolved to a type > > How can I add Spring Security with maven to my project? > > Regards, > Christian > > -- > http://scala-forum.org/ > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/
