Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.5
-
None
-
None
Description
Because all our projects are PDE projects, we don't need want all the JARs copied locally and added to the classpath.
Because there is no option to stop them being added to .classpath apart from adding a lot of excludes, we have a subclass of EclipsePlugin that does a similar tihng to the M2EclipsePlugin
protected void setupExtras() throws MojoExecutionException {
if (isPdeProject())
}
However, it we could set a flag to stop dependency resolution, we would not need to maintain our own plugin. i.e. add the parameter javadoc.
/**
- Flag for mojo implementations to control whether normal maven dependencies should be resolved. Default value is
- true.
* - @parameter expression="${eclipse.resolveDependencies}" default-value="true"
*/
private boolean resolveDependencies = true;