We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553f3d0 commit d8121b9Copy full SHA for d8121b9
src/main/java/org/scijava/maven/plugin/EclipseHelperMojo.java
@@ -135,7 +135,14 @@ public void execute() throws MojoExecutionException {
135
* @return true iff the project depends on <code>scijava-common</code>
136
*/
137
private boolean dependsOnScijavaCommon(final MavenProject project) {
138
- final List<Dependency> dependencies = project.getCompileDependencies();
+ final List<Dependency> dependencies;
139
+ try {
140
+ dependencies = project.getCompileDependencies();
141
+ }
142
+ catch (final Exception e) {
143
+ getLog().debug(e);
144
+ return false;
145
146
if (dependencies == null) return false;
147
148
for (final Dependency dependency : dependencies) {
0 commit comments