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
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.
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;
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
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'
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.
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
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
, 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
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
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
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
, 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
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
14 matches
Mail list logo