Skip to content

Commit 11c81f5

Browse files
committed
[DB2 Support] - pom.xml - DB2 profile
1 parent 282d471 commit 11c81f5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

activejdbc/pom.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,37 @@
139139
</dependency>
140140
</dependencies>
141141
</profile>
142+
<profile>
143+
<id>db2</id>
144+
<!--
145+
Configure jdbc.driver, jdbc.url (with :progressiveStreaming=2;), jdbc.user, jdbc.password
146+
and db properties in your ~/.m2/settings.xml
147+
E.g.
148+
<properties>
149+
<jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
150+
<jdbc.url>jdbc:db2://192.168.99.100:50000/db2:progressiveStreaming=2;</jdbc.url>
151+
<jdbc.user>db2inst1</jdbc.user>
152+
<jdbc.password>db2inst1-pwd</jdbc.password>
153+
<db>db2</db>
154+
</properties>
155+
-->
156+
<repositories>
157+
<repository>
158+
<id>alfresco</id>
159+
<name>Alfresco Public </name>
160+
<url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
161+
</repository>
162+
</repositories>
163+
<dependencies>
164+
<!-- https://mvnrepository.com/artifact/com.ibm.db2.jcc/db2jcc4 -->
165+
<dependency>
166+
<groupId>com.ibm.db2.jcc</groupId>
167+
<artifactId>db2jcc4</artifactId>
168+
<version>10.1</version>
169+
<scope>test</scope>
170+
</dependency>
171+
</dependencies>
172+
</profile>
142173
</profiles>
143174

144175
<build>

0 commit comments

Comments
 (0)