@Override
  public boolean isWarProject() {
    String packaging = project.getPackaging();
    return "war".equals(packaging) || "gwt-app".equals(packaging);
  }
@Test
  public void testIsWarProject_warPackagingIsWar() {
    when(mockMavenProject.getPackaging()).thenReturn("war");
    assertThat(mavenProjectProperties.isWarProject()).isTrue();
  }