You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fr...@zonnet.nl on 2005/01/19 09:10:17 UTC
Problems with deploying site through FTP
Hi,
I am facing problems with deploying my site through FTP.
After I run 'maven -X site:deploy' I receive the following output:
...
site:ftpdeploy:
[echo]
siteAddress = 80.127.18.xxx (xxx-values removed for privacy reasons)
siteDirectory = /mysite
siteUser = franck
attaining goal build:end
popping off org.apache.maven.jelly.MavenJellyContext@14e113b for
org.apache.maven.jelly.MavenJellyContext@4d76b4 in
maven-jxr-plugin:maven-jxr-plugin
popping off org.apache.maven.jelly.MavenJellyContext@141fab6 for
org.apache.maven.jelly.MavenJellyContext@b301f2 in
maven-xdoc-plugin:maven-xdoc-plugin
...
BUILD SUCCESSFUL
However, nothing gets ftp-ed. When I ftp manually from the command line there
is no problem, indicating that ftp in itself is working. It looks like the
maven ftp engine is not fired up.
I looked in the plugin itself and there the following code should ftp the
stuff ...
<!-- FTP to the server -->
<ftp server="${pom.siteAddress}"
userid="${maven.username}"
password="${maven.password}"
remotedir="${pom.siteDirectory}">
<fileset dir="${docsDest}" includes="**/*.*"/>
</ftp>
Could anyone tell me what actually happens here? Where can I find the code
that actually does the ftp-ing? Should this be working? Or is there a better
way to deploy my site?
Thanks in advance,
Franck
--
_____________________________________________________________________
Versatel ADSL Gratis. De voordelen van gratis internet met de
snelheid van ADSL. Zonder abonnementskosten en zonder vast contract.
Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en
met gratis modem. Bestel snel op www.versatel.nl.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by colaru <co...@setmobile.ro>.
Sorry!!! Is my mistake!!! Now I sent to maven list! I want to sent just to
fabrice...
I respect yout work and I will be more carefoul witf my messages!!!
Cristian.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by Brett Porter <br...@gmail.com>.
No, the site plugin doesn't currently use that mechanism, but should
be using commons-net via the ant <ftp /> task.
- Brett
On Thu, 20 Jan 2005 22:04:05 +0100, Franck de Bruijn
<fr...@zonnet.nl> wrote:
> Hi Brett,
>
> Thanks for your help. Unfortunately it's not resolving the issue.
>
> I just tried to deploy the artifacts (in my case it's a WAR file) themselves
> through FTP and that works fine.
>
> My browsing through the repository learned that the 'artifact:deploy' plugin
> uses the 'org.apache.maven.deploy.deployers.FtpDeployer' class to to the
> FTP-ing. This class uses the FTPClient class in the commons.net package,
> which you told earlier.
>
> Is there a possibility that the 'site' plugin uses the same mechanism???
>
> Thanks in advance,
> Franck
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by Franck de Bruijn <fr...@zonnet.nl>.
Hi Brett,
Thanks for your help. Unfortunately it's not resolving the issue.
I just tried to deploy the artifacts (in my case it's a WAR file) themselves
through FTP and that works fine.
My browsing through the repository learned that the 'artifact:deploy' plugin
uses the 'org.apache.maven.deploy.deployers.FtpDeployer' class to to the
FTP-ing. This class uses the FTPClient class in the commons.net package,
which you told earlier.
Is there a possibility that the 'site' plugin uses the same mechanism???
Thanks in advance,
Franck
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by Brett Porter <br...@gmail.com>.
> I tried to resolve these dependencies by adding ant/jars/ant-optional-1.5.3-1
not necessary - Maven has it in it's lib directory
> and savarese/jars/NetComponents-1.3.8 to the site plugin.
can you try adding:
<properties>
<classloader>root</classloader>
</properties>
to the dependency?
If that works, can you remove the NetComponents one, and add that
properties definition to commons-net that was originally listed?
>
> As an alternative I could use ssh/rsync, but I am not sure if this is possible
> with a Windows server? Anyone who knows this?
Cygwin includes SSHD and rsync. I use it regularly.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by fr...@zonnet.nl.
Hi,
I downloaded the 1.6 release and the same thing happens.
I see that FTP is an optional task within Ant. As fas as I can see from my
local repository is that I do not have this optional library available. From
the documentation the FTP task has a dependency to NetComponents from Saverese.
I tried to resolve these dependencies by adding ant/jars/ant-optional-1.5.3-1
and savarese/jars/NetComponents-1.3.8 to the site plugin.
The result is the same. I don't see any output and it looks like no FTP task
is invoked. Does anyone have an idea?
As an alternative I could use ssh/rsync, but I am not sure if this is possible
with a Windows server? Anyone who knows this?
Thanks,
Franck
Citeren Brett Porter <br...@gmail.com>:
> The <ftp is provided by an Ant task, and uses commons-net. I'm
> surprised there isn't any additional output. If you'd like to file a
> bug in JIRA it can be chased up.
>
> Can you also try the site 1.6 release from yesterday if you haven't
> installed it?
> maven plugin:download -DgroupId=maven -DartifactId=maven-site-plugin
> -Dversion=1.6
>
> Thanks,
> Brett
>
> On Wed, 19 Jan 2005 09:10:17 +0100, franck.de.bruijn@zonnet.nl
> <fr...@zonnet.nl> wrote:
> > Hi,
> >
> > I am facing problems with deploying my site through FTP.
> >
> > After I run 'maven -X site:deploy' I receive the following output:
> >
> > ...
> >
> > site:ftpdeploy:
> > [echo]
> > siteAddress = 80.127.18.xxx (xxx-values removed for privacy
> reasons)
> > siteDirectory = /mysite
> > siteUser = franck
> >
> > attaining goal build:end
> > popping off org.apache.maven.jelly.MavenJellyContext@14e113b for
> > org.apache.maven.jelly.MavenJellyContext@4d76b4 in
> > maven-jxr-plugin:maven-jxr-plugin
> > popping off org.apache.maven.jelly.MavenJellyContext@141fab6 for
> > org.apache.maven.jelly.MavenJellyContext@b301f2 in
> > maven-xdoc-plugin:maven-xdoc-plugin
> >
> > ...
> >
> > BUILD SUCCESSFUL
> >
> > However, nothing gets ftp-ed. When I ftp manually from the command line
> there
> > is no problem, indicating that ftp in itself is working. It looks like
> the
> > maven ftp engine is not fired up.
> >
> > I looked in the plugin itself and there the following code should ftp
> the
> > stuff ...
> >
> > <!-- FTP to the server -->
> > <ftp server="${pom.siteAddress}"
> > userid="${maven.username}"
> > password="${maven.password}"
> > remotedir="${pom.siteDirectory}">
> > <fileset dir="${docsDest}" includes="**/*.*"/>
> > </ftp>
> >
> > Could anyone tell me what actually happens here? Where can I find the
> code
> > that actually does the ftp-ing? Should this be working? Or is there a
> better
> > way to deploy my site?
> >
> > Thanks in advance,
> > Franck
> >
> > --
> > _____________________________________________________________________
> > Versatel ADSL Gratis. De voordelen van gratis internet met de
> > snelheid van ADSL. Zonder abonnementskosten en zonder vast contract.
> > Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en
> > met gratis modem. Bestel snel op www.versatel.nl.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
_____________________________________________________________________
Versatel ADSL Gratis. De voordelen van gratis internet met de
snelheid van ADSL. Zonder abonnementskosten en zonder vast contract.
Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en
met gratis modem. Bestel snel op www.versatel.nl.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with deploying site through FTP
Posted by Brett Porter <br...@gmail.com>.
The <ftp is provided by an Ant task, and uses commons-net. I'm
surprised there isn't any additional output. If you'd like to file a
bug in JIRA it can be chased up.
Can you also try the site 1.6 release from yesterday if you haven't
installed it?
maven plugin:download -DgroupId=maven -DartifactId=maven-site-plugin
-Dversion=1.6
Thanks,
Brett
On Wed, 19 Jan 2005 09:10:17 +0100, franck.de.bruijn@zonnet.nl
<fr...@zonnet.nl> wrote:
> Hi,
>
> I am facing problems with deploying my site through FTP.
>
> After I run 'maven -X site:deploy' I receive the following output:
>
> ...
>
> site:ftpdeploy:
> [echo]
> siteAddress = 80.127.18.xxx (xxx-values removed for privacy reasons)
> siteDirectory = /mysite
> siteUser = franck
>
> attaining goal build:end
> popping off org.apache.maven.jelly.MavenJellyContext@14e113b for
> org.apache.maven.jelly.MavenJellyContext@4d76b4 in
> maven-jxr-plugin:maven-jxr-plugin
> popping off org.apache.maven.jelly.MavenJellyContext@141fab6 for
> org.apache.maven.jelly.MavenJellyContext@b301f2 in
> maven-xdoc-plugin:maven-xdoc-plugin
>
> ...
>
> BUILD SUCCESSFUL
>
> However, nothing gets ftp-ed. When I ftp manually from the command line there
> is no problem, indicating that ftp in itself is working. It looks like the
> maven ftp engine is not fired up.
>
> I looked in the plugin itself and there the following code should ftp the
> stuff ...
>
> <!-- FTP to the server -->
> <ftp server="${pom.siteAddress}"
> userid="${maven.username}"
> password="${maven.password}"
> remotedir="${pom.siteDirectory}">
> <fileset dir="${docsDest}" includes="**/*.*"/>
> </ftp>
>
> Could anyone tell me what actually happens here? Where can I find the code
> that actually does the ftp-ing? Should this be working? Or is there a better
> way to deploy my site?
>
> Thanks in advance,
> Franck
>
> --
> _____________________________________________________________________
> Versatel ADSL Gratis. De voordelen van gratis internet met de
> snelheid van ADSL. Zonder abonnementskosten en zonder vast contract.
> Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en
> met gratis modem. Bestel snel op www.versatel.nl.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org