This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256536

Summary: Search for MAVEN artifacts outside of MAVEN project
Product: projects Reporter: NukemBy
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WORKSFORME    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description NukemBy 2015-11-12 06:24:40 UTC
Netbeans makes and excellent job of indexing of MAVEN repositories and allowing to search quickly for artifacts, though MAVEN artifacts are used not only in MAVEN projects and it would be nice to have ability to get used of Netbeans' MAVEN index generally.

My current point of interest is Gradle projects, support for them is added via 3rd party plugin: http://plugins.netbeans.org/plugin/44510. Gradle can use MAVEN repos to ingest dependencies in build scripts, but it is not possible to search for them in Netbeans - i have to use leeengty searches over WEB manually.

I recommend adding generic "Search for MAVEN artifacts ..." dialog, which will be available outside of MAVEN projects and which can be invoked even with no projects opened. It will use local Netbeans index (list of the indexed repos needs to be displayed) and upon selection of the specific artifact will only show dependency in one of the supported formats - no automatic insertion of dependency into some target project.

For reference:

Maven Add Dependency dialog: http://fgeorges.org/tmp/maven-nb-xspec.png
Various formats for dependency strings: http://www.mvnrepository.com/artifact/org.codehaus.groovy/groovy-all/2.4.4#gradle
Comment 1 markiewb 2016-07-01 18:36:07 UTC
Open the context menu of the Maven Repository node in the services and start your search!



https://benkiew.wordpress.com/2016/07/01/quicktip-search-for-maven-artifacts-from-within-netbeans-ide/

So resolving as worksforme.