You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tamás Cservenák <t....@gmail.com> on 2006/07/24 01:20:09 UTC

Proximity + FTPRemotePeer

Hi all,

i just want to announce that Proximity RC2 (in preparation) just got richer
with a FTPRemotePeer, thus, it is able to proxy FTP remote repositories (eg.
ftp://repo1.maven.org/pub/packages/maven2). To enable it, look at
applicationContext.xml file provided with RC2, it is fully configured but
commented out! Current FTPRemotePeer is pretty simple but make Proximity
able to connect to a given FTP host using configured username+password.
Since "under the hud" Commons Net FTPClient is used, for FTP proxy settings
see
http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=107877944806547&w=2for
proxy settings.

Currently, RC2 also holds a lot of bugfixes from release RC1, the (fairly
complete) list of fixed issues (
http://intranet.is-micro.hu/trac/ismicro-proximity/query?status=closed&milestone=Proximity+Release+1.0.0-RC2
):

Too Many Files Open (Large repositories)
NTLM HTTP Proxy is supported by Px Core
Have "offline" switch to make Px to behave offline (to not reach remote peers)
Proximity throws NPE's in case of lack of Indexer (ability to
completely remove indexer component)
Jetty deploy gives broken document link
Implement FTP remote peer


If interested, please download the unreleased RC2 from here:
http://proximity.abstracthorizon.org/deploy/nightly/
and test it.

Thanx in advance, and
Have fun!
~t~

Re: Proximity + FTPRemotePeer

Posted by Tamás Cservenák <t....@gmail.com>.
Hi Trygve,

no, Proximity does not have any dependency on Maven (or Spring used in WAR)
whatsoever. Proximity is made from px-core, an extensible proxy engine, and
is extended to be a Maven1/2 proxy using px-core-maven, the Maven bindings
for Proximity. This binding extends the Proximity index content by POM
parsed stuff, brings in a new "proxy" logic to be able to distinguish
metadata, POMs, etc.

Proximity does not handle Maven repository as MAVEN REPOSITORY. It handles
it as any HTTP content (huh, not a 100% true but almost, this is the fact
that "proximity-logic" drives the request fulfillment). You could even use
proximity as a simple proxy-server for any other content!

Example:
Put a proximity instance with  HTTP remote peer pointing to
http://proximity.abstracthorizon.org/ and request the /index.html page from
proximity (http://localhost:8080/index.html)! :) It will fetch it for you,
complete with pictures!

Proximity itself (in current RCx version) is not aware about Maven
repository it serves. This is why it is so simple. A later feature will
incorporate a response transformation (a la J2EE filters), that would be
used to transform content (eg .POMs) on the fly to smthin... but this will
be (again) in Maven binding, and not in px-core (where remotePeer
implementations resides).

Still, the physical transport abstraction (as Wagon is itself) is already
given by Proximity using RemoteStorage interface (and currently have HTTP
and FTP implementations). AFAIK, Wagon itself does not handle POMs,it only
transports resources (files, streams).

Maven Wagon could be eventually the third RemotePeer implementation... but
one of the problem I see with Wagon is inability to inquire the file without
fetching it (like HTTP HEAD method or FTP LIST method), which is used by
Proximity to check quickly a file existence remotely or fetch it's
attributes without fetching the whole file. And this feature is important
from Proximity's aspect, enabling faster response times in some cases.

Sorry for this long mail :)

Have fun
~t~

On 7/24/06, Trygve Laugstøl <tr...@apache.org> wrote:
>
> Tamás Cservenák wrote:
> > Hi all,
> >
> > i just want to announce that Proximity RC2 (in preparation) just got
> richer
> > with a FTPRemotePeer, thus, it is able to proxy FTP remote repositories
>
> Shouldn't you be using Maven Wagon to transfer files? That way you can
> support any of the repository types that Maven itself support.
>
> --
> Trygve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Proximity + FTPRemotePeer

Posted by Trygve Laugstøl <tr...@apache.org>.
Tamás Cservenák wrote:
> Hi all,
> 
> i just want to announce that Proximity RC2 (in preparation) just got richer
> with a FTPRemotePeer, thus, it is able to proxy FTP remote repositories 

Shouldn't you be using Maven Wagon to transfer files? That way you can 
support any of the repository types that Maven itself support.

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Proximity + FTPRemotePeer

Posted by Brett Porter <br...@gmail.com>.
Hi,

Can you please add [ANN] to 3rd party announcements so that they don't
get confused with the questions?

Thanks!

- Brett

On 24/07/06, Tamás Cservenák <t....@gmail.com> wrote:
> Hi all,
>
> i just want to announce that Proximity RC2 (in preparation) just got richer
> with a FTPRemotePeer, thus, it is able to proxy FTP remote repositories (eg.
> ftp://repo1.maven.org/pub/packages/maven2). To enable it, look at
> applicationContext.xml file provided with RC2, it is fully configured but
> commented out! Current FTPRemotePeer is pretty simple but make Proximity
> able to connect to a given FTP host using configured username+password.
> Since "under the hud" Commons Net FTPClient is used, for FTP proxy settings
> see
> http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=107877944806547&w=2for
> proxy settings.
>
> Currently, RC2 also holds a lot of bugfixes from release RC1, the (fairly
> complete) list of fixed issues (
> http://intranet.is-micro.hu/trac/ismicro-proximity/query?status=closed&milestone=Proximity+Release+1.0.0-RC2
> ):
>
> Too Many Files Open (Large repositories)
> NTLM HTTP Proxy is supported by Px Core
> Have "offline" switch to make Px to behave offline (to not reach remote peers)
> Proximity throws NPE's in case of lack of Indexer (ability to
> completely remove indexer component)
> Jetty deploy gives broken document link
> Implement FTP remote peer
>
>
> If interested, please download the unreleased RC2 from here:
> http://proximity.abstracthorizon.org/deploy/nightly/
> and test it.
>
> Thanx in advance, and
> Have fun!
> ~t~
>
>


-- 
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org