static boolean isVespaParent(String groupId) {
        return groupId.matches("(com\\.yahoo\\.vespa|ai\\.vespa)(\\..+)?");
    }
@Test
    public void testRegex() {
        assertTrue(ApplicationMojo.isVespaParent("ai.vespa"));
        assertTrue(ApplicationMojo.isVespaParent("ai.vespa.hosted"));
        assertTrue(ApplicationMojo.isVespaParent("com.yahoo.vespa"));
        assertTrue(ApplicationMojo.isVespaParent("com.yahoo.vespa.hosted"));

        assertFalse(ApplicationMojo.isVespaParent("ai"));
        assertFalse(ApplicationMojo.isVespaParent("ai.vespa."));
        assertFalse(ApplicationMojo.isVespaParent("ai.vespaxxx."));
        assertFalse(ApplicationMojo.isVespaParent("com.yahoo"));
        assertFalse(ApplicationMojo.isVespaParent("com.yahoo.vespa."));
        assertFalse(ApplicationMojo.isVespaParent("com.yahoo.vespaxxx"));
    }