Skip to content

Commit de2f1c3

Browse files
Migrate VM projects to Maven (JDK 1.5 Target)
- Created Maven POM files for `vm` (parent), `ByteCodeTranslator`, `JavaAPI`, and `tests`. - Configured parent POM to use `maven-compiler-plugin` with source/target 1.5 and ASM 5.0.3, strictly preserving legacy semantics. - Updated `vm/tests/pom.xml` to use source/target 1.8 for test execution (JUnit 5 support) while testing JDK 1.5 artifacts. - Added `maven-antrun-plugin` to `ByteCodeTranslator` and `JavaAPI` to copy generated JARs to the legacy `dist/` directory for backward compatibility with external scripts. - Updated `.github/workflows/pr.yml` to replace Ant build commands with Maven commands for VM projects and updated artifact paths to `target/`. - Updated `.github/workflows/parparvm-tests.yml` to run Maven from the `vm` directory (reactor root) to correctly resolve module dependencies. - Reverted test source modifications to ensure no Java source files are changed.
1 parent b994961 commit de2f1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/parparvm-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
sudo apt-get install -y clang
3636
3737
- name: Run ParparVM JVM tests
38-
working-directory: vm/tests
38+
working-directory: vm
3939
run: mvn -B test
4040

4141
- name: Publish ByteCodeTranslator quality previews

0 commit comments

Comments
 (0)