|
5 | 5 | <!-- The Basics --> |
6 | 6 | <groupId>org.utplsql</groupId> |
7 | 7 | <artifactId>org.utplsql.sqldev</artifactId> |
8 | | - <version>1.1.2-SNAPSHOT</version> |
| 8 | + <version>1.2.0-SNAPSHOT</version> |
9 | 9 | <packaging>bundle</packaging> |
10 | 10 | <properties> |
11 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
12 | 12 | <jdk.version>1.8</jdk.version> |
13 | 13 | <jdk.version.test>1.8</jdk.version.test> |
14 | | - <xtend.version>2.20.0</xtend.version> |
15 | 14 | <!-- requires SQL Developer 4.1.0 or higher (first version based on JDK 1.8) --> |
16 | 15 | <sqldev.basedir>/Applications/SQLDeveloper19.4.0.app/Contents/Resources/sqldeveloper</sqldev.basedir> |
17 | 16 | <final.name>utplsql_for_SQLDev_${project.version}</final.name> |
| 17 | + <!-- arguments to by added by jacoco plugin for test runs with coverage --> |
| 18 | + <!-- -noverify is required in some environments to avoid java.lang.VerifyError --> |
| 19 | + <argLine>-noverify -Djava.util.logging.config.file=${project.basedir}/src/test/resources/logging.conf</argLine> |
18 | 20 | </properties> |
19 | 21 | <dependencies> |
20 | | - <!-- SQL Developer specific dependencies part 1 (not available in public maven repositories) --> |
| 22 | + <!-- SQL Developer specific dependencies part 1 (not available in public Maven repositories) --> |
| 23 | + <!-- Versions of scope system are based on SQL Developer 19.4.0. --> |
| 24 | + <!-- The actual version is not that important, since the these libraries are provided. --> |
| 25 | + <!-- Therefore it is not planned to update them with every change of sqldev.basedir. --> |
21 | 26 | <dependency> |
22 | 27 | <groupId>oracle</groupId> |
23 | 28 | <artifactId>idert</artifactId> |
24 | | - <version>12.2.0</version> |
| 29 | + <version>13.0.0</version> |
25 | 30 | <scope>system</scope> |
26 | 31 | <systemPath>${sqldev.basedir}/ide/lib/idert.jar</systemPath> |
27 | 32 | </dependency> |
28 | 33 | <dependency> |
29 | 34 | <groupId>oracle</groupId> |
30 | 35 | <artifactId>javatools-nodeps</artifactId> |
31 | | - <version>12.2.0</version> |
| 36 | + <version>13.0.0</version> |
32 | 37 | <scope>system</scope> |
33 | 38 | <systemPath>${sqldev.basedir}/modules/oracle.javatools/javatools-nodeps.jar</systemPath> |
34 | 39 | </dependency> |
35 | 40 | <dependency> |
36 | 41 | <groupId>oracle</groupId> |
37 | 42 | <artifactId>javatools</artifactId> |
38 | | - <version>12.2.0</version> |
| 43 | + <version>13.0.0</version> |
39 | 44 | <scope>system</scope> |
40 | 45 | <systemPath>${sqldev.basedir}/ide/lib/javatools.jar</systemPath> |
41 | 46 | </dependency> |
42 | 47 | <dependency> |
43 | 48 | <groupId>oracle</groupId> |
44 | 49 | <artifactId>oracle.ide.ceditor</artifactId> |
45 | | - <version>12.2.0</version> |
| 50 | + <version>13.0.0</version> |
46 | 51 | <scope>system</scope> |
47 | 52 | <systemPath>${sqldev.basedir}/ide/extensions/oracle.ide.ceditor.jar</systemPath> |
48 | 53 | </dependency> |
49 | 54 | <dependency> |
50 | 55 | <groupId>oracle</groupId> |
51 | 56 | <artifactId>oracle.ide</artifactId> |
52 | | - <version>12.2.0</version> |
| 57 | + <version>13.0.0</version> |
53 | 58 | <scope>system</scope> |
54 | 59 | <systemPath>${sqldev.basedir}/ide/extensions/oracle.ide.jar</systemPath> |
55 | 60 | </dependency> |
56 | 61 | <dependency> |
57 | 62 | <groupId>oracle</groupId> |
58 | 63 | <artifactId>uic</artifactId> |
59 | | - <version>12.2.2</version> |
| 64 | + <version>13.0.0</version> |
60 | 65 | <scope>system</scope> |
61 | 66 | <systemPath>${sqldev.basedir}/ide/lib/uic.jar</systemPath> |
62 | 67 | </dependency> |
63 | 68 | <dependency> |
64 | 69 | <groupId>oracle</groupId> |
65 | 70 | <artifactId>oracle.ide.navigator</artifactId> |
66 | | - <version>12.2.0</version> |
| 71 | + <version>13.0.0</version> |
67 | 72 | <scope>system</scope> |
68 | 73 | <systemPath>${sqldev.basedir}/ide/extensions/oracle.ide.navigator.jar</systemPath> |
69 | 74 | </dependency> |
70 | 75 | <dependency> |
71 | 76 | <groupId>oracle</groupId> |
72 | 77 | <artifactId>javax-ide</artifactId> |
73 | | - <version>12.2.0</version> |
| 78 | + <version>13.0.0</version> |
74 | 79 | <scope>system</scope> |
75 | 80 | <systemPath>${sqldev.basedir}/ide/lib/javax-ide.jar</systemPath> |
76 | 81 | </dependency> |
77 | 82 | <dependency> |
78 | 83 | <groupId>oracle</groupId> |
79 | 84 | <artifactId>oracle.dbtools-common</artifactId> |
80 | | - <version>12.2.0</version> |
| 85 | + <version>19.4.0</version> |
81 | 86 | <scope>system</scope> |
82 | 87 | <systemPath>${sqldev.basedir}/sqldeveloper/lib/dbtools-common.jar</systemPath> |
83 | 88 | </dependency> |
84 | 89 | <dependency> |
85 | 90 | <groupId>oracle</groupId> |
86 | 91 | <artifactId>oracle.sqldeveloper</artifactId> |
87 | | - <version>12.2.0</version> |
| 92 | + <version>19.3.0</version> |
88 | 93 | <scope>system</scope> |
89 | 94 | <systemPath>${sqldev.basedir}/sqldeveloper/extensions/oracle.sqldeveloper.jar</systemPath> |
90 | 95 | </dependency> |
91 | 96 | <dependency> |
92 | 97 | <groupId>oracle</groupId> |
93 | 98 | <artifactId>oracle.sqldeveloper.utils</artifactId> |
94 | | - <version>12.2.0</version> |
| 99 | + <version>19.3.0</version> |
95 | 100 | <scope>system</scope> |
96 | 101 | <systemPath>${sqldev.basedir}/sqldeveloper/extensions/oracle.sqldeveloper.utils.jar</systemPath> |
97 | 102 | </dependency> |
98 | 103 | <dependency> |
99 | 104 | <groupId>oracle</groupId> |
100 | 105 | <artifactId>oracle.sqldeveloper.worksheet</artifactId> |
101 | | - <version>12.2.0</version> |
| 106 | + <version>19.3.0</version> |
102 | 107 | <scope>system</scope> |
103 | 108 | <systemPath>${sqldev.basedir}/sqldeveloper/extensions/oracle.sqldeveloper.worksheet.jar</systemPath> |
104 | 109 | </dependency> |
105 | 110 | <dependency> |
106 | 111 | <groupId>oracle</groupId> |
107 | 112 | <artifactId>ojdbc8</artifactId> |
108 | | - <version>12.2.0.1.0</version> |
| 113 | + <version>19.3.0</version> |
109 | 114 | <scope>system</scope> |
110 | 115 | <systemPath>${sqldev.basedir}/jdbc/lib/ojdbc8.jar</systemPath> |
111 | 116 | </dependency> |
112 | 117 | <dependency> |
113 | 118 | <groupId>oracle</groupId> |
114 | 119 | <artifactId>dbapi</artifactId> |
115 | | - <version>12.2.1</version> |
| 120 | + <version>19.3.0</version> |
116 | 121 | <scope>system</scope> |
117 | 122 | <systemPath>${sqldev.basedir}/ide/lib/dbapi.jar</systemPath> |
118 | 123 | </dependency> |
119 | 124 | <dependency> |
120 | 125 | <groupId>oracle</groupId> |
121 | 126 | <artifactId>oracle.ide.db</artifactId> |
122 | | - <version>12.2.1</version> |
| 127 | + <version>19.3.0</version> |
123 | 128 | <scope>system</scope> |
124 | 129 | <systemPath>${sqldev.basedir}/ide/extensions/oracle.ide.db.jar</systemPath> |
125 | 130 | </dependency> |
126 | 131 | <dependency> |
127 | 132 | <groupId>oracle</groupId> |
128 | 133 | <artifactId>oracle.jdeveloper.db.connection</artifactId> |
129 | | - <version>12.2.1</version> |
| 134 | + <version>19.3.0</version> |
130 | 135 | <scope>system</scope> |
131 | 136 | <systemPath>${sqldev.basedir}/jdev/extensions/oracle.jdeveloper.db.connection.jar</systemPath> |
132 | 137 | </dependency> |
133 | 138 | <dependency> |
134 | 139 | <groupId>oracle</groupId> |
135 | 140 | <artifactId>oracle.jdeveloper.java.core.jar</artifactId> |
136 | | - <version>12.2.1</version> |
| 141 | + <version>13.0.0</version> |
137 | 142 | <scope>system</scope> |
138 | 143 | <systemPath>${sqldev.basedir}/jdev/extensions/oracle.jdeveloper.java.core.jar</systemPath> |
139 | 144 | </dependency> |
140 | 145 | <!-- SQL Developer specific dependencies part 2 (used for tests only) --> |
141 | 146 | <dependency> |
142 | 147 | <groupId>oracle</groupId> |
143 | 148 | <artifactId>jewt4.jar</artifactId> |
144 | | - <version>12.2.1</version> |
| 149 | + <version>13.0.0</version> |
145 | 150 | <scope>system</scope> |
146 | 151 | <systemPath>${sqldev.basedir}/modules/oracle.bali.jewt/jewt4.jar</systemPath> |
147 | 152 | </dependency> |
148 | 153 | <dependency> |
149 | 154 | <groupId>oracle</groupId> |
150 | 155 | <artifactId>share.jar</artifactId> |
151 | | - <version>12.2.1</version> |
| 156 | + <version>13.0.0</version> |
152 | 157 | <scope>system</scope> |
153 | 158 | <systemPath>${sqldev.basedir}/modules/oracle.bali.share/share.jar</systemPath> |
154 | 159 | </dependency> |
|
162 | 167 | </dependency> |
163 | 168 | <!-- other dependencies --> |
164 | 169 | <dependency> |
165 | | - <!-- Xtend comes with some runtime dependencies... --> |
166 | | - <groupId>org.eclipse.xtend</groupId> |
167 | | - <artifactId>org.eclipse.xtend.lib</artifactId> |
168 | | - <version>${xtend.version}</version> |
169 | | - </dependency> |
170 | | - <dependency> |
| 170 | + <!-- used mainly to access the database via JdbcTemplate --> |
171 | 171 | <groupId>org.springframework</groupId> |
172 | 172 | <artifactId>spring-jdbc</artifactId> |
173 | | - <version>5.2.4.RELEASE</version> |
| 173 | + <version>5.2.6.RELEASE</version> |
174 | 174 | </dependency> |
175 | 175 | <dependency> |
| 176 | + <!-- used for HtmlUtils.htmlEscape in RunnerPanel --> |
176 | 177 | <groupId>org.springframework</groupId> |
177 | 178 | <artifactId>spring-web</artifactId> |
178 | | - <version>5.2.4.RELEASE</version> |
| 179 | + <version>5.2.6.RELEASE</version> |
179 | 180 | </dependency> |
180 | 181 | <dependency> |
| 182 | + <!-- optional, for RunGenerator and TestGenerator --> |
181 | 183 | <groupId>org.oddgen</groupId> |
182 | 184 | <artifactId>org.oddgen.sqldev</artifactId> |
183 | 185 | <version>0.3.1</version> |
|
204 | 206 | </resource> |
205 | 207 | </resources> |
206 | 208 | <plugins> |
207 | | - <plugin> |
208 | | - <groupId>org.eclipse.xtend</groupId> |
209 | | - <artifactId>xtend-maven-plugin</artifactId> |
210 | | - <!-- change version might need "mvn -U" to update snapshots --> |
211 | | - <version>${xtend.version}</version> |
212 | | - <executions> |
213 | | - <execution> |
214 | | - <id>main</id> |
215 | | - <goals> |
216 | | - <goal>compile</goal> |
217 | | - </goals> |
218 | | - <configuration> |
219 | | - <javaSourceVersion>${jdk.version}</javaSourceVersion> |
220 | | - <outputDirectory>${project.basedir}/src/main/xtend-gen</outputDirectory> |
221 | | - </configuration> |
222 | | - </execution> |
223 | | - <execution> |
224 | | - <id>test</id> |
225 | | - <goals> |
226 | | - <goal>testCompile</goal> |
227 | | - </goals> |
228 | | - <configuration> |
229 | | - <javaSourceVersion>${jdk.version.test}</javaSourceVersion> |
230 | | - <testOutputDirectory>${project.basedir}/src/test/xtend-gen</testOutputDirectory> |
231 | | - </configuration> |
232 | | - </execution> |
233 | | - </executions> |
234 | | - </plugin> |
235 | 209 | <plugin> |
236 | 210 | <groupId>org.apache.maven.plugins</groupId> |
237 | 211 | <version>3.8.1</version> |
|
266 | 240 | <artifactId>maven-surefire-plugin</artifactId> |
267 | 241 | <version>2.22.2</version> |
268 | 242 | <configuration> |
269 | | - <!-- -noverify is required in some environments to avoid java.lang.VerifyError --> |
270 | | - <argLine>-noverify |
271 | | - -Djava.util.logging.config.file=${project.basedir}/src/test/resources/logging.conf</argLine> |
| 243 | + <!-- argline moved to properties, to make it work with jacoco plugin --> |
272 | 244 | <includes> |
273 | 245 | <include>**/*.java</include> |
274 | 246 | </includes> |
|
296 | 268 | <plugin> |
297 | 269 | <groupId>org.apache.maven.plugins</groupId> |
298 | 270 | <artifactId>maven-antrun-plugin</artifactId> |
299 | | - <version>1.8</version><!--$NO-MVN-MAN-VER$--> |
| 271 | + <version>3.0.0</version><!--$NO-MVN-MAN-VER$--> |
300 | 272 | <executions> |
301 | 273 | <execution> |
302 | 274 | <phase>prepare-package</phase> |
|
424 | 396 | org.utplsql.sqldev.resources |
425 | 397 | </Export-Package> |
426 | 398 | <_exportcontents> |
427 | | - org.eclipse.xtext.xbase.lib, |
428 | 399 | org.aspectj.runtime.internal, |
429 | 400 | org.aspectj.lang, |
430 | 401 | org.aspectj.runtime, |
431 | 402 | org.aspectj.lang.reflect |
432 | 403 | </_exportcontents> |
433 | 404 | <Require-Bundle> |
| 405 | + oracle.javatools, |
434 | 406 | oracle.javatools-nodeps, |
435 | 407 | oracle.jdeveloper.db.connection, |
436 | 408 | oracle.idert, |
|
450 | 422 | </plugin> |
451 | 423 | <plugin> |
452 | 424 | <artifactId>maven-assembly-plugin</artifactId> |
453 | | - <version>3.2.0</version><!--$NO-MVN-MAN-VER$--> |
| 425 | + <version>3.3.0</version><!--$NO-MVN-MAN-VER$--> |
454 | 426 | <configuration> |
455 | 427 | <finalName>${final.name}</finalName> |
456 | 428 | <appendAssemblyId>false</appendAssemblyId> |
|
472 | 444 | <plugin> |
473 | 445 | <groupId>net.nicoulaj.maven.plugins</groupId> |
474 | 446 | <artifactId>checksum-maven-plugin</artifactId> |
475 | | - <version>1.8</version> |
| 447 | + <version>1.9</version> |
476 | 448 | <executions> |
477 | 449 | <execution> |
478 | 450 | <id>calculate-checksums</id> |
|
483 | 455 | </execution> |
484 | 456 | </executions> |
485 | 457 | </plugin> |
| 458 | + <plugin> |
| 459 | + <groupId>org.jacoco</groupId> |
| 460 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 461 | + <version>0.8.5</version> |
| 462 | + <executions> |
| 463 | + <execution> |
| 464 | + <goals> |
| 465 | + <goal>prepare-agent</goal> |
| 466 | + </goals> |
| 467 | + </execution> |
| 468 | + <execution> |
| 469 | + <id>report</id> |
| 470 | + <phase>prepare-package</phase> |
| 471 | + <goals> |
| 472 | + <goal>report</goal> |
| 473 | + </goals> |
| 474 | + </execution> |
| 475 | + </executions> |
| 476 | + </plugin> |
486 | 477 | </plugins> |
487 | 478 | <pluginManagement> |
488 | 479 | <plugins> |
489 | 480 | <plugin> |
| 481 | + <!-- Dummy plugin used in Eclipse IDE only --> |
490 | 482 | <groupId>org.eclipse.m2e</groupId> |
491 | 483 | <artifactId>lifecycle-mapping</artifactId> |
492 | 484 | <version>1.0.0</version> |
|
497 | 489 | <pluginExecutionFilter> |
498 | 490 | <groupId>org.apache.maven.plugins</groupId> |
499 | 491 | <artifactId>maven-dependency-plugin</artifactId> |
500 | | - <versionRange>[3.1.1,)</versionRange> |
| 492 | + <versionRange>[3.1.2,)</versionRange> |
501 | 493 | <goals> |
502 | 494 | <goal>copy-dependencies</goal> |
503 | 495 | </goals> |
|
515 | 507 | build-helper-maven-plugin |
516 | 508 | </artifactId> |
517 | 509 | <versionRange> |
518 | | - [3.0.0,) |
| 510 | + [3.1.0,) |
519 | 511 | </versionRange> |
520 | 512 | <goals> |
521 | 513 | <goal>parse-version</goal> |
|
0 commit comments