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]

Reply via email to