-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.TXT
91 lines (68 loc) · 2.55 KB
/
README.TXT
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
You can set up this framework as dependency for your own project.
----- IVY -----
1. resolver (inside ivysettings.xml) :
<url name="sf_repo">
<ivy pattern="http://sourceforge.net/projects/jsonnodetree/files/repo/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" />
<artifact pattern="http://sourceforge.net/projects/jsonnodetree/files/repo/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" />
</url>
2. dependency (inside ivy.xml) :
<dependency org="com.ak" name="jsontree" rev="1.0.3" />
3. example (template) of ivy.xml for your project depended on jsontree JAR :
<?xml version="1.0" encoding="ISO-8859-1"?>
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
<info
organisation="com.yourcompany"
module="your.project"
status="integration"
revision="1.0.0" >
</info>
<dependencies>
<dependency org="com.ak" name="jsontree" rev="1.0.3" transitive="false" />
</dependencies>
</ivy-module>
----- MAVEN -----
1. repository to resolve dependency (inside pom.xml) :
<repositories>
<repository>
<id>jsontree</id>
<name>Json tree repository</name>
<url>http://sourceforge.net/projects/jsonnodetree/files/repo</url>
<layout>default</layout>
</repository>
</repositories>
2. dependency (inside pom.xml) :
<dependency>
<groupId>com.ak</groupId>
<artifactId>jsontree</artifactId>
<version>1.0.3</version>
</dependency>
3. example (template) of pom.xml for your project depended on jsontree JAR :
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>YOUR PROJECT</groupId>
<artifactId>test-jsontree</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.ak</groupId>
<artifactId>jsontree</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jsontree</id>
<name>Json tree repository</name>
<url>http://sourceforge.net/projects/jsonnodetree/files/repo</url>
<layout>default</layout>
</repository>
</repositories>
</project>