code: public String getSettingsForArtifact( String fullSettings, String groupId, String artifactId )
      {
          if( fullSettings != null )
          {
              for( String token : fullSettings.split( "," ) )
              {
                  int end = ( token.indexOf( "@" ) >= 0 ) ? token.indexOf( "@" ) : token.length();
                  String ga_part[] = token.substring( 0, end ).split( ":" );
                  if( ga_part[ 0 ].equals( groupId ) && ga_part[ 1 ].equals( artifactId ) )
                  {
                      return token.substring( end );
                  }
  
              }
          }
          return "";
      }
docs: Example:
  getSettingsForArtifact ( "foo:bar@1,chees:ham2@3@nostart","cheese","ham") --> @3@nostart
  
  @param fullSettings settings separated by comma. GA patter + @options
  @param groupId      GA part groupId to be matched inside fulllSettings
  @param artifactId   GA part artifactId to be matched inside fulllSettings
  
  @return option portion of matched part in fullSettings or empty string if no matching.