Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r12 - trunk/www/index.html

Discussion topic

Back to topic list

svn commit: r12 - trunk/www/index.html

Author berndadamowicz
Full name Bernd Adamowicz
Date 2009-10-07 10:25:39 PDT
Message Author: berndadamowicz
Date: 2009-10-07 10:25:38-0700
New Revision: 12


Added information cocerning installing and quickstart.

Modified: trunk/www/index.html
Url: http://webdavmaven.t​igris.org/source/bro​wse/webdavmaven/trun​k/www/index.html?vie​w=diff&pathrev=1​2&r1=11&r2=1​2
--- trunk/www/index.html (original)
+++ trunk/www/index.html 2009-10-07 10:25:38-0700
@@ -56,6 +56,89 @@
 A more detailed description of WebDAV functionalities will be available in the issue tracker soon.
+<h3>Released versions</h3>
+<p>Currently there's one stable version available: 0.4.0.</p>
+This release is not yet available in any Maven repository (but hopefully will be soon). So for installing or deploying you have to follow these steps:
+<li>svn co http://webdavmaven.t​igris.org/svn/webdav​maven/tags/0_4_0/web​davmaven --username yourusername</li>
+<li>cd webdavmaven</li>
+<li>mvn install <i>or</i​></li>
+<li>mvn deploy <i>(if you have a repository configured)</i​></li>
+After performing these steps you may use the plugin as a dependency inside your projects POM or standalone.
+<h3>Quick start</h3>
+After having installed or deployed the plugin (see <i>Released versions</i>), you may use the following example to configure your
+project's POM and copy a file to a remote WebDAV server. Please have a look at the comments in this example, too.
+ &lt;plugins&gt;
+ &lt;plugin&gt;
+ &lt;groupId&​gt;org.tigris.webdav​maven&lt;/groupI​d&gt;
+ &lt;artifactId​&gt;webdav-maven-p​lugin&lt;/artifa​ctId&gt;
+ &lt;version&​gt;0.4.0&lt;/ver​sion&gt;
+ &lt;configuration&gt;
+ &lt;!-- Only if a proxy host is given here, a proxy will be--&gt;
+ &lt;!-- set programatically. Otherwise the system settings will be used.--&gt;
+ &lt;!-- Be aware that currently the values for user and password are &gt;&gt;not​&lt;&lt; used!--&gt;
+ &lt;proxy-host​&gt;&lt;/proxy​-host&gt;
+ &lt;proxy-port​&gt;&lt;/proxy​-port&gt;
+ &lt;proxy-user​&gt;&lt;/proxy​-user&gt;
+ &lt;proxy-passwo​rd&gt;&lt;/p​roxy-password&gt​;
+ &lt;!-- Give name and password for accessing your Webdav server. --&gt;
+ &lt;webdav-user​&gt;someuser&​lt;/webdav-user&​gt;
+ &lt;webdav-passw​ord&gt;somepassw​ord&lt;/webdav-p​assword&gt;
+ &lt;!-- Note: The files which are to be written by the Webdav plugin must already exist on the server.--&gt;
+ &lt;!-- Give an arbitrary number of 'webdav-data' elements here.--&gt;
+ &lt;webdavWriters&gt;
+ &lt;webdav-data&gt;
+ &lt;contentFile​&gt;src/test/reso​urces/someotherconte​nt.txt&lt;/conte​ntFile&gt;
+ &lt;destinationUrl&gt;http://localhost:738​3/jackrabbit/reposit​ory/default/someothe​rcontent.txt&lt;​/destinationUrl&​gt;
+ &lt;/webdav-data&gt;
+ &lt;webdav-data&gt;
+ &lt;contentFile​&gt;src/test/reso​urces/server-overvie​w with spaces.confluence​&lt;/contentFile​&gt;
+ &lt;!-- When using URLs with spaces or other special characters, be sure not to--&gt;
+ &lt;!-- give an escaped URL here since escaping will be done internally.--&gt;
+ &lt;destinationUrl&gt;http://localhost:738​3/jackrabbit/reposit​ory/default/dir with spaces/server-overview with spaces.confluence​&lt;/destinationUrl​&gt;
+ &lt;/webdav-data&gt;
+ &lt;/webdavWriters&gt;
+ &lt;/configuration&gt;
+ &lt;!--
+ You may use another Maven lifecycle to bind the plugin.
+ --&gt;
+ &lt;executions&gt;
+ &lt;execution&gt;
+ &lt;phase&gt​;package&lt;/pha​se&gt;
+ &lt;goals&gt;
+ &lt;goal&gt;​write&lt;/goal​&gt;
+ &lt;/goals&gt;
+ &lt;/execution&gt;
+ &lt;/executions&gt;
+ &lt;/plugin&gt;
+ &lt;/plugins&gt;
+ &lt;/build&g​t;</pre>
 <h3>Related resources</h3>
 If you have to cope with Maven 2 and WebDAV, these plugins might me interesting for you, too:

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

svn commit: r12 - trunk/www/index.html berndadamowicz Bernd Adamowicz 2009-10-07 10:25:39 PDT
Messages per page: