-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
86 lines (65 loc) · 2.39 KB
/
README
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
ÜberDust - Web/REST Interface Application
======
<dependency>
<groupId>eu.uberdust</groupId>
<artifactId>webapp</artifactId>
<version>1.0</version>
</dependency>
The repository contains the following packages:
Related links
What do I need?
---------------
Latest stable version
---------------
Hibernate Configuration
======
You can configure wisedb access by providing the appropriate configuration in your local Maven settings file `~/.m2/settings.xml`:
<settings>
...
<servers>
<server>
<id>tomcat6</id>
<username>tomcat</username>
<password>tomcat321</password>
</server>
</servers>
...
<profiles>
<profile>
<id>wisedb-on-remote-host</id>
<properties>
<wisedb.hibernate.dialect>org.hibernate.dialect.MySQLDialect</wisedb.hibernate.dialect>
<wisedb.jdbc.connection.driver_class>com.mysql.jdbc.Driver</wisedb.jdbc.connection.driver_class>
<wisedb.jdbc.connection.url>jdbc:mysql://ip-on-remote-wisedb/wisdeb</wisedb.jdbc.connection.url>
<wisedb.jdbc.connection.username>wisedb</wisedb.jdbc.connection.username>
<wisedb.jdbc.connection.password>wisedbpassword</wisedb.jdbc.connection.password>
<wisedb.jdbc.connection.pool_size>10</wisedb.jdbc.connection.pool_size>
</properties>
</profile>
<profile>
<id>tomcat-on-gold.cti.gr</id>
<properties>
<gold.tomcat.manager.url>http://150.140.5.11:8080/manager</gold.tomcat.manager.url>
</properties>
</profile>
<profile>
<id>tomcat-on-localhost</id>
<properties>
<local.tomcat.manager.url>http://localhost:8080/manager</local.tomcat.manager.url>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>tomcat-on-gold.cti.gr</activeProfile>
<activeProfile>tomcat-on-localhost</activeProfile>
<activeProfile>wisedb-on-remote-host</activeProfile>
</activeProfiles>
...
</settings>
Note that you should provide two profiles one for the main sources and one for the test resources. Configuration is now stored in jar using `mvn package`.
Simple execution
======
Use in your Maven project
======
Contact
======