btw http://www.ibiblio.org/maven2/plugins/ is wrong

it is http://www.ibiblio.org/maven2


On 1/10/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> glad it works for you.
>
> and no you dont need to specify maven central plugin repo.  Just add your
> maven-proxy entry in
> your pluginRepository in your root pom.  Or in your settings.xml as part
> of default profile.
>
> -D
>
>
>  On 1/10/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:
> >
> > hi Dan,
> >
> > Thanks so much. !! everything works fine now. I am so excited today!
> >
> > M2+Maven-Proxy are what I have been dreaming to have for long. Cool!
> >
> > I cannot wait to develop my next project based on this environment!
> >
> > frankly, I was nearly given up on maven-proxy some time ago but I
> > came back for a try after your previous reply!
> >
> > thanks man. I love M2
> >
> > btw, one quick question:
> > do I need to specify repository for plugin URL in maven-proxy?
> > http://www.ibiblio.org/maven2/plugins/
> >
> > ~manchi
> >
> >
> > On Jan 10, 2006, at 2:18 AM, dan tran wrote:
> >
> > > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
> > >
> > > there are plenty of examples looking at the root poms of existing
> > > projects
> > >
> > > -D
> > >
> > >
> > > On 1/9/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:
> > >>
> > >> hi Dan,
> > >>
> > >> thanks, it is great! deploy:deploy-file  is working fine!  I am able
> > >> to deploy third party jar to my maven-proxy 's repository
> > >>
> > >> now, pls kindly guide me thru the next problem:
> > >>
> > >> how to deploy a snapshot plugin (e.g. maven-deploy-plugin)  to my
> > >> maven-proxy's repository?
> > >>
> > >> what is the configuration required?
> > >>
> > >> -----------------------------------------------
> > >> I added the following in maven-deploy-plugin's pom.xml
> > >> -----------------------------------------------
> > >> </distributionManagement>
> > >>         <repository>
> > >>                 <id>my-repository</id>
> > >>                 <url> scpexe://my_domain/maven-proxy/target/repo
> > </url>
> > >>         </repository>
> > >> </distributionManagement>
> > >>
> > >>
> > >> -----------------------------------------------
> > >> I added the following in  ~/.m2/setting.xml
> > >> -----------------------------------------------
> > >>   <servers>
> > >>     <server>
> > >>       <id>my-repository</id>
> > >>       <username>myname</username>
> > >>       <!-- Default value is ~/.ssh/id_dsa -->
> > >>     </server>
> > >>   </servers>
> > >>
> > >> -----------------------------------------------
> > >> $cd /maven-deploy-plugin
> > >> $mvn deploy
> > >> -----------------------------------------------
> > >> [WARNING] repository metadata for: 'snapshot
> > >> org.apache.maven.plugins:maven-deploy-plugin:2.1-SNAPSHOT' could not
> > >> be retrieved from repository: snapshots due to an error: Exit code: 1
> > >> - Host key verification failed.
> > >>
> > >> [INFO] Repository 'snapshots' will be blacklisted
> > >> Uploading: scpexe://repo1.maven.org/home/projects/maven/repository-
> > >> staging/snapshots/maven2/org/apache/maven/plugins/maven-deploy-
> > >> plugin/
> > >> 2.1-SNAPSHOT/maven-deploy-plugin-2.1-20060109.091301-4.jar
> > >> [INFO]
> > >> ---------------------------------------------------------------------
> > >> ---
> > >> ----
> > >> [ERROR] BUILD ERROR
> > >> [INFO]
> > >> ---------------------------------------------------------------------
> > >> ---
> > >> ----
> > >> [INFO] Error deploying artifact: Error executing command for transfer
> >
> > >>
> > >> Exit code 255 - Host key verification failed.
> > >>
> > >> it seems that it is NOT deploying to my-repository at all. it is
> > >> uploading to "snapshots" at repo1.maven.org. how can i change that?
> > >>
> > >> pls help!
> > >>
> > >> ~manchi
> > >>
> > >>
> > >> On Jan 9, 2006, at 1:41 PM, Allan Ramirez wrote:
> > >>
> > >>> Hi there,
> > >>>
> > >>> Copy your wagon-ssh-external jar to your %M2_HOME%/lib.
> > >>>
> > >>> Hope this works.
> > >>>
> > >>> -allan
> > >>>
> > >>> Man-Chi Leung wrote:
> > >>>
> > >>>> hi Dan,
> > >>>>
> > >>>> thx for advice.
> > >>>>
> > >>>> according to your email: I checked out maven-deploy-plugin from svn
> > >>>> $svn co https://svn.apache.org/repos/asf/maven/plugins/trunk/
> > >>>> maven- deploy-plugin maven-deploy-plugin
> > >>>> $mvn install    <---ok!
> > >>>>
> > >>>>
> > >>>> $more ~/.m2/settings.xml
> > >>>>   </servers>
> > >>>>     <server>
> > >>>>       <id>my-repository</id>
> > >>>>       <username>myname</username>
> > >>>>       <!-- Default value is ~/.ssh/id_dsa -->
> > >>>>     </server>
> > >>>>   </servers>
> > >>>>
> > >>>>
> > >>>> $cd ~/Java/junitperf-1.9.1/lib
> > >>>> $mvn deploy:deploy-file -U -DgroupId=com.clarkware.junitperf -
> > >>>> DartifactId=junitperf -Dversion= 1.9.1 -Dpackaging=jar -
> > >>>> Dfile=junitperf-1.9.1.jar -DrepositoryId=my-repository -
> > >>>> Durl=scpexe:// mydomain/export/home/myname/maven-proxy/target/repo
> > >>>>
> > >>>> [INFO] [deploy:deploy-file]
> > >>>> [INFO]
> > >>>> -------------------------------------------------------------------
> > >>>> --
> > >>>> --- ----
> > >>>> [ERROR] BUILD ERROR
> > >>>> [INFO]
> > >>>> -------------------------------------------------------------------
> > >>>> --
> > >>>> --- ----
> > >>>> [INFO] Error deploying artifact: Unsupported Protocol: 'scpexe':
> > >>>> Cannot find wagon which supports the requested protocol: scpexe
> > >>>> Component descriptor cannot be found in the component repository:
> > >>>> org.apache.maven.wagon.Wagonscpexe .
> > >>>>
> > >>>> do u know what was the problem?
> > >>>>
> > >>>> ~manchi
> > >>>>
> > >>>>
> > >>>> On Jan 4, 2006, at 3:15 PM, dan tran wrote:
> > >>>>
> > >>>>> 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]
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>
> > >>>>
> > >>>> -------------------------------------------------------------------
> >
> > >>>> --
> > >>>> 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]
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> 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