summaryrefslogtreecommitdiff
path: root/java/README
blob: 33e6376f99226a155672bb0f5178505b57b4d9c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

To build the JAR file of Message Pack, you need to install Maven (http://maven.apache.org), then type the following command:

$ mvn package

To locally install the project, type
$ mvn install

To generate project files (.project, .classpath) for Eclipse, do 

$ mvn eclipse:eclipse

then import the folder from your Eclipse. 

Next, open the preference page in Eclipse and add the CLASSPATH variable:

M2_REPO = $HOME/.m2/repository

where $HOME is your home directory. In Windows XP, $HOME is:
C:/Documents and Settings/(user name)/.m2/repository 


# How to release the project (compile, test, tagging, deploy)

$ mvn release:prepare
$ mvn release:perform