Maven proxy works exactly as your local repository , so transitive
dependency concept is
implemented. All compile scope dependency declared on pom.xml of
artifact will be downloaded.
 It is possible to deploy your jar by deploy:deploy-file
you just need to add inside settings.xml
<servers>
        <server>
                <id>YOURSERVER</id>
                <username>*****</username>
                <password>****</password>
                <filePermissions>664</filePermissions>
                <directoryPermissions>775</directoryPermissions>
                <privateKey>.ssh/known_hosts</privateKey>
        </server>
</servers>
Here is an example of command line I take on thread
mvn -X -P UnixServ deploy:deploy-file
                -DgroupId=weblogic
                 -DartifactId=ejbgen
                -Dversion=SNAPSHOT
                -Dpackaging=jar
                 -Dfile=ejbgen.jar
                -DrepositoryId=UnixServ-FTP
                -Durl=scp://myserver.com
where repositoryId must be  mapped   on the <id> under <server>(here
YOURSERVER) section of settings.xml.
please see
http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html

For me it never works because of ssh conexion to my repository but i
saw on threads about it but it works fine. deploy:deploy-file create
.sha and .md5 files .


I ask value of pom update for clifton . I suggest him to put the value
to false so maven proxy doesn' t try to look for newer pom.
Tom,

> Tom,
>
> I'm still trying to get it all up and running.
>
> I am lead to believe that maven-proxy automatically downloads dependencies
> from internet repositories if it dose not have them.
>
> As for deploying(?) my own projects to it, I'm not sure.
>
> My pom.update is set to true
>
> Ben
>
> -----Original Message-----
> From: Tom Joad [mailto:[EMAIL PROTECTED]
> Sent: 25 April 2006 14:51
> To: Maven Users List
> Subject: Re: Maven Proxy
>
> How do you copy stuff to your maven-proxy repository?
> and what is value for
>  pom.update key on your config properties?
>
> Tom
>
>
>
> 2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> > Tom,
> >
> > Could you help get me started with Maven proxy? I've been trying to get it
> > working in our office but I've been unsuccessful. It (the proxy) seems to
> > have a problem getting out to the internet through our in office http
> proxy.
> > I have the following in my Maven-proxy config properties file:
> >
> > ################ PROXIES
> > #This is just a hack, it should auto discover them
> > proxy.list=instagate
> >
> > #Authenticated proxy
> > proxy.instagate.host=instagate.icsaward.com
> > proxy.instagate.port=8080
> > proxy.instagate.username=***
> > proxy.instagate.password=*****
> >
> > When I copy stuff from my local ~/.m2 repository to the maven-proxy
> repository
> > I am able to download only the jar files and not the .pom files as it
> gives
> > an error 500. When I try downloading the pom files I see it going out to
> the
> > internet to retrieve the latest copy but failing. Can you (or anyone else)
> > help?
> >
> > ---------------------------------------------------
> > Clifton C. Craig, Software Engineer
> > Intelligent Computer Systems -  A Division of GBG
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> > > Maven always go to internal repository which connects to all maven
> > > public repository you declare on your  maven proxy configuration file.
> > > The order of checking artifact is  always
> > > local repository -->internal repository --> maven public repositories.
> > >
> > > Tom.
> > >
> > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > Tom,
> > > >
> > > > Thanks for replying. Will maven then always go to the internal one or
> > > > only when it cant connect to the internet server?
> > > >
> > > > Ben
> > > >
> > > > -----Original Message-----
> > > > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > > > Sent: 25 April 2006 11:05
> > > > To: Maven Users List; [EMAIL PROTECTED]
> > > > Subject: Re: Maven Proxy
> > > >
> > > > HI,
> > > > You configure connexion on settings.xml file with mirrors tag.
> > > > <mirrors>
> > > >         <mirror>
> > > >         <mirrorOf>central</mirrorOf>
> > > >         <name>Internal Repos</name>
> > > >         <url>http://internalhost:9999</url>
> > > >         <id>local-proxy</id>
> > > >         </mirror>
> > > > </mirrors>
> > > > Tom.
> > > >
> > > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > > Hi,
> > > > >
> > > > > I am trying to setup maven-proxy on my network and make all my
> clients
> > > > > connect to it rather than go to the internet. But when I run mvn
> > > > > complie
> > > >
> > > > it
> > > >
> > > > > always connect to the internet server first. If maven can't find a
> > > > > dependency on the internet server then it tries my maven-proxy.
> > > > >
> > > > > I have added the following to my pom.
> > > > >
> > > > > <repositories>
> > > > >         <repository>
> > > > >                 <id>internal</id>
> > > > >                 <name>Internal Repos</name>
> > > > >                 <layout>default</layout>
> > > > >                 <url>http://internalhost:9999</url>
> > > > >         </repository>
> > > > > </repositories>
> > > > >
> > > > > I have also set the id element to central but it still uses the
> > > > > internet server first.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Ben
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to