Project

General

Profile

Download (1.66 KB) Statistics
| Branch: | Tag: | Revision:
1
Please see http://wp5.e-taxonomy.eu/cdmlib/getting-started.html on instructions how to set up your development environment.
2

    
3

    
4
If you do not have access to wp5.e-taxonomy.eu you can skip the following section.
5

    
6
For deployment of files via maven, we are using the scpexe url scheme which effectively uses an external ssh command. 
7
Because we are using public/private key authentication on wp5.e-taxonomy.eu this is much easier to configure, test and debug.
8

    
9
If you are deploying from Unix or have Cygwin installed you won't need any additional configuration in your settings.xml file as everything will be taken from the environment. However, if your username in the remote system is different from local you will have to create the entry in your settings.xml stating the username on the remote system:
10

    
11
<settings>
12
	<servers>
13
		<server>
14
			<id>wp5.e-taxonomy.eu</id>
15
			<username>your username in the remote system</username>
16
		</server>
17
	</servers>
18
</settings>
19

    
20
If your private key is protected with a pass phrase you may want to also add the following option:
21

    
22
<settings>
23
	<servers>
24
		<server>
25
			....
26
			<passphrase>some_passphrase</passphrase>
27
		</server>
28
	</servers>
29
</settings>
30

    
31
Or you start the ssh-agent in advance. If you are using Cygwin you can add the following lines to your ~./.bashrc in order to optionally start the ssh-agent:
32

    
33
#
34
# Start the ssh-agent
35
#
36
echo "Start ssh-agent and add private ssh key? [y/n]"
37
read START_SSH_AGENT
38

    
39
if [ $START_SSH_AGENT = "y" -o $START_SSH_AGENT = "Y" ]; then 
40
  eval `ssh-agent -s`
41
  ssh-add
42
fi
43

    
44

    
45
Instructions on how to set this up for Windows can be found here: http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
46

    
47

    
(4-4/6)