File tree Expand file tree Collapse file tree
src/main/java/org/utplsql Expand file tree Collapse file tree Original file line number Diff line number Diff 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} `
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1616import org .apache .maven .plugins .annotations .LifecyclePhase ;
1717import org .apache .maven .plugins .annotations .Mojo ;
1818import org .apache .maven .plugins .annotations .Parameter ;
19+ import org .utplsql .api .DBHelper ;
1920import org .utplsql .api .FileMapperOptions ;
2021import org .utplsql .api .TestRunner ;
2122import 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 );
You can’t perform that action at this time.
0 commit comments