You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dmitry Beransky <db...@dembel.org> on 2007/01/02 21:12:25 UTC
deploying to remote repository
Hi,
I need a bit of help installing a third party plugin into an internal
repository. I know that I need to be using some form of the following:
mvn deploy:deploy-file -DpomFile=
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom\
-DrepositoryId=csa-repository \
-Durl=<url-of-the-repositor-to-deploy> \
-Dfile=jta-1.0.1B.jar
a few questions about the above:
1. Can I point to jta's POM that's sitting on the central repository or do
I need to create my own?
2. What is a "repositor" and what is its url?
3. Am I on the right track at all?
thanks
Dmitry
Re: deploying to remote repository
Posted by Mykel Alvis <my...@weirdness.com>.
You first need to define your internal repository representation and how you
plan to host it.
This can be as simple as a file:// reference on disk, an ftp server, dav
server, etc.
You must first answer this question
Have you determined how you plan to host this repository?
I suggest using apache and DAV, since updating maven 2.0.4 to have
dav-capable deployments is relatively simple.
http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV
The decision of how to host a 3rd party repo isn't as straightforward as it
might seem, but Apache+DAV has been my preferred solution since the first
time I got it working.
On 1/2/07, Dmitry Beransky <db...@dembel.org> wrote:
>
> Hi,
>
> I need a bit of help installing a third party plugin into an internal
> repository. I know that I need to be using some form of the following:
>
> mvn deploy:deploy-file -DpomFile=
>
> http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom\
> -DrepositoryId=csa-repository \
> -Durl=<url-of-the-repositor-to-deploy> \
> -Dfile=jta-1.0.1B.jar
>
> a few questions about the above:
>
> 1. Can I point to jta's POM that's sitting on the central repository or
> do
> I need to create my own?
> 2. What is a "repositor" and what is its url?
> 3. Am I on the right track at all?
>
>
> thanks
> Dmitry
>
>
--
I'm just an unfrozen caveman software developer. I don't understand your
strange, "modern" ways.