-
Notifications
You must be signed in to change notification settings - Fork 35
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
Issue 217: Allow Package Name specification #230
Conversation
using groupId + artifactId as default value
@Eskibear could you review this PR or direct to some other contributor with write access? |
Thank you for the pr. I haven’t been focusing and watching this repo for a while, and @jdneo @testforstephen are currently working on this project. |
@jdneo @testforstephen this PR has been waiting for a review for quite a while, could you take a look? |
@brunovieira97 sorry for the late response. I will take a look at your three PRs in the coming 1~2 weeks. |
} | ||
|
||
private async specifyPackageName(projectMetadata: IProjectMetadata): Promise<boolean> { | ||
const recommendedPackageName = `${projectMetadata.groupId}.${projectMetadata.artifactId}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the artifactId
allows -
in its name, but packageName
does not allow it. It's better to replace -
with _
when generating the default packageName from groupId and artifactId.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hadn't considered that, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. thanks for contribution.
New step for allowing specification of a custom Package Name during project generation.
There is no default setting provided since the recommended value is always based on the combination of Group Id and Artifact Id.
Closes #217