Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FUSETOOLS-3655 - Provide property for additional exports for JDK 17 #332

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<platformSystemProperties></platformSystemProperties>
<applejdkProperties></applejdkProperties>
<moduleProperties></moduleProperties>
<exportProperties></exportProperties>
<maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
<update.site.name>JBoss Tools - ${project.artifactId}</update.site.name>
<!-- In the update site's site/pom.xml (that calls jbosstools-maven-plugins/tycho-plugins/repository-utils)
Expand Down Expand Up @@ -277,7 +278,7 @@ hs_err_pid*.log</jgit.ignore>
<useUIThread>true</useUIThread>
<!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING -->
<!-- tycho.testArgLine repeated to keep jacoco configuration for jacoco-maven-plugin -->
<argLine>${tycho.testArgLine} ${memoryOptions1} ${memoryOptions2} ${applejdkProperties} ${platformSystemProperties} ${systemProperties} ${moduleProperties} -Dusage_reporting_enabled=false -Dorg.jboss.tools.tests.skipPrivateRequirements=${skipPrivateRequirements} -Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true</argLine>
<argLine>${tycho.testArgLine} ${memoryOptions1} ${memoryOptions2} ${applejdkProperties} ${platformSystemProperties} ${systemProperties} ${moduleProperties} ${exportProperties} -Dusage_reporting_enabled=false -Dorg.jboss.tools.tests.skipPrivateRequirements=${skipPrivateRequirements} -Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true</argLine>
<!-- https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho -->
<!-- set useUIThread=true for regular ui tests -->
<!-- set useUIThread=false for swtbot tests -->
Expand Down Expand Up @@ -909,6 +910,19 @@ hs_err_pid*.log</jgit.ignore>
</properties>
</profile>

<profile>
<id>jdk17</id>
<activation>
<jdk>[17</jdk>
</activation>
<properties>
<jdeps-jdk-version>17</jdeps-jdk-version>
<jdeps-jdk-vendor>openjdk</jdeps-jdk-vendor>
<moduleProperties>--add-modules=ALL-SYSTEM</moduleProperties>
<exportProperties>--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED</exportProperties>
</properties>
</profile>

<profile>
<id>jdeps</id>
<build>
Expand Down