I can help you with part. I would like to say I am not a newbie but that would
be lying. Here is how to install jars with a generated POM and checksums (MD5).
This assumes you have MD5 available 

http://maven.apache.org/general.html#importing-jars 

mvn install:install-file
  -Dfile=<path-to-file>
  -DgroupId=<group-id>
  -DartifactId=<artifact-id>
  -Dversion=<version>
  -Dpackaging=<packaging>
  -DgeneratePom=true
  -DcreateChecksums=true

Here is the plug in url for full details
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

Phill


-----Original Message-----
From: Farrukh S. Najmi [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2007 9:43 PM
To: users@maven.apache.org
Subject: [DEBUG] Skipping disabled repository


Dear Colleagues,

I am a maven newbie and am very impressed with it.

I have been trying to set up an m2 repo as a shared repo for my open source
project at:

    <http://ebxmlrr.sourceforge.net/maven2/repository/>

The reason I am doing so is to have it serve some jars that are currently not
available through maven repositories any where but are needed by new maven based
projects.

So here is what I did:

1. I added the jars I needed manually to my local ~/.m2/repository using mvn
install:install-file goal

2. I then manually copied selected parts of ~/.m2/repository tree using rcp to
my server

However, when I run "mvn install" on a module that depends upon the modules in
my team repo it does not get resolved.
When I turned debug on with "mvn -e -X install" I found that my team repo was
being skipped as it was considered disable:

[DEBUG] Skipping disabled repository freebXML Registry Repository

Now why would by team repo be disabled? I suggest maven2 include a reason for
the disablement in future.

I notice that the "mvn install:install-file" goal does not produce pom file or
md5 files and only produces jar file.
Could that be the cause of the repo getting disabled?

Are there options on "mvn install:install-file" goal that will generate pom file
and md5 file in local repo?

Is there a better way to create a shared team repo with jars that were created
from non-maven projects?

Lastly, where I can find a definitive reference on the structure of the
m2 repository?

Thank you for helping me get over the hump with maven2.

--
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to