|
10 | 10 | <packaging>bundle</packaging> |
11 | 11 | <properties> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <jdk.version>1.8</jdk.version> |
14 | | - <jdk.version.test>1.8</jdk.version.test> |
| 13 | + <jdk.version>8</jdk.version> |
| 14 | + <jdk.version.test>17</jdk.version.test> |
15 | 15 | <!-- requires SQL Developer 4.1.0 or higher (first version based on JDK 1.8) --> |
16 | | - <sqldev.basedir>/Applications/SQLDeveloper21.4.2.app/Contents/Resources/sqldeveloper</sqldev.basedir> |
| 16 | + <!-- last version of SQL Developer that uses JDK 8 is 21.4.3 --> |
| 17 | + <sqldev.basedir>/Applications/SQLDeveloper21.4.3.app/Contents/Resources/sqldeveloper</sqldev.basedir> |
17 | 18 | <final.name>utplsql_for_SQLDev_${project.version}</final.name> |
18 | 19 | <!-- arguments to by added by jacoco plugin for test runs with coverage --> |
19 | 20 | <!-- -noverify is required in some environments to avoid java.lang.VerifyError --> |
|
206 | 207 | <!-- used mainly to access the database via JdbcTemplate --> |
207 | 208 | <groupId>org.springframework</groupId> |
208 | 209 | <artifactId>spring-jdbc</artifactId> |
209 | | - <version>5.3.16</version> |
| 210 | + <version>5.3.22</version> |
210 | 211 | </dependency> |
211 | 212 | <dependency> |
212 | 213 | <!-- transitive reference, but IntelliJ wants to have it explicit (to avoid warnings) --> |
213 | 214 | <groupId>org.springframework</groupId> |
214 | 215 | <artifactId>spring-core</artifactId> |
215 | | - <version>5.3.20</version> |
| 216 | + <version>5.3.22</version> |
216 | 217 | </dependency> |
217 | 218 | <dependency> |
218 | 219 | <!-- used for HtmlUtils.htmlEscape in RunnerPanel --> |
219 | 220 | <groupId>org.springframework</groupId> |
220 | 221 | <artifactId>spring-web</artifactId> |
221 | | - <version>5.3.16</version> |
| 222 | + <version>5.3.22</version> |
222 | 223 | </dependency> |
223 | 224 | <dependency> |
224 | 225 | <!-- optional, for RunGenerator and TestGenerator --> |
|
256 | 257 | <plugins> |
257 | 258 | <plugin> |
258 | 259 | <groupId>org.apache.maven.plugins</groupId> |
259 | | - <version>3.10.0</version> |
| 260 | + <version>3.10.1</version> |
260 | 261 | <artifactId>maven-compiler-plugin</artifactId> |
261 | 262 | <configuration> |
262 | 263 | <source>${jdk.version}</source> |
|
316 | 317 | <plugin> |
317 | 318 | <groupId>org.apache.maven.plugins</groupId> |
318 | 319 | <artifactId>maven-antrun-plugin</artifactId> |
319 | | - <version>3.0.0</version><!--$NO-MVN-MAN-VER$--> |
| 320 | + <version>3.1.0</version><!--$NO-MVN-MAN-VER$--> |
320 | 321 | <executions> |
321 | 322 | <execution> |
322 | 323 | <phase>prepare-package</phase> |
|
337 | 338 | <plugin> |
338 | 339 | <groupId>org.codehaus.mojo</groupId> |
339 | 340 | <artifactId>properties-maven-plugin</artifactId> |
340 | | - <version>1.0.0</version> |
| 341 | + <version>1.1.0</version> |
341 | 342 | <executions> |
342 | 343 | <execution> |
343 | 344 | <phase>initialize</phase> |
|
357 | 358 | <plugin> |
358 | 359 | <groupId>org.codehaus.mojo</groupId> |
359 | 360 | <artifactId>build-helper-maven-plugin</artifactId> |
360 | | - <version>3.1.0</version> |
| 361 | + <version>3.3.0</version> |
361 | 362 | <executions> |
362 | 363 | <execution> |
363 | 364 | <id>parse-version</id> |
|
427 | 428 | <!-- - Error:osgi: [org.utplsql.sqldev] Invalid value for Bundle-Version, ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} does not match \d{1,9}(\.\d{1,9}(\.\d{1,9}(\.[-\w]+)?)?)? --> |
428 | 429 | <groupId>org.apache.felix</groupId> |
429 | 430 | <artifactId>maven-bundle-plugin</artifactId> |
430 | | - <version>4.2.1</version> |
| 431 | + <version>5.1.7</version> <!-- Classes found in the wrong director warning with 5.1.7, TODO: find solution to remove it --> |
431 | 432 | <extensions>true</extensions> |
432 | 433 | <configuration> |
433 | 434 | <finalName>${project.name}</finalName> |
|
497 | 498 | </plugin> |
498 | 499 | <plugin> |
499 | 500 | <artifactId>maven-assembly-plugin</artifactId> |
500 | | - <version>3.3.0</version><!--$NO-MVN-MAN-VER$--> |
| 501 | + <version>3.4.1</version><!--$NO-MVN-MAN-VER$--> |
501 | 502 | <configuration> |
502 | 503 | <finalName>${final.name}</finalName> |
503 | 504 | <appendAssemblyId>false</appendAssemblyId> |
|
519 | 520 | <plugin> |
520 | 521 | <groupId>net.nicoulaj.maven.plugins</groupId> |
521 | 522 | <artifactId>checksum-maven-plugin</artifactId> |
522 | | - <version>1.9</version> |
| 523 | + <version>1.11</version> |
523 | 524 | <executions> |
524 | 525 | <execution> |
525 | 526 | <id>calculate-checksums</id> |
|
533 | 534 | <plugin> |
534 | 535 | <groupId>org.jacoco</groupId> |
535 | 536 | <artifactId>jacoco-maven-plugin</artifactId> |
536 | | - <version>0.8.5</version> |
| 537 | + <version>0.8.8</version> |
537 | 538 | <executions> |
538 | 539 | <execution> |
539 | 540 | <goals> |
|
645 | 646 | <tag>master</tag> |
646 | 647 | <url>https://github.com/utPLSQL/utPLSQL-SQLDeveloper</url> |
647 | 648 | </scm> |
| 649 | + |
| 650 | + <!-- Profiles as workaround for https://youtrack.jetbrains.com/issue/IDEA-85478 as described in --> |
| 651 | + <!-- https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009767720-I-want-to-run-tests-with-different-java-version-than-my-source-java-version --> |
| 652 | + <profiles> |
| 653 | + <profile> |
| 654 | + <id>default</id> |
| 655 | + <activation> |
| 656 | + <activeByDefault>true</activeByDefault> |
| 657 | + </activation> |
| 658 | + <build> |
| 659 | + <plugins> |
| 660 | + <plugin> |
| 661 | + <groupId>org.apache.maven.plugins</groupId> |
| 662 | + <version>3.10.1</version> |
| 663 | + <artifactId>maven-compiler-plugin</artifactId> |
| 664 | + <configuration> |
| 665 | + <!-- different Java version for main and test --> |
| 666 | + <!-- works with Maven builder from IDE or command line --> |
| 667 | + <release>${jdk.version}</release> |
| 668 | + <testRelease>${jdk.test.version}</testRelease> |
| 669 | + </configuration> |
| 670 | + </plugin> |
| 671 | + </plugins> |
| 672 | + </build> |
| 673 | + </profile> |
| 674 | + <profile> |
| 675 | + <id>idea</id> |
| 676 | + <activation> |
| 677 | + <activeByDefault>false</activeByDefault> |
| 678 | + <property> |
| 679 | + <name>idea.maven.embedder.version</name> |
| 680 | + </property> |
| 681 | + </activation> |
| 682 | + <build> |
| 683 | + <plugins> |
| 684 | + <plugin> |
| 685 | + <groupId>org.apache.maven.plugins</groupId> |
| 686 | + <version>3.10.1</version> |
| 687 | + <artifactId>maven-compiler-plugin</artifactId> |
| 688 | + <configuration> |
| 689 | + <!-- IDEA requires same Java version for main and test --> |
| 690 | + <!-- see https://youtrack.jetbrains.com/issue/IDEA-85478 --> |
| 691 | + <release>${jdk.test.version}</release> |
| 692 | + <testRelease>${jdk.test.version}</testRelease> |
| 693 | + </configuration> |
| 694 | + </plugin> |
| 695 | + </plugins> |
| 696 | + </build> |
| 697 | + </profile> |
| 698 | + </profiles> |
648 | 699 | </project> |
0 commit comments