Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2010-12-28 09:31:23 -0500
committerMilos Kleint2010-12-28 09:31:23 -0500
commitc9bf26e8bfbc614833a1fd6b201499edf585e06e (patch)
treef51c8525c53c9957cfd09878ca692ad35fe3fd29
parentde368af70aa11b14620da6704e6054c501d6b6aa (diff)
downloadm2e-core-c9bf26e8bfbc614833a1fd6b201499edf585e06e.tar.gz
m2e-core-c9bf26e8bfbc614833a1fd6b201499edf585e06e.tar.xz
m2e-core-c9bf26e8bfbc614833a1fd6b201499edf585e06e.zip
there's no point in showing the javadoc and source classifiers
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/ui/dialogs/AddDependencyDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/ui/dialogs/AddDependencyDialog.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/ui/dialogs/AddDependencyDialog.java
index 3f8334bf..2ca51b01 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/ui/dialogs/AddDependencyDialog.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/ui/dialogs/AddDependencyDialog.java
@@ -632,7 +632,7 @@ public class AddDependencyDialog extends AbstractMavenDialog {
// If not, the change getIndex(project) to getAllIndexes() and done
// TODO: cstamas identified this as "user input", true?
Map<String, IndexedArtifact> results = indexManager.getIndex(project).search(
- new UserInputSearchExpression(query), IIndex.SEARCH_ARTIFACT, IIndex.SEARCH_ALL);
+ new UserInputSearchExpression(query), IIndex.SEARCH_ARTIFACT, IIndex.SEARCH_JARS + IIndex.SEARCH_TESTS);
setResults(IStatus.OK, NLS.bind(Messages.AddDependencyDialog_searchDone, results.size()), results);
} catch(BooleanQuery.TooManyClauses exception) {
setResults(IStatus.ERROR, Messages.AddDependencyDialog_tooManyResults,

Back to the top