Re: Proxify many repositories under the same url

2007-11-09 Thread cbrown
I'm doing exactly that. They key point turned out to be these settings in settings.xml; servers server idinternal/id usernamem2repo/username password**/password /server ... /servers mirrors mirror mirrorOf*/mirrorOf

RE: Proxify many repositories under the same url

2007-11-09 Thread cbrown
Archiva provides a rudimentary user management through the web interface. I.e., you need to create a user and assign the user roles that allow read access (Repository Observer) or write access (Repository Manager). So, you will need the servers. You didn't mention deployment originally.

Problem caching an external Maven 1 repo .jar to Archiva internal repository

2007-11-07 Thread cbrown
Hello, Archiva Beta 3, plexus standalone, Fedora Core 5, jdk1.5.0_09 A user asked me to cache http://download.java.net/maven/1, a Maven 1 repo. I configured a proxy connector to cache it into the Archiva 'internal' maven 2 repository. The user has the following in his settings.xml;

Re: Activating a profile from another profile

2007-10-17 Thread cbrown
I've struggled with profiles over the last week. It seems if you have the parent/ configuration in your child pom, it inherits the profiles of the parent implicitely. See following for details. http://maven.apache.org/pom.html#Inheritance

Re: Starting from scratch

2007-10-16 Thread cbrown
I have done exactly that - several times - usually to verify that changes I've made in Archiva haven't screwed something up - and a couple times because something I downloaded caused maven to choke and do nothing. However, I also do have problems with snapshot plugins when doing a 'mvn -U'

use with m2eclipse

2007-10-16 Thread cbrown
When I use my new settings.xml with m2eclipse plugin in eclipse, it keeps asking me for the repo username and password, even though they are in the settings.xml file. Anyone know how to make it not do that? thanks.

wagon-ssh-external causes repo to be blacklisted

2007-10-05 Thread cbrown
Whatever happened, it seems the exception caused the conenction to close badly, causing maven to blacklist the repo. From mvn; [INFO] artifact org.apache.maven.wagon:wagon-ssh-external: checking for updates from internal [WARNING] repository metadata for: 'artifact

Re: help on downloading through the proxy

2007-10-05 Thread cbrown
That works, thank you. On Thu, 2007-10-04 at 17:44 -0400, Angel Sotirov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cbrown wrote: When i try to download component through archiva, it fails, and the archiva console shows; INFO: RepositoryServlet: Authorization Denied

Re: help on downloading through the proxy

2007-10-05 Thread cbrown
, it must be hardcoded into surefire itself. 54) mst1::/export/home/cbrown/junk/my-app mvn clean install [INFO] Scanning for projects... WAGON_VERSION: 1.0-beta-2 [INFO] [INFO] Building my-app [INFO]task-segment: [clean

Re: Can't deploy jar

2007-10-05 Thread cbrown
in the repositories section. as you are not deploying using that entry in the pom. - Joakim cbrown wrote: when i try to deploy to archiva, I see the following. Do I need to deploy the first snapshot manually? [INFO] Retrieving previous build number from sensis.dev Uploading

Re: Can't deploy jar

2007-10-05 Thread cbrown
Also, I tried deploying with the archiva user granted Repo Manager, and Global Repo Manager roles. On Fri, 2007-10-05 at 09:02 -0400, cbrown wrote: I do have the dav: in the URL in the POM. It just isn't echoing in the mvn INFO printouts. Here's what I have; In settings.xml

deployment with webdav succeeds but fails

2007-10-04 Thread cbrown
I'm doing a lot of first time setup with Geronmio hosting Proximity, and using WebDAV to deploy a jar. I'm stuck at a point where 'mvn deploy' reports [INFO] Error deploying artifact: Failed to transfer file: http://...snipjar Return code is: 500 Internal Server Error When I look at

problem with profile changing artifact Id and install ignoring it

2007-10-04 Thread cbrown
, but the install:install changes it to an incorrect name. [INFO] [jar:jar] [INFO] Building jar: /export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing /export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar

Can't deploy jar

2007-10-04 Thread cbrown
when i try to deploy to archiva, I see the following. Do I need to deploy the first snapshot manually? [INFO] Retrieving previous build number from sensis.dev Uploading: http://m2repo.atsdev.sensis.com:8080/archiva/sensis.dev/com/sensis/sds/genpur/1.0-SNAPSHOT/genpur-1.0-20071004.195415-1.jar