|
89 | 89 | </pluginRepository>
|
90 | 90 | </pluginRepositories>
|
91 | 91 |
|
| 92 | + <parent> |
| 93 | + <groupId>com.google.cloud</groupId> |
| 94 | + <artifactId>native-image-shared-config</artifactId> |
| 95 | + <version>1.7.1</version> |
| 96 | + </parent> |
| 97 | + |
92 | 98 | <!--
|
93 | 99 | If you change the version of a dependency, make sure to update the javadoc
|
94 | 100 | links if required, and any javadoc links of your dependency in the oauth and
|
|
587 | 593 |
|
588 | 594 | <profiles>
|
589 | 595 | <profile>
|
590 |
| - <!-- This profile is used to enable GraalVM native image testing --> |
591 |
| - <id>native</id> |
592 |
| - <dependencies> |
593 |
| - <dependency> |
594 |
| - <groupId>org.junit.vintage</groupId> |
595 |
| - <artifactId>junit-vintage-engine</artifactId> |
596 |
| - <version>5.10.0</version> |
597 |
| - <scope>test</scope> |
598 |
| - </dependency> |
599 |
| - <dependency> |
600 |
| - <groupId>org.graalvm.buildtools</groupId> |
601 |
| - <artifactId>junit-platform-native</artifactId> |
602 |
| - <version>0.9.23</version> |
603 |
| - <scope>test</scope> |
604 |
| - </dependency> |
605 |
| - </dependencies> |
| 596 | + <id>native-tests</id> |
606 | 597 | <build>
|
607 | 598 | <plugins>
|
608 | 599 | <plugin>
|
609 | 600 | <groupId>org.apache.maven.plugins</groupId>
|
610 | 601 | <artifactId>maven-surefire-plugin</artifactId>
|
611 |
| - <!-- Must use older version of surefire plugin for native-image testing. --> |
612 |
| - <version>2.22.2</version> |
| 602 | + <version>${surefire.version}</version> |
613 | 603 | <configuration>
|
614 | 604 | <!-- Include all tests during native image testing. -->
|
615 |
| - <excludes combine.self="override"/> |
616 |
| - </configuration> |
617 |
| - </plugin> |
618 |
| - <plugin> |
619 |
| - <groupId>org.graalvm.buildtools</groupId> |
620 |
| - <artifactId>native-maven-plugin</artifactId> |
621 |
| - <version>0.9.23</version> |
622 |
| - <extensions>true</extensions> |
623 |
| - <executions> |
624 |
| - <execution> |
625 |
| - <id>test-native</id> |
626 |
| - <goals> |
627 |
| - <goal>test</goal> |
628 |
| - </goals> |
629 |
| - <phase>test</phase> |
630 |
| - </execution> |
631 |
| - </executions> |
632 |
| - <configuration> |
633 |
| - <buildArgs> |
634 |
| - <buildArg>--no-fallback</buildArg> |
635 |
| - <buildArg>--no-server</buildArg> |
636 |
| - </buildArgs> |
| 605 | + <includes combine.self="override"> |
| 606 | + <include>**/*Test</include> |
| 607 | + </includes> |
637 | 608 | </configuration>
|
638 | 609 | </plugin>
|
639 | 610 | </plugins>
|
640 | 611 | </build>
|
641 | 612 | </profile>
|
642 |
| - |
643 | 613 | <profile>
|
644 | 614 | <id>Windows</id>
|
645 | 615 | <activation>
|
|
0 commit comments