Hi:
I have tried, in vain, getting the Spring 3.1.0.M2 dependencies to try out the Spring-MVC showcase that Keith Donald published on GitHub. I have tried to configure my system settings.xml like this:
I even checked at the command line for which profiles are active to verify that this profile is active. One thing that I wanted to mention is that I have a local Nexus repo configured and running on my machine and not sure if that is causing conflicts. Any ideas?Code:<?xml version="1.0" encoding="UTF-8"?> <settings> <mirrors> <mirror> <!--This sends everything else to /public --> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://localhost:8080/nexus/content/groups/public</url> </mirror> <mirror> <id>spring-milestone</id> <name>Spring Framework Milestone</name> <mirrorOf>*</mirrorOf> <url>http://maven.springframework.org/milestone/</url> </mirror> </mirrors> <servers> <server> <id>local-releases</id> <username>admin</username> <password>admin123</password> </server> <server> <id>local-snapshots</id> <username>admin</username> <password>admin123</password> </server> </servers> <profiles> <profile> <id>nexus</id> <!--Enable snapshots for the built in central repo to direct --> <!--all requests to nexus via the mirror --> <repositories> <repository> <id>central</id> <url>http://central</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://central</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginRepository> </pluginRepositories> </profile> <profile> <id>spring-milestone</id> <!--Enable snapshots for the built in central repo to direct --> <!--all requests to nexus via the mirror --> <repositories> <repository> <id>spring-milestone</id> <name>Spring Framework Maven Milestone Repository</name> <url>http://maven.springframework.org/milestone/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> </profile> </profiles> <activeProfiles> <!--make the profile active all the time --> <activeProfile>spring-milestone</activeProfile> </activeProfiles> </settings>


Reply With Quote