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]