Hello Stian, > To deploy your plugin you'll need to have a web-space available > somewhere. Assuming this is locally on your machine on > /home/stain/public_html/ make a sub-folder for the maven repository, > call it "maven". Then you'll need to modify your POM to include a > <distributionManagement> section. This is Taverna's section: > > <distributionManagement> > <repository> > <id>mygrid-repository</id> > <name>myGrid Repository</name> > <!-- on rosalind.cs.man.ac.uk (www.mygrid.org.uk) --> > <url>file:///local/www/mygrid/maven/repository</url> > </repository> > <snapshotRepository> > <id>mygrid-snapshot-repository</id> > <name>myGrid Snapshot Repository</name> > <!-- on rosalind.cs.man.ac.uk (www.mygrid.org.uk) --> > > <url>file:///local/www/mygrid/maven/snapshot-repository</url> > </snapshotRepository> > </distributionManagement> > > You can also use scp://machinename/remote/path or > sftp://machinename/remote/path to use scp or sftp. > > You should then also have also correctly specified your <scm> section > of your Subversion/git/CVS details, for example: > > <scm> > > <connection>scm:svn:http://taverna.googlecode.com/svn/taverna/engine/net.sf.taverna.t2.core/trunk/</connection> > > <developerConnection>scm:svn:https://taverna.googlecode.com/svn/taverna/engine/net.sf.taverna.t2.core/trunk/</developerConnection> > > <url>http://code.google.com/p/taverna/source/browse/#svn/taverna/engine/net.sf.taverna.t2.core/trunk</url> > </scm> > > > You should then be able to run mvn release:prepare [1] to set what > your released version number is to be (they should not be ending in > -SNAPSHOT, as that is a moving target), and then finally mvn > release:perform, which will do the tagging and run mvn deploy for you, > which should deploy you POMs and JARs to the specified > distributionManagement location. > Everytime if I try to run "mvn release:prepare" I get an error that the "target" folder does not contain the ".svn" folder. I think the reason is that the command "mvn clean" is called and this causes the "target" folder to be erased. Is there any possibility to exclude the folder so that it will be ignored?
Regards Andreas ------------------------------------------------------------------------------ _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
