diff --git a/src/test/java/rife/bld/operations/TestPublishOperation.java b/src/test/java/rife/bld/operations/TestPublishOperation.java index 90a6437..205b0d2 100644 --- a/src/test/java/rife/bld/operations/TestPublishOperation.java +++ b/src/test/java/rife/bld/operations/TestPublishOperation.java @@ -53,7 +53,7 @@ static void deleteReposilite() static class PublishProject extends AppProjectBlueprint { public PublishProject(File work, String packageName, String projectName, VersionNumber versionNumber) { super(work, packageName, projectName, versionNumber); - javaRelease = 19; + javaRelease = 17; } } @@ -119,6 +119,8 @@ void testPopulation() { assertEquals(moment, operation3.moment()); assertTrue(operation3.artifacts().contains(artifact1)); assertTrue(operation3.artifacts().contains(artifact2)); + assertEquals(17, operation3.properties().mavenCompilerSource()); + assertEquals(19, operation3.properties().mavenCompilerTarget()); } @Test