you definitely want to use deploy:file-deploy to do it, using install:install-file your maven-proxy host does not deploy all meta data files.
Also, you need to configure your maven-proxy as your mirrow. using http://maven.apache.org/guides/mini/guide-mirror-settings.html You also need to configure a default profile in your settings.xml to point plugin repository to your maven-proxy host Hope this helps. -Dan On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > You seem to have 2 separate problems maven-proxy's configuration and > deploy:deploy-file. > > Let's try to get your deploy:deploy-file working first. > > What problem do you have right now? > > -D > > > On 1/4/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > > > since there is a problem doing remote jar deployment. > > now, what I can do is to login to my maven-proxy server, and perform > > jar installation locally ! > > > > > > Should I do this???? > > > > ---------------------------- > > ON My Maven-Proxy > > ---------------------------- > > there are 2 types of library that I need to put in my local maven-proxy. > > > > > > * firstly, I also install maven 2.0.1 on my maven-proxy server and > > amend settings.xml <localRepository>maven-proxy/target/ > > repo<localRepository> > > I intentionally, set this maven local repository=maven-proxy's > > (repo.local.store=./target/repo) > > > > 1) 3rd party jar : e.g. easymock, junitperf > > so from the maven-proxy machine, I did this locally: > > > > mvn install:install-file -Dfile=junitperf-1.9.1.jar - > > DgroupId=org.junitperf -DartifactId=junitperf -Dversion=1.9.1 - > > Dpackaging=jar -DgeneratePom=true > > mvn install:install-file -Dfile=easymock.jar -DgroupId=org.easymock - > > DartifactId=easymock -Dversion=2.0 -Dpackaging=jar -DgeneratePom=true > > > > 2) plugins that I checked out from Mojo source repository > > I did "mvn install" > > > > ------------------------------------- > > On my development Client: ERROR!! > > ------------------------------------- > > But on my development machine, whenever I run mvn, I encountered the > > followings Error: > > [INFO] A required plugin was not found: Plugin could not be found - > > check that the goal name is correct: Unable to download the artifact > > from any repository > > > > > > > > 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 > > > > > > > > > > > > > > > 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] > > > > >
