Same way you would for any user: ~/.m2/settings.xml

Justin

On Wed, Jan 13, 2010 at 12:29 PM, Christopher Styles <styles...@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 <justinedel...@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 <
> styles...@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
> > >
> >
>

Reply via email to