code.quarkus.io icon indicating copy to clipboard operation
code.quarkus.io copied to clipboard

Allow the usage of `-` in project coordinates.

Open michael-simons opened this issue 5 years ago • 5 comments

While eu.michael-simons.neo4j.neo4j-migrations-examples is a perfectly valid Group ID, the generator doesn't let me use it. I guess it's due to the fact that you use the same group id to determine package names.

Those two concerns should be separated.

michael-simons avatar Jul 30 '20 13:07 michael-simons

I think it's already supported via the Configure more options link.

gsmet avatar Jul 30 '20 14:07 gsmet

I'll have a look. Just tried it via IntelliJ.

michael-simons avatar Jul 30 '20 15:07 michael-simons

Hey @michael-simons, we follow maven conventions: https://maven.apache.org/guides/mini/guide-naming-conventions.html

groupId uniquely identifies your project across all projects. A group ID should follow Java's package name rules.

And Java's package name rules doesn't allow hyphen..

ia3andy avatar Jul 30 '20 16:07 ia3andy

Ok, fair enough. Thank you, Andy!

michael-simons avatar Jul 30 '20 16:07 michael-simons

I re-opened this issue following a discussion on https://github.com/quarkusio/quarkus-workshops/issues/214

ia3andy avatar Mar 31 '23 10:03 ia3andy