Maven2 site-deploy

Hi again,

Is there “file” &/or “scp” access to XP-Dev “File Hosting” directories?

I’m using AndroMDA to generate my project and and Maven Site to generate its documentation.

mvn site

... is the command to generate the site and ...

mvn site-deploy

... will upload it to your project documentation server.

On the page http://maven.apache.org/plugins/maven-site-plugin/usage.html they mention, "The <url> gives the location to deploy to. Currently, the scp and file protocols are supported" and give this as an example...

<distributionManagement>
<site>
<id>www.yourcompany.com</id>
<url>scp://www.yourcompany.com/www/docs/project/</url>
</site>
</distributionManagement>

I can always write a script to move the generated files into a subversion managed directory and then commit, but I was wondering if you already have file &/or scp access to XP-Dev “File Hosting” directories?

HB

Forum Topic Options

Feeds

Forum Topic and Comments

rs on Tue 24 Mar, 2009

Can’t do scp:// or file:// directly on the subversion repositories. As you’ve suggested, you might need to write a script to move the generated files to a subversion repository and use the Direct File Hosting capabilities. It’s a little PITA.

After googling a bit, you could try using Wagon SVN. Have a look under the heading Using Wagon-svn with other subversion repositories especially the section where it shows how to use the URI svn:http://...

 

rs on Tue 24 Mar, 2009

Do you want mvn site to be invoked at every checkin ?

(Sorry I’m asking, your last comment got my mind spinning into deep thought :) )

 

rs on Thu 26 Mar, 2009

Continuous integration ? At some point :) I just need time, which is a little short nowadays (well, until I’ve finished off from my current day job that is – I’ve resigned, but no end date yet!)

So, back to the issue at hand. I don’t think scp:// is a viable option on the current server as it’s being used by thousands upon thousands of users at the moment.

However, back in the day when xp-dev.com did not have an import facility, I used to ask users to upload their dump files to places like box.net and rapidshare.com and upload them manually. Except this one guy had a 1GB+ dump file and most free packages have a conservative file limit.

He did end up using http://www.000webhost.com/. You might want to see if you can ftp:// those things across there.

Please look below

 

rs on Thu 26 Mar, 2009

Yikes.. thanks for pointing it out Floris! I remember FTP’ing down a dump file and that was it. Didn’t install anything from them. Oh well. I personally think that good free webhosts are a dime in a dozen nowadays.

 

You do not have sufficient permissions to comment