Skip to content

Commit 0946db1

Browse files
author
ahernandez
committed
Upgraded version to 3.1.0 to be aligned with API
Retrieve the Framework version with the API utility Upgrade documentation to remove parameter version
1 parent 47df5d5 commit 0946db1

4 files changed

Lines changed: 4 additions & 9 deletions

File tree

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ You have to be a fully utPLSQL environment available compatible with the Java AP
2020
* `password`
2121
* Password of the connection to the database
2222
* Default: `${dbPass}`
23-
* `version`
24-
* Version of the utplsql
25-
* Default: `3.1.0`
2623
* `ignoreFailure`
2724
* Ignore or continue when a test fail
2825
* Default: `${maven.test.failure.ignore}`

pom.xml

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

55
<groupId>org.utplsql</groupId>
66
<artifactId>utplsql-maven-plugin-build</artifactId>
7-
<version>1.0.0-SNAPSHOT</version>
7+
<version>3.1.0-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

1010
<name>utplsql-maven-plugin Maven Plugin Build</name>

utplsql-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>utplsql-maven-plugin</artifactId>
77
<packaging>maven-plugin</packaging>
88

9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>3.1.0-SNAPSHOT</version>
1010

1111
<name>utplsql-maven-plugin Maven Plugin</name>
1212

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.apache.maven.plugins.annotations.LifecyclePhase;
1717
import org.apache.maven.plugins.annotations.Mojo;
1818
import org.apache.maven.plugins.annotations.Parameter;
19+
import org.utplsql.api.DBHelper;
1920
import org.utplsql.api.FileMapperOptions;
2021
import org.utplsql.api.TestRunner;
2122
import org.utplsql.api.Version;
@@ -45,9 +46,6 @@ public class UtPLSQLMojo extends AbstractMojo
4546
@Parameter(defaultValue = "${dbPass}")
4647
private String password;
4748

48-
@Parameter(defaultValue = "3.1.0")
49-
private String version;
50-
5149
@Parameter
5250
private String includeObject;
5351

@@ -185,7 +183,7 @@ private List<Reporter> initReporters(Connection connection) throws SQLException
185183
{
186184
List<Reporter> reporterList = new ArrayList<>();
187185

188-
Version utlVersion = new Version (version);
186+
Version utlVersion = DBHelper.getDatabaseFrameworkVersion(connection);
189187

190188
// Initialized Reporters
191189
reporterWriter = new ReporterWriter(targetDir, utlVersion);

0 commit comments

Comments
 (0)