Should the name of the Grails 3.x plugin always include 'org.grails.plugins:'?

org.grails.plugins:$project.name Grails 3.x plugin names supposed to be org.grails.plugins:$project.name or just $project.name ?

The default value https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle is org.grails.plugins:$project.name , but with https: // bintray.com/grails/plugins/ some plugins include org.grails.plugins: and some not.

As far as I can see, there is no clear scheme in which the “official” plugins include org.grails.plugins: and third-party plugins do not.

Update: The bintrayPublishing.gradle link above has now changed the default name to $project.group:$project.name . A name is just a name; it is not used in any way to resolve dependencies. But with the latest changes, it’s easier to see what maven groupId and artifactId are.

Update 2: bintrayPublishing.gradle changed the default value again, now it's just $project.name . Starting with Grails 3.1, bintrayPublishing.gradle has been replaced with a plugin . See Also Question 2 in this blog post.

+5
source share
1 answer

I am using grails 3.0.5

after I try to install the plugin ... I find out .. how is it ..

 compile "org.grails.plugins:mail:2.0.0.RC2" ==> this plugin from grails.org compile 'org.apache.activemq:activemq-spring:5.11.1' ==> this plugin from activemq.apache.org compile "com.sun.mail:javax.mail:1.5.1" ==> this plugin look like from oracle 

therefore, not all plugins must include org.grails.plugins

0
source

All Articles