forked from radsz/jacop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
48 lines (33 loc) · 1.15 KB
/
INSTALL
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
JaCoP v. 4.3- Installation Guide
The easiest way to make jar file for JaCoP is to use maven. First, install maven on your computer and then write
mvn install -DskipTests
The jar file will be generated into directory jacop/target.
Compilation of JaCoP can be easily done by issuing the following command
mvn compile
Generation of Java API documentation
mvn javadoc:javadoc
Generation of Scala formatted API documentation for Java and Scala
mvn scala:doc
Installetion using Maven
------------------------
To use JaCoP with maven you can just include it as a dependency in your `pom.xml`
<dependency>
<groupId>org.jacop</groupId>
<artifactId>jacop</artifactId>
<version>4.3.0</version>
</dependency>
In order for maven to find JaCoP you need add the folloing repository to your `pom.xml` aswell
<repositories>
<repository>
<id>CSLTH</id>
<name>CS LTH maven repo</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<url>http://maven.cs.lth.se/content/repositories/public/</url>
</repository>
</repositories>