@Test
  public void testGetSpringBootRepackageConfiguration_noExecutions() {
    when(mockMavenProject.getPlugin("org.springframework.boot:spring-boot-maven-plugin"))
        .thenReturn(mockPlugin);
    when(mockPlugin.getExecutions()).thenReturn(Collections.emptyList());
    assertThat(mavenProjectProperties.getSpringBootRepackageConfiguration()).isEmpty();
  }
Helper for reading back layers in a {@link BuildContext}.
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java