You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christopher Styles <st...@gmail.com> on 2010/01/13 17:50:54 UTC

Embedded error: Unable to download the artifact from any repository

Hi,

I'm running a maven release build from Hudson and when trying to download an
artifact from a remote repository it fails with the error below... Does
anyone has any pointers on how to resolve this issue...??? I'd really
appreciate your help... FYI, I also added a snippet from my pom.xml, which
is below the error... Alos, I removed the ip address in the error and and
pom snippet, and replaced it with <remoteRepository>... Thanks...



[INFO] [INFO] Configured Artifact:
com.statcom.pfl:statcom-webstart-client:1.1.0.11:zip
[INFO] Downloading: http://
<remoteRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/
1.1.0.11/statcom-webstart-client-1.1.0.11.zip
[INFO] Downloading: http://
<remoteRepository>:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/
1.1.0.11/statcom-webstart-client-1.1.0.11.zip
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Unable to find artifact.
[INFO]
[INFO] Embedded error: Unable to download the artifact from any repository
[INFO]
[INFO] Try downloading the file manually from the project website.
[INFO]
[INFO] Then, install it using the command:
[INFO]     mvn install:install-file -DgroupId=com.statcom.pfl
-DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
-Dfile=/path/to/file
[INFO]
[INFO] Alternatively, if you host your own repository you can deploy the
file there:
[INFO]     mvn deploy:deploy-file -DgroupId=com.statcom.pfl
-DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[INFO]
[INFO]
[INFO]   com.statcom.pfl:statcom-webstart-client:zip:1.1.0.11
[INFO]
[INFO] from the specified remote repositories:
[INFO]   archiva.snapshots (http://
<remoteRepository>:8080/archiva/repository/snapshots),
[INFO]   central
(http://<remoteRepository>:8080/archiva/repository/internal<http://%3cremoterepository%3e:8080/archiva/repository/internal>
)


<pluginRepository>
            <id>central</id>
            <name>StatCom Internal Archiva Maven Repository</name>
            <url>http://
<remoteRepository>:8080/archiva/repository/internal</url>
        </pluginRepository>
         <pluginRepository>
            <id>atlassian-m2-repository</id>
            <name>Atlassian Maven 2.x Repository</name>
            <url>http://repository.atlassian.com/maven2</url>
        </pluginRepository>
    </pluginRepositories>
    <repositories>
        <repository>
            <id>central</id>
            <name>StatCom Internal Archiva Maven Repository</name>
            <url>http://
<remoteRepository>:8080/archiva/repository/internal</url>
        </repository>
        <repository>
            <id>archiva.snapshots</id>
            <name>Internal Snapshot Repository</name>
            <url>http://
<remoteRepository>:8080/archiva/repository/snapshots</url>
        </repository>
    </repositories>

Thanks
Chris

Re: Embedded error: Unable to download the artifact from any repository

Posted by Justin Edelson <ju...@gmail.com>.
Same way you would for any user: ~/.m2/settings.xml

Justin

On Wed, Jan 13, 2010 at 12:29 PM, Christopher Styles <st...@gmail.com>wrote:

> Yes, the artifact is there... Yes, Archiva requies authentication... No, I
> don't have any crenditials configured in the hudson settings.xml... I know
> this isn't a hudson users group, but how would I specify that...???
>
>
>
> On Wed, Jan 13, 2010 at 12:02 PM, Justin Edelson <justinedelson@gmail.com
> >wrote:
>
> > 1) Is the artifact actually there?
> > 2) Do you have Archiva configured to require authentication and, if so,
> are
> > the credentials properly configured in Hudson's settings.xml file?
> >
> > Due to MNG-3477, authentication failures aren't reported as such.
> >
> > Justin
> >
> > On Wed, Jan 13, 2010 at 11:50 AM, Christopher Styles <
> styles706@gmail.com
> > >wrote:
> >
> > > Hi,
> > >
> > > I'm running a maven release build from Hudson and when trying to
> download
> > > an
> > > artifact from a remote repository it fails with the error below... Does
> > > anyone has any pointers on how to resolve this issue...??? I'd really
> > > appreciate your help... FYI, I also added a snippet from my pom.xml,
> > which
> > > is below the error... Alos, I removed the ip address in the error and
> and
> > > pom snippet, and replaced it with <remoteRepository>... Thanks...
> > >
> > >
> > >
> > > [INFO] [INFO] Configured Artifact:
> > > com.statcom.pfl:statcom-webstart-client:1.1.0.11:zip
> > > [INFO] Downloading: http://
> > >
> > >
> >
> <remoteRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/
> > > 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> > > [INFO] Downloading: http://
> > >
> > >
> >
> <remoteRepository>:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/
> > > 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> > > [INFO] [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] [ERROR] BUILD ERROR
> > > [INFO] [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] [INFO] Unable to find artifact.
> > > [INFO]
> > > [INFO] Embedded error: Unable to download the artifact from any
> > repository
> > > [INFO]
> > > [INFO] Try downloading the file manually from the project website.
> > > [INFO]
> > > [INFO] Then, install it using the command:
> > > [INFO]     mvn install:install-file -DgroupId=com.statcom.pfl
> > > -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> > > -Dfile=/path/to/file
> > > [INFO]
> > > [INFO] Alternatively, if you host your own repository you can deploy
> the
> > > file there:
> > > [INFO]     mvn deploy:deploy-file -DgroupId=com.statcom.pfl
> > > -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > > [INFO]
> > > [INFO]
> > > [INFO]   com.statcom.pfl:statcom-webstart-client:zip:1.1.0.11
> > > [INFO]
> > > [INFO] from the specified remote repositories:
> > > [INFO]   archiva.snapshots (http://
> > > <remoteRepository>:8080/archiva/repository/snapshots),
> > > [INFO]   central
> > > (http://<remoteRepository>:8080/archiva/repository/internal<http://
> > > %3cremoterepository%3e:8080/archiva/repository/internal>
> >  > )
> > >
> > >
> > > <pluginRepository>
> > >            <id>central</id>
> > >            <name>StatCom Internal Archiva Maven Repository</name>
> > >            <url>http://
> > > <remoteRepository>:8080/archiva/repository/internal</url>
> > >        </pluginRepository>
> > >         <pluginRepository>
> > >            <id>atlassian-m2-repository</id>
> > >            <name>Atlassian Maven 2.x Repository</name>
> > >            <url>http://repository.atlassian.com/maven2</url>
> > >        </pluginRepository>
> > >    </pluginRepositories>
> > >    <repositories>
> > >        <repository>
> > >            <id>central</id>
> > >            <name>StatCom Internal Archiva Maven Repository</name>
> > >            <url>http://
> > > <remoteRepository>:8080/archiva/repository/internal</url>
> > >        </repository>
> > >        <repository>
> > >            <id>archiva.snapshots</id>
> > >            <name>Internal Snapshot Repository</name>
> > >            <url>http://
> > > <remoteRepository>:8080/archiva/repository/snapshots</url>
> > >        </repository>
> > >    </repositories>
> > >
> > > Thanks
> > > Chris
> > >
> >
>

Re: Embedded error: Unable to download the artifact from any repository

Posted by Christopher Styles <st...@gmail.com>.
Yes, the artifact is there... Yes, Archiva requies authentication... No, I
don't have any crenditials configured in the hudson settings.xml... I know
this isn't a hudson users group, but how would I specify that...???



On Wed, Jan 13, 2010 at 12:02 PM, Justin Edelson <ju...@gmail.com>wrote:

> 1) Is the artifact actually there?
> 2) Do you have Archiva configured to require authentication and, if so, are
> the credentials properly configured in Hudson's settings.xml file?
>
> Due to MNG-3477, authentication failures aren't reported as such.
>
> Justin
>
> On Wed, Jan 13, 2010 at 11:50 AM, Christopher Styles <styles706@gmail.com
> >wrote:
>
> > Hi,
> >
> > I'm running a maven release build from Hudson and when trying to download
> > an
> > artifact from a remote repository it fails with the error below... Does
> > anyone has any pointers on how to resolve this issue...??? I'd really
> > appreciate your help... FYI, I also added a snippet from my pom.xml,
> which
> > is below the error... Alos, I removed the ip address in the error and and
> > pom snippet, and replaced it with <remoteRepository>... Thanks...
> >
> >
> >
> > [INFO] [INFO] Configured Artifact:
> > com.statcom.pfl:statcom-webstart-client:1.1.0.11:zip
> > [INFO] Downloading: http://
> >
> >
> <remoteRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/
> > 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> > [INFO] Downloading: http://
> >
> >
> <remoteRepository>:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/
> > 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [ERROR] BUILD ERROR
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Unable to find artifact.
> > [INFO]
> > [INFO] Embedded error: Unable to download the artifact from any
> repository
> > [INFO]
> > [INFO] Try downloading the file manually from the project website.
> > [INFO]
> > [INFO] Then, install it using the command:
> > [INFO]     mvn install:install-file -DgroupId=com.statcom.pfl
> > -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> > -Dfile=/path/to/file
> > [INFO]
> > [INFO] Alternatively, if you host your own repository you can deploy the
> > file there:
> > [INFO]     mvn deploy:deploy-file -DgroupId=com.statcom.pfl
> > -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > [INFO]
> > [INFO]
> > [INFO]   com.statcom.pfl:statcom-webstart-client:zip:1.1.0.11
> > [INFO]
> > [INFO] from the specified remote repositories:
> > [INFO]   archiva.snapshots (http://
> > <remoteRepository>:8080/archiva/repository/snapshots),
> > [INFO]   central
> > (http://<remoteRepository>:8080/archiva/repository/internal<http://
> > %3cremoterepository%3e:8080/archiva/repository/internal>
>  > )
> >
> >
> > <pluginRepository>
> >            <id>central</id>
> >            <name>StatCom Internal Archiva Maven Repository</name>
> >            <url>http://
> > <remoteRepository>:8080/archiva/repository/internal</url>
> >        </pluginRepository>
> >         <pluginRepository>
> >            <id>atlassian-m2-repository</id>
> >            <name>Atlassian Maven 2.x Repository</name>
> >            <url>http://repository.atlassian.com/maven2</url>
> >        </pluginRepository>
> >    </pluginRepositories>
> >    <repositories>
> >        <repository>
> >            <id>central</id>
> >            <name>StatCom Internal Archiva Maven Repository</name>
> >            <url>http://
> > <remoteRepository>:8080/archiva/repository/internal</url>
> >        </repository>
> >        <repository>
> >            <id>archiva.snapshots</id>
> >            <name>Internal Snapshot Repository</name>
> >            <url>http://
> > <remoteRepository>:8080/archiva/repository/snapshots</url>
> >        </repository>
> >    </repositories>
> >
> > Thanks
> > Chris
> >
>

Re: Embedded error: Unable to download the artifact from any repository

Posted by Justin Edelson <ju...@gmail.com>.
1) Is the artifact actually there?
2) Do you have Archiva configured to require authentication and, if so, are
the credentials properly configured in Hudson's settings.xml file?

Due to MNG-3477, authentication failures aren't reported as such.

Justin

On Wed, Jan 13, 2010 at 11:50 AM, Christopher Styles <st...@gmail.com>wrote:

> Hi,
>
> I'm running a maven release build from Hudson and when trying to download
> an
> artifact from a remote repository it fails with the error below... Does
> anyone has any pointers on how to resolve this issue...??? I'd really
> appreciate your help... FYI, I also added a snippet from my pom.xml, which
> is below the error... Alos, I removed the ip address in the error and and
> pom snippet, and replaced it with <remoteRepository>... Thanks...
>
>
>
> [INFO] [INFO] Configured Artifact:
> com.statcom.pfl:statcom-webstart-client:1.1.0.11:zip
> [INFO] Downloading: http://
>
> <remoteRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/
> 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> [INFO] Downloading: http://
>
> <remoteRepository>:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/
> 1.1.0.11/statcom-webstart-client-1.1.0.11.zip
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Unable to find artifact.
> [INFO]
> [INFO] Embedded error: Unable to download the artifact from any repository
> [INFO]
> [INFO] Try downloading the file manually from the project website.
> [INFO]
> [INFO] Then, install it using the command:
> [INFO]     mvn install:install-file -DgroupId=com.statcom.pfl
> -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> -Dfile=/path/to/file
> [INFO]
> [INFO] Alternatively, if you host your own repository you can deploy the
> file there:
> [INFO]     mvn deploy:deploy-file -DgroupId=com.statcom.pfl
> -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [INFO]
> [INFO]
> [INFO]   com.statcom.pfl:statcom-webstart-client:zip:1.1.0.11
> [INFO]
> [INFO] from the specified remote repositories:
> [INFO]   archiva.snapshots (http://
> <remoteRepository>:8080/archiva/repository/snapshots),
> [INFO]   central
> (http://<remoteRepository>:8080/archiva/repository/internal<http://
> %3cremoterepository%3e:8080/archiva/repository/internal>
> )
>
>
> <pluginRepository>
>            <id>central</id>
>            <name>StatCom Internal Archiva Maven Repository</name>
>            <url>http://
> <remoteRepository>:8080/archiva/repository/internal</url>
>        </pluginRepository>
>         <pluginRepository>
>            <id>atlassian-m2-repository</id>
>            <name>Atlassian Maven 2.x Repository</name>
>            <url>http://repository.atlassian.com/maven2</url>
>        </pluginRepository>
>    </pluginRepositories>
>    <repositories>
>        <repository>
>            <id>central</id>
>            <name>StatCom Internal Archiva Maven Repository</name>
>            <url>http://
> <remoteRepository>:8080/archiva/repository/internal</url>
>        </repository>
>        <repository>
>            <id>archiva.snapshots</id>
>            <name>Internal Snapshot Repository</name>
>            <url>http://
> <remoteRepository>:8080/archiva/repository/snapshots</url>
>        </repository>
>    </repositories>
>
> Thanks
> Chris
>

Re: Embedded error: Unable to download the artifact from any repository

Posted by Wayne Fay <wa...@gmail.com>.
> I'm running a maven release build from Hudson and when trying to download an
> artifact from a remote repository it fails with the error below... Does
> anyone has any pointers on how to resolve this issue...??? I'd really
> appreciate your help... FYI, I also added a snippet from my pom.xml, which
> is below the error... Alos, I removed the ip address in the error and and
> pom snippet, and replaced it with <remoteRepository>... Thanks...

If you're certain the artifact exists in your Archiva repo, it sure
sounds like a problem in Archiva. Ask on their user list for help.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org