Hello,
I'm quite new to Artifactory, and I"m facing a problem that Artifactory is
not downloading 3rd party jar from maven2(or any other) repository.
Currently I'm using out-of-the-box configuration of Artifactory and I can
see in Remote Repositories section that maven2 repository is
configured(http://repo1.maven.org/maven2). But when I run build it's failing
to resolve dependency of hibernate-core.jar. I'd like to remark that when
I'm not using Artifactory, ivy successfully downloading and resolving the
dependencies from Maven2 repository.

Any help is appreciated.

*ivysettings.xml*
<?xml version="1.0" encoding="UTF-8"?>
<ivy-settings>
  <settings defaultResolver="main" />
  <resolvers>
    <chain name="main">
      <url name="public" m2compatible="false">
      <artifact
pattern="http://localhost:8081/artifactory/libs-release/[organization]/[module]/[revision]/[module](-[classifier])-[revision].[ext]"
/>
        </url>
    </chain>
  </resolvers>
</ivy-settings>

*Log when running with Artifactory*
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: 
org.hibernate#hibernate-core;4.0.1.Final
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    -- artifact
org.hibernate#hibernate-core;4.0.1.Final!hibernate-core.jar:
[ivy:retrieve]   
http://localhost:8081/artifactory/libs-release/org.hibernate/hibernate-        
core/4.0.1.Final/hibernate-core-4.0.1.Final.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: org.hibernate#hibernate-core;4.0.1.Final: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 

--
View this message in context: 
http://forums.jfrog.org/Not-downloading-3rd-party-Jars-from-maven-repository-tp7213265p7213265.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to