You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-24Lines changed: 23 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,50 +31,45 @@ You have to be a fully utPLSQL environment available compatible with the Java AP
31
31
32
32
*`paths`
33
33
* Paths of the resources
34
+
35
+
*`sources`
36
+
* Path to project source files
34
37
*`sourcesRegexExpression`
35
-
*
38
+
*utPLSQL will convert file paths into database objects using the following regular expression
36
39
*`sourcesOwnerSubexpression`
37
-
*
40
+
*Object owner is identified by the expression with the specified set of brackets
38
41
*`sourcesNameSubexpression`
39
-
*
42
+
*Object name is identified by the expression with the specified set of brackets
40
43
*`sourcesTypeSubexpression`
41
-
*
44
+
*Object Type is identified by the expression with the specified set of brackets
42
45
43
46
*`tests`
44
-
*Test fo the scripts at the style of the maven resources
47
+
*Path to project test files
45
48
*`testsRegexExpression`
46
-
*
49
+
*utPLSQL will convert file paths into database objects using the following regular expression
47
50
*`testsOwnerSubexpression`
48
-
*
51
+
*Owner is identified by the expression with the specified set of brackets
49
52
*`testsNameSubexpression`
50
-
*
53
+
*Object name is identified by the expression with the specified set of brackets
51
54
*`testsTypeSubexpression`
52
-
53
-
*`targetDir`
54
-
* Target dir, this is a readonly property
55
-
* Default: `${project.build.directory}`
56
-
*`includeObject`
57
-
* Include Object
58
-
*`excludeObject`
59
-
* Exclude Objects
55
+
* Object Type is identified by the expression with the specified set of brackets
60
56
61
57
62
58
63
59
### Sample of use
64
60
The next snippet is a sample of declaration of the pom
65
61
```xml
66
-
<plugin>
62
+
<plugin>
67
63
<groupId>org.utplsql</groupId>
68
64
<artifactId>utplsql-maven-plugin</artifactId>
69
65
<version>1.0.0-SNAPSHOT</version>
70
-
<goals>
71
-
<goal>test</goal>
72
-
</goals>
73
-
<configuration>
66
+
<goals>
67
+
<goal>test</goal>
68
+
</goals>
69
+
<configuration>
74
70
<dbUrl>url_of_connection</dbUrl>
75
71
<dbUser>user</dbUser>
76
72
<dbPass>password</dbPass>
77
-
<version>3.1.0</version>
78
73
<failOnErrors>false</failOnErrors>
79
74
<reporters>
80
75
<reporter>
@@ -109,6 +104,10 @@ The next snippet is a sample of declaration of the pom
109
104
</includes>
110
105
</test>
111
106
</tests>
112
-
</configuration>
113
-
</plugin>
107
+
</configuration>
108
+
</plugin>
114
109
```
110
+
111
+
More project samples are available in the src/test/resources directory :
112
+
* simple-project : minimalist test project with standard project directory structure
113
+
* regex-project : override project directory structure and use additional parameters (sourcesRegexExpression, testsRegexExpression, ...) to tell utPLSQL how the project files are to be mapped into database objects.
0 commit comments