Fix internal plugin to correctly compute class-path.

The issue came from swt projects referencing base projects.

The file of the dependency jars would not match the -<version>.jar
suffix since the local version would be -22.0-SNAPSHOT.jar while
the dependency would have the SNAPSHOT value replaced by an actual
value since the dependency came through a Maven repo.

This looks at the dependency first through the list of resolved
artifact to more easily detect local dependencies, and then
through the normal way to handle unresolved (ie local) dependencies.

Change-Id: I74a1687a90a8b5bde0a2479c9cfbaab9a08396f7
1 file changed