Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Plugin should sync and validate the project.build.finalName property to app.name in application.properties app.name not project.name #63

Open
krajewf opened this issue Feb 27, 2015 · 1 comment

Comments

@krajewf
Copy link

krajewf commented Feb 27, 2015

In AbstractGrailsMojo.java the code sets the project.name as the app.name if not equal, then MvnValidateMojo.java validates that the project.artifactId equals the app.name. This does not allow you to set the project.name different than project.build.finalName or project.artifactId in the Maven pom.
The sync and validation should operate off the project.artifactId or project.build.finalName since according to section 9.2 Maven Properties of the Sonatype Maven: A Complete Reference "A project’s artifactId is often used as the name of a deliverable" where the project.name is described as "The name and project description can often be useful properties to reference from documentation".

@selera
Copy link
Contributor

selera commented Mar 1, 2015

Yes, our team has been impacted by this issue. Temporarily, we have renamed our project.name equal to the artefactId but its not ideal.

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

No branches or pull requests

2 participants