« Return to Thread: Problems adding SpringSources remote repository

Re: Problems adding SpringSources remote repository

by Yoav Landman :: Rate this Message:

Reply to Author | View in Thread

Hi Will,

What versions of Artifactory and Maven are you running?

Since I cannot reproduce this, could you provide the artifactory.log in debug mode? (If it contains sensitive information you can clean it up or send it directly to me).

As for the commons logging bundle, since you also use the spring externals repo (which I did not use in my test) it is downloaded from there.
 
Yoav


On Tue, May 27, 2008 at 5:46 PM, <Will_Durrant@...> wrote:

Hi Yoav

Thanks for your reply.

I've just tried not using my local Artifactory and added the following into my maven setting.xml file

        <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>
        </repositories>


This works fine and I get the following Maven output.


Downloading: http://repository.springsource.com/maven/bundles/release/org/springframe
work/org.springframework.core/2.5.4.A/org.springframework.core-2.5.4.A.pom
1K downloaded
Downloading: http://repository.springsource.com/maven/bundles/release/org/springframe
work/org.springframework.core/2.5.4.A/org.springframework.core-2.5.4.A.jar
278K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 10 source files to E:\projects\poc\poc-persist\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------


I didn't have any problems with the dependent org.apache.commons.logging:jar.

It seems my problem is only when configuring Artifactory to use the SpringSource repo with the configuration details described previously.

Thanks

Will






I am trying this with the latest Artifatroy build (due to beta release any
day) and it works fine.
What I do get, however, is an error for a dependency of
org.springframework:org.springframework.core:jar:2.5.4.A that is missing and
cannot be found in the specified SpringSource repo:
org.apache.commons:com.springsource.org.apache.commons.logging:jar:1.1.1

If that's not the error that you are getting, then could you try reproducing
this without using a proxy?

Yoav

On Tue, May 27, 2008 at 2:34 PM, <Will_Durrant@ai...> wrote:

>
> Hi
>
> I'm trying to configure Artifactory to use SpringSource's bundle repository
> as described by
http://www.springsource.com/repository/app/faq#q7

>
> In my artifactory.config.xml I tried adding the following a new
> SpringSource remote repository as below.
>
> <remoteRepositories>
>
> <!-- existing Maven2 repo cache which works -->
> <remoteRepository>
> <key>ibiblio</key>
> <handleReleases>true</handleReleases>
> <handleSnapshots>false</handleSnapshots>
>
> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
> <url>
http://repo1.maven.org/maven2</url>
> <proxyRef>my_proxy</proxyRef>
> </remoteRepository>
>
> <!-- new SpringSource repo which doesn't work :( -->
> <remoteRepository>
> <key>springsource-release</key>
> <handleReleases>true</handleReleases>
> <handleSnapshots>false</handleSnapshots>
> <url>
http://repository.springsource.com/maven/bundles/release
> </url>
> <proxyRef>my_proxy</proxyRef>
> </remoteRepository>
>
> </remoteRepositories>
>
> However when adding the following dependency in my Pom.xml file its unable
> to connect or download the artifact from the SpringSource repo.
>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>org.springframework.core</artifactId>
> <version>2.5.4.A</version>
> </dependency>
>
> The output from maven is;
>
> Downloading:
>
http://localhost:8081/artifactory/repo/org/springframework/org.springframework.core/2.5.4.A/org.springframework.core-2.5.4.A.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> ...
>
> Any suggestions gratefully received
>
> Thanks
>
> Will Durrant
>
> **********************************************************************

**********************************************************************

Air Miles Travel Promotions Limited is a limited company registered in England under company number 2260073 whose registered office address is at Astral Towers, Betts Way, London Road Crawley West Sussex RH10 2XA.

 

This email and any files transmitted with it are confidential and

intended solely for the use of the individual or entity to whom they

are addressed. If you have received this email in error please notify

the system manager.

 

This footnote also confirms that this email message has been swept by

MIMEsweeper for the presence of computer viruses.

 

**********************************************************************

 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Problems adding SpringSources remote repository

LightInTheBox - Buy quality products at wholesale price!