PDA

View Full Version : Maven Repository



ganm
Mar 2nd, 2011, 10:33 AM
Hi,

Can anybody tell, the location of a mvn-repo containing spring-surf?

Thx
michael

ukdavo
Mar 2nd, 2011, 11:35 AM
According to http://www.springsource.org/extensions/se-surf it's at https://extensions.springframework.org/snapshot. Haven't tried it myself though.

Regards

ganm
Mar 3rd, 2011, 01:05 AM
Hi,

I tried this already. If I ad it to my artifactory, it says that there are no artifacts.

Regards

ukdavo
Mar 3rd, 2011, 04:22 AM
Hi there

The forum sticky includes references to these Maven-based tutorials:

http://blogs.alfresco.com/wp/ewinlof/2010/06/04/spring-surf-development-1-creating-a-rest-api-with-spring-webscripts/

http://blogs.alfresco.com/wp/ewinlof/2010/10/15/spring-surf-development-2-secure-your-spring-webscript-rest-api/

I followed the 1st tutorial last night. I was able to resolve the artifacts OK.

Regards

ganm
Mar 4th, 2011, 03:54 AM
Hi,

I don't know, what I'm doing wrong. Tried to follow the first tutorial.
Added

<repositories>
<repository>
<id>spring-extensions-milestone</id>
<name>Spring Extensions Milestone Repository</name>
<url>http://extensions.springframework.org/milestone</url>
</repository>
</repositories>
to my pom. Maven can not resolve the surf-specific dependencies. Others are resolved and downloaded.

Then tried to import the repository into our artifactory-repository as a 'remote-repository'. Artifactory says that there isn't a repository at this location...

Regards