Skip to content

Commit ef684c2

Browse files
committed
Upgrade java-api to latest snapshot
* Add new logs : UTPLSQL version & java-api version
1 parent 204c4fa commit ef684c2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

utplsql-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>org.utplsql</groupId>
2727
<artifactId>java-api</artifactId>
28-
<version>3.1.0</version>
28+
<version>3.1.1-SNAPSHOT</version>
2929
</dependency>
3030

3131
<dependency>

utplsql-maven-plugin/src/main/java/org/utplsql/maven/plugin/UtPLSQLMojo.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.apache.maven.plugins.annotations.Parameter;
1717
import org.utplsql.api.DBHelper;
1818
import org.utplsql.api.FileMapperOptions;
19+
import org.utplsql.api.JavaApiVersionInfo;
1920
import org.utplsql.api.KeyValuePair;
2021
import org.utplsql.api.TestRunner;
2122
import org.utplsql.api.Version;
@@ -124,6 +125,7 @@ public class UtPLSQLMojo extends AbstractMojo
124125
@Override
125126
public void execute() throws MojoExecutionException
126127
{
128+
getLog().debug("Java Api Version = "+JavaApiVersionInfo.getVersion());
127129
loadDefaultCredentials();
128130

129131
Connection connection = null;
@@ -134,6 +136,7 @@ public void execute() throws MojoExecutionException
134136

135137
// Create the Connection to the Database
136138
connection = DriverManager.getConnection(url, user, password);
139+
getLog().info("utPLSQL Version = "+DBHelper.getDatabaseFrameworkVersion(connection));
137140

138141
List<Reporter> reporterList = initReporters(connection);
139142

0 commit comments

Comments
 (0)