// TODO: add a smarter mechanism which can handle 1 or 2 values CSVs
for ( int i = 0; i < artifactId.length; i++ ) {
artifactId[i] = StringUtils.trimWhitespace( artifactId[i] );
}
if ( m_EclipseArtifactLocator == null ) m_EclipseArtifactLocator = new EclipseWorkspaceArtifactLocator();
result = (artifactId.length == 3 ? m_EclipseArtifactLocator.locateArtifact( artifactId[0],
artifactId[1],
artifactId[2] ) : m_EclipseArtifactLocator.locateArtifact( artifactId[0],
artifactId[1],