Hello.

we just install Artifactory after server crash. And I want to setup the
project.
I have settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd";>

    <localRepository>D:/.cache/.m2/repository</localRepository>
    <servers>
        <server>
            <id>snapshots-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>releases-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>ext-releases-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>gubber-ext-releases-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>gubber-releases-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>plugins-snapshots-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
        <server>
            <id>plugins-releases-local</id>
            <username>gubber</username>
            <password>PASSWORD</password>
        </server>
    </servers>
    <profiles>
        <profile>
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <id>ext-releases-local</id>
                    <name>ext-releases-local</name>
                   
<url>http://192.168.1.105/artifactory/ext-releases-local</url>
                </repository>
                <repository>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <id>snapshots-local</id>
                    <name>libs-snapshots</name>
                   
<url>http://192.168.1.105/artifactory/libs-snapshots-local</url>
                </repository>
                <repository>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <id>releases-local</id>
                    <name>libs-releases</name>
                   
<url>http://192.168.1.105/artifactory/libs-releases-local</url>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>plugins-releases-local</id>
                    <name>plugins-releases-local</name>
                   
<url>http://192.168.1.105/artifactory/plugins-releases/</url>
                </pluginRepository>
                <pluginRepository>
                    <snapshots/>
                    <id>plugins-snapshots-local</id>
                    <name>plugins-snapshots-local</name>
                   
<url>http://192.168.1.105/artifactory/plugins-snapshots/</url>
                </pluginRepository>
            </pluginRepositories>
            <id>iqmen</id>
        </profile>
    </profiles>
    <activeProfiles>
        <activeProfile>iqmen</activeProfile>
    </activeProfiles>
    
</settings>

I just try to do mvn compile and take an build error:
Downloading:
http://192.168.1.105/artifactory/plugins-releases//org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3' in repository
plugins-releases-local (http://192.168.1.105/artifactory/plugins-releases/)
Downloading:
http://192.168.1.105/artifactory/plugins-snapshots//org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3' in repository
plugins-snapshots-local
(http://192.168.1.105/artifactory/plugins-snapshots/)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[WARNING] Unable to get resource
'org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3' from repository
central (http://repo1.maven.org/maven2): Error transferring file: Network is
unreachable: connect
Downloading:
http://192.168.1.105/artifactory/ext-releases-local/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3' in repository
ext-releases-local (http://192.168.1.105/artifactory/ext-releases-local)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[WARNING] Unable to get resource
'org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3' from repository
central (http://repo1.maven.org/maven2): Error transferring file: Network is
unreachable: connect

User gubber has deploy permissions from group:
Developers-permission   [ANY]
Where am I wrong?



--
View this message in context: 
http://forums.jfrog.org/Can-t-download-maven-resources-plugin-from-our-Artifactiry-proxy-tp7578544.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to