private String getShortenedGroupId( String groupId )
    {
        final String[] parts = groupId.split( "\\." );
        final StringBuilder sb = new StringBuilder();
        for ( final String part : parts )
        {
            sb.append( part.charAt( 0 ) );
        }
        return sb.toString();
    }
private String getShortenedGroupId ( String groupId ) { final String [ ] parts = groupId . split ( "\\." ) ; final StringBuilder sb = new StringBuilder ( ) ; for ( final String part : parts ) { sb . append ( part . charAt ( 0 ) ) ; } return sb . toString ( ) ; }
@param groupId   An a dot separated groupId (eg org.apache.maven)
@return A shortened (and potentially non-unique) version of the groupId, that consists of the first letter
of each part of the groupId. Eg oam for org.apache.maven