1+ [ ![ Build status] ( https://travis-ci.org/utPLSQL/utPLSQL-maven-plugin.svg?branch=develop )] ( https://travis-ci.org/utPLSQL/utPLSQL-maven-plugin )
2+ [ ![ Quality Gate] ( https://sonarcloud.io/api/project_badges/measure?project=org.utplsql%3Autplsql-maven-plugin-parent&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=org.utplsql%3Autplsql-maven-plugin-parent )
3+
14# utPLSQL-maven-plugin
25A maven plugin for running Unit Tests with utPLSQL v3+
36
@@ -97,6 +100,20 @@ You have to be a fully utPLSQL environment available compatible with the Java AP
97100### Sample of use
98101The next snippet is a sample of declaration of the pom
99102``` xml
103+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
104+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
105+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
106+ <modelVersion >4.0.0</modelVersion >
107+
108+ <groupId >org.my_org</groupId >
109+ <artifactId >my-artifact-name</artifactId >
110+ <version >1.0.0</version >
111+
112+ <properties >
113+ <dbUrl >url_of_connection</dbUrl >
114+ <dbUser >user</dbUser >
115+ <dbPass >password</dbPass >
116+ </properties >
100117 <plugin >
101118 <groupId >org.utplsql</groupId >
102119 <artifactId >utplsql-maven-plugin</artifactId >
@@ -105,9 +122,6 @@ The next snippet is a sample of declaration of the pom
105122 <goal >test</goal >
106123 </goals >
107124 <configuration >
108- <dbUrl >url_of_connection</dbUrl >
109- <dbUser >user</dbUser >
110- <dbPass >password</dbPass >
111125 <ignoreFailure >false</ignoreFailure >
112126 <paths >
113127 <path >schema_name</path >
@@ -147,6 +161,7 @@ The next snippet is a sample of declaration of the pom
147161 </tests >
148162 </configuration >
149163 </plugin >
164+ </project >
150165```
151166
152167More project samples are available in the src/test/resources directory :
0 commit comments