Skip to content

Commit 2b5b969

Browse files
committed
Bump to 5.3.4
Add license files to jar artifacts
1 parent f07b153 commit 2b5b969

File tree

4 files changed

+68
-7
lines changed

4 files changed

+68
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
The format is based on [Keep a Changelog](http://keepachangelog.com/).
44

5-
## [5.3.3] 2022-06-22
5+
## [5.3.4] 2022-06-16
6+
7+
NOTE: there was briefly a 5.3.3 release available on GitHub. This release is functionally
8+
identical. It just adds license files to the jar artifacts
69

710
### Added
811
- added new method in NoSQLHandle queryIterable to return the results of a
@@ -13,7 +16,7 @@ resources.
1316
- added Version.createVersion(byte[]) to allow creation of a Version object from a
1417
query that returns row_version() as a BinaryValue. The Version can be used for
1518
conditional put and delete operations
16-
- added support for setting an extension to the User Agent http header by
19+
- added support for setting an extension to the User Agent http header by
1720
setting the ExtensionUserAgent property on NoSQLHandlerConfig.
1821

1922
### Changed

driver/pom.xml

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<groupId>com.oracle.nosql.sdk</groupId>
3131
<artifactId>nosqldriver</artifactId>
32-
<version>5.3.3</version>
32+
<version>5.3.4</version>
3333
<packaging>jar</packaging>
3434

3535
<organization>
@@ -399,13 +399,71 @@
399399
<executions>
400400
<execution>
401401
<id>make-assembly</id>
402-
<phase>package</phase>
402+
<phase>install</phase>
403403
<goals>
404404
<goal>single</goal>
405405
</goals>
406406
</execution>
407407
</executions>
408408
</plugin>
409+
410+
<!-- add license files to jar files -->
411+
<plugin>
412+
<groupId>org.codehaus.mojo</groupId>
413+
<artifactId>exec-maven-plugin</artifactId>
414+
<version>3.0.0</version>
415+
<executions>
416+
<execution>
417+
<id>add license files to runtime jar</id>
418+
<phase>package</phase>
419+
<goals>
420+
<goal>exec</goal>
421+
</goals>
422+
<configuration>
423+
<executable>jar</executable>
424+
<workingDirectory>${basedir}/target</workingDirectory>
425+
<arguments>
426+
<argument>uf</argument>
427+
<argument>nosqldriver.jar</argument>
428+
<argument>../../LICENSE.txt</argument>
429+
<argument>../../THIRD_PARTY_LICENSES.txt</argument>
430+
</arguments>
431+
</configuration>
432+
</execution>
433+
<execution>
434+
<id>add license file to javadoc jar</id>
435+
<phase>install</phase>
436+
<goals>
437+
<goal>exec</goal>
438+
</goals>
439+
<configuration>
440+
<executable>jar</executable>
441+
<workingDirectory>${basedir}/target</workingDirectory>
442+
<arguments>
443+
<argument>uf</argument>
444+
<argument>nosqldriver-javadoc.jar</argument>
445+
<argument>../../LICENSE.txt</argument>
446+
</arguments>
447+
</configuration>
448+
</execution>
449+
<execution>
450+
<id>add license file to source jar</id>
451+
<phase>install</phase>
452+
<goals>
453+
<goal>exec</goal>
454+
</goals>
455+
<configuration>
456+
<executable>jar</executable>
457+
<workingDirectory>${basedir}/target</workingDirectory>
458+
<arguments>
459+
<argument>uf</argument>
460+
<argument>nosqldriver-sources.jar</argument>
461+
<argument>../../LICENSE.txt</argument>
462+
</arguments>
463+
</configuration>
464+
</execution>
465+
</executions>
466+
</plugin>
409467
</plugins>
410468
</build>
411469
</project>

examples/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>com.oracle.nosql.sdk</groupId>
6-
<version>5.3.3</version>
6+
<version>5.3.4</version>
77
<artifactId>nosql-java-sdk-examples</artifactId>
88
<name>Oracle NoSQL Database Java Examples</name>
99
<description>Java examples for Oracle NoSQL Database</description>
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>com.oracle.nosql.sdk</groupId>
2727
<artifactId>nosqldriver</artifactId>
28-
<version>5.3.3</version>
28+
<version>5.3.4</version>
2929
</dependency>
3030
</dependencies>
3131

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.oracle.nosql.sdk</groupId>
88
<artifactId>nosql-java-sdk</artifactId>
9-
<version>5.3.3</version>
9+
<version>5.3.4</version>
1010
<packaging>pom</packaging>
1111
<name>Oracle NoSQL SDK</name>
1212
<description>

0 commit comments

Comments
 (0)