Should this be working with Artifacts? That way, this method could be in ArtifactType.
> /**
> - * Currently this is just jars.
> + * Jars and ejbs.
> *
> * @param d
> * @return true if the given dependency belongs on the
> classpath
> */
> private boolean isClasspathDependency(Dependency d)
> {
> - return d.getType().equals( "jar" );
> + return d.getType().equals( "jar" ) ||
> d.getType().equals( "ejb" );
> }
Cheers,
Brett
