You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/04/18 19:48:14 UTC

[GitHub] [netbeans] ratcashdev opened a new issue, #4002: Maven artefact version suggestion in build.gradle files

ratcashdev opened a new issue, #4002:
URL: https://github.com/apache/netbeans/issues/4002

   ### Description
   
   It would be great if Gradle/Groovy could provide the same when on a line with a dependency, like:
   `testImplementation 'io.micronaut.test:micronaut-test-junit5:3.1.1'`
   
   ### Use case/motivation
   
   MAVEN projects have a very useful artefact version suggestion when trying to enter the `version` element inside the pom.xml.
   Saves time to figure out the latest version of an artifact - given that NB already provides a maven index.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4002: Maven artefact version suggestion in build.gradle files

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4002:
URL: https://github.com/apache/netbeans/issues/4002#issuecomment-1103754088

   Sounds good.  In fact, I'm interested in looking at opening up an API for artefact searching - have a need in a platform application for this in another context (actually needs a PURL), but had thought it would be useful in Gradle build files too.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4002: Maven artefact version suggestion in build.gradle files

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4002:
URL: https://github.com/apache/netbeans/issues/4002#issuecomment-1109682453

   I'm wondering if this would be better like the `Insert Code` option in POM files rather than the code completion approach.  Might be easier to achieve without parsing?
   
   Ideally we'd have an API that could search and then inject the text of any of the formats on the RHS of https://search.maven.org/artifact/org.apache.commons/commons-lang3/3.12.0/jar


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on issue #4002: Maven artefact version suggestion in build.gradle files

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on issue #4002:
URL: https://github.com/apache/netbeans/issues/4002#issuecomment-1101811408

   It would be certainly a nice feature.
   Right now we can't really parse a Gradle file,  so what I'm thinking. initially that could be added for every string as a completion item...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ratcashdev commented on issue #4002: Maven artefact version suggestion in build.gradle files

Posted by GitBox <gi...@apache.org>.
ratcashdev commented on issue #4002:
URL: https://github.com/apache/netbeans/issues/4002#issuecomment-1109694766

   I think both are needed:
   1. Insert CODE for adding a new dependency through some form (search/lookup)
   2. Code Completion: to suggest the highest available version for a given dependency when doing version bumps.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ratcashdev commented on issue #4002: Maven artefact version suggestion in build.gradle files

Posted by GitBox <gi...@apache.org>.
ratcashdev commented on issue #4002:
URL: https://github.com/apache/netbeans/issues/4002#issuecomment-1103777507

   >  opening up an API for artefact searching
   
   sounds just like what we need.
   
   >  we can't really parse a Gradle file ... added for every string as a completion item
   
   you mean for strings like: `testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"` or `testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'` ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists