Thank you for the fix. But I still have a problem. I used the deploy-file goal to deploy a third party jar file (jsr_api.jar) to my internal remote repository and it does that without problem (deploy the jar file).
Now when I compile my application which has a dependency on that jar file, maven tries to download this jar file from my internal repository and fail with an error message complaining about the pom file. When I did the deploy I don't have a pom file with is since it is a third party jar file. Why is maven looking for this pom file? What do I need to do? Here is the error message. Downloading: http://158.xxx.xxx.xxx/repository/jsr/jsr_api/1.0/jsr_api-1.0.pom [INFO] ------------------------------------------------------------------------ ---- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ ---- [INFO] Error building POM (may not be this project's POM). Project ID: jsr:jsr_api Reason: Error getting POM for 'jsr:jsr_api' from the repository: Error transferring file jsr:jsr_api:1.0:pom from the specified remote repositories: central (http://repo1.maven.org/maven2), dev-repo (http://158.xxx.xxx.xxx/repository) Thanks for the help Aviran -----Original Message----- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 10:36 PM To: Maven Users List Subject: Re: [m2] How to install 3rd party libraries to remote repository jusst check snapshot at codehaus, dont think the latest snapshot of maven-deploy-plugin is there yet!!! -Dan On 12/2/05, Allan Ramirez <[EMAIL PROTECTED]> wrote: > > Hi again, > > Good news, deploy:deploy-file is now available in the SVN, > http://docs.codehaus.org/display/MAVENUSER/FAQs > and look for the question "How to install artifacts in a remote > repository?" > > You may also refer to this page > > http://maven.apache.org/guides/development/guide-testing-development-p > lugins.html to know how to use snapshots version plugins. > > regards, > -allan > > Mordo, Aviran (EXP N-NANNATEK) wrote: > > > > > > >I have set up a corporate remote repository, in which we plan to put > >our artifacts and 3rd party dependencies. > > > >I could not find how to install 3rd party jar files into the remote > >repository. The mvn install:install-file goal only installs to the > >local repository. > > > >Can anyone tell me how to install 3rd party libraries to a remote > >repository ? > > > >Thanks, > > > >Aviran > > > >--------------------------------------------------------------------- > >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]
