Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact name convention #24

Open
robertoschwald opened this issue Nov 2, 2016 · 4 comments
Open

Artifact name convention #24

robertoschwald opened this issue Nov 2, 2016 · 4 comments

Comments

@robertoschwald
Copy link
Contributor

The plugin artifact currently is named "joda-time-.jar".

Normally plugins use the convention

grails-plugin-<name>-<version>.jar
@graemerocher
Copy link
Member

That is not the convention in Grails 3 as far as I am aware. Other than for core plugins

@robertoschwald
Copy link
Contributor Author

I thought so, and I also think its a good idea to distinguish the plugin artifact from dependencies to avoid naming collisions with artifacts.

E.g. the joda-time jar has the same name, so the risk to have a naming clash is eminent:

joda-time-2.0.0.jar
joda-time-2.9.1.jar

Other plugins I use, have the said convention:

grails-plugin-async-3.0.10.jar
grails-plugin-codecs-3.0.10.jar
grails-plugin-controllers-3.0.10.jar
grails-plugin-converters-3.0.10.jar
grails-plugin-databinding-3.0.10.jar
grails-plugin-datasource-3.0.10.jar
grails-plugin-domain-class-3.0.10.jar
grails-plugin-events-3.0.10.jar
grails-plugin-filters-3.0.10.jar
grails-plugin-gsp-3.0.10.jar
grails-plugin-i18n-3.0.10.jar
grails-plugin-interceptors-3.0.10.jar
grails-plugin-mimetypes-3.0.10.jar
grails-plugin-rest-3.0.10.jar
grails-plugin-services-3.0.10.jar
grails-plugin-url-mappings-3.0.10.jar
grails-plugin-validation-3.0.10.jar

@graemerocher
Copy link
Member

They can be distinguished by their group id, all plugins are published under the org.grails.plugins group. The plugins you mention there are all core plugins published with grails

@robertoschwald
Copy link
Contributor Author

Yes, but if you create a war file, an artifact filename can clash with the plugin jar filename, or?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants