Skip to content

Commit 52b1731

Browse files
committed
Added versioning support
1 parent dfe385f commit 52b1731

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
</target>
5151

5252
<target name="jar" depends="compile">
53-
<jar destfile="lib/jdbc-custom-data-source.jar" basedir="${build}"/>
53+
<jar destfile="lib/jdbc-custom-data-source.jar" basedir="${build}"
54+
manifest="src/main/resources/META-INF/MANIFEST.MF"/>
5455
</target>
5556

5657
<target name="run" depends="compile">

lib/jdbc-custom-data-source.jar

-92 Bytes
Binary file not shown.

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
<excludes>
6060
<exclude>**/log4j.properties</exclude>
6161
</excludes>
62+
<archive>
63+
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
64+
<manifestEntries>
65+
<Specification-Version>${version}</Specification-Version>
66+
</manifestEntries>
67+
</archive>
6268
</configuration>
6369
</plugin>
6470
</plugins>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Specification-Title: JDBC custom data source for OPL
2+
Specification-Version: 1.0
3+
Specification-Vendor: IBM

0 commit comments

Comments
 (0)