On Jan 4, 2006, at 3:56 AM, dan tran wrote:

On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:

hi

I have successfully setup maven-proxy, based on the following website.
http://maven-proxy.codehaus.org/

Q1) now, the only problem is deploying 3rd Party jars from our
deployment pc to maven-proxy

I followed this instruction from maven's FAQ but with no luck.
http://docs.codehaus.org/pages/viewpage.action?
pageId=37533#WhyamIgettinga%22org.apache.maven.plugins%22doesnot-
HowdoIinstallartifactstoaremoterepository%3F

$cd /junitperf-1.9.1/lib
$mvn deploy:deploy-file -DgroupId=com.clarkware.junitperf -
DartifactId=junitperf -Dversion=1.9.1 -Dpackaging=jar -
Dfile=junitperf-1.9.1.jar -DrepositoryId=myrepository -Durl=scpexe://
MY_DOMAIN/maven-proxy/target/repo

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
--------------------------------------------------------------------- ---
----
[ERROR] BUILD FAILURE
[INFO]
--------------------------------------------------------------------- ---
----
[INFO] Required goal not found: deploy:deploy-file


deploy:deploy-file is still in snaphot, so you need a way to download them
down to your local repo.
There are 2 ways:

   1. Go to one of your maven2 project and issue

       maven deploy:deploy-file -U

      It will fail but the snapshot get downloaded.


  2. Fetch latest source from scm and build




Q2) there is 2 different directory in maven-proxy
repo.local-repo.url=file:///./target/repo-local
repo.local.store=./target/repo

when I deploy 3rd Party jar file, which directory should I upload my
jar to ?



You will need to create a store like thirdparty and upload your external jar
to that store

for my case, i have a few stores

   local
   deparment-a
   department-b
   thirdparty
   central ( a link only)
   etc

can u kindly show me how to config in maven-proxy.properties?

e.g. I would like to have
local
thirdparty
central(link)





anyone has done this successfully?

Regards,
Manchi

---------------------------------------------------------------------
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