Skip to content

Conversation

linghengqian
Copy link
Contributor

@linghengqian linghengqian commented Jul 22, 2025

<profile>
            <id>metadata-copy</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <version>3.5.3</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>integration-test</goal>
                                    <goal>verify</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.graalvm.buildtools</groupId>
                        <artifactId>native-maven-plugin</artifactId>
                        <version>0.11.0</version>
                        <extensions>true</extensions>
                        <executions>
                            <execution>
                                <id>merge-agent-files-in-integration-test</id>
                                <goals>
                                    <goal>merge-agent-files</goal>
                                </goals>
                                <phase>integration-test</phase>
                            </execution>
                             <execution>
                                    <id>metadata-copy-manually</id>
                                    <goals>
                                        <goal>metadata-copy</goal>
                                    </goals>
                                    <phase>deploy</phase>
                                </execution>
                        </executions>
                        <configuration>
                            <skipNativeTests>true</skipNativeTests>
                            <agent>
                                <enabled>true</enabled>
                                <defaultMode>Standard</defaultMode>
                                <metadataCopy>
                                    <disabledStages>
                                        <stage>main</stage>
                                    </disabledStages>
                                    <merge>false</merge>
                                </metadataCopy>
                            </agent>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

…l to simplify the use of integration tests
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 22, 2025
@linghengqian linghengqian marked this pull request as ready for review July 22, 2025 05:07
@dnestoro dnestoro requested a review from alvarosanchez July 29, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Run integration tests picked up by maven-failsafe-plugin in native mode
2 participants