Skip to content

Maven tweaks for usability#4039

Draft
headius wants to merge 3 commits intoruby:mainfrom
headius:maven_tweaks
Draft

Maven tweaks for usability#4039
headius wants to merge 3 commits intoruby:mainfrom
headius:maven_tweaks

Conversation

@headius
Copy link
Contributor

@headius headius commented Mar 24, 2026

Based on review comments from #4031 I've made a few additional tweaks.

  • Template sources are now generated into src/main/java-templates so they are not deleted by mvn clean.
  • The WASM build is generated to src/main/wasm since it is an input to the build (and not a test resource as before).
  • The build-java-truffleruby GHA job now uploads a copy of the generated sources for TruffleRuby, to make it easier to copy.

headius added 3 commits March 24, 2026 11:37
This path avoids the sources getting wiped out during `mvn clean`,
since they are not generated during the maven build.

This patch also moves the generated WASM build under src/main/wasm
since it is really a source file and not a test file. It will not
be included in the built artifact.
@headius
Copy link
Contributor Author

headius commented Mar 24, 2026

The archive of the sources generated specifically for TruffleRuby could be moved to a separate job if that would be cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant