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:
[INF]
[ERRR] BUILD ERRR
[INF]
[INF] Error building PM (may not be this project's PM).
Project ID: jsr:jsr_api
Reason: Error getting PM 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 ()
Thanks for the help
Aviran
Message
From: dan tran [mailto:dantran (AT) gmail (DOT) com]
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
12/2/05, Allan Ramirez <aramirez (AT) exist (DOT) comwrote:
Hi again,
Good news, deploy:deploy-file is now available in the SVN,
and look for the question "How to install artifacts in a remote
repository?"
You may also refer to this page
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: users-unsubscribe (AT) maven (DOT) apache.org
>For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
>
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
--
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org