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

[ARCHETYPE-311] Add feature to create base dir #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ripper2hl
Copy link

For now when you create an project always generate a directory with the name of the artifact but in some case this is not required.

You can see https://stackoverflow.com/questions/24399613/using-maven-archetype-generate-in-the-same-directory

Work-in-Progress.

If this a bad approach let me know please.

Copy link

@albfan albfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A must for me!

@ripper2hl ripper2hl changed the title WIP: Add feature no create base dir Add feature no create base dir Feb 4, 2020
@elharo elharo changed the title Add feature no create base dir Add feature to create base dir Apr 16, 2020
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have at least a JIRA issue and likely should be dicussed on the dev mailing list first.

return createBaseDir;
}

public ArchetypeGenerationRequest setCreteBaseDir( boolean createBaseDir )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HEre is a typo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:o yes, i need fix it ,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michael-o you can review now, please

@ripper2hl
Copy link
Author

This a related jira issue , i don't know if what is you need @elharo .

https://issues.apache.org/jira/browse/ARCHETYPE-311

@elharo elharo changed the title Add feature to create base dir [ARCHETYPE-311] Add feature to create base dir Apr 17, 2020
@dhutchison
Copy link

@ripper2hl ARCHETYPE-311 doesn't seem to be for this. It is in the same area, but 311 is a bug "Basedir property in archetype:generate cannot be overriden", not a new feature.

Does this fix the bug and add a feature?

@ripper2hl
Copy link
Author

@dhutchison this add the posibilty to create an project on the same directory, without create an subdirectory.
if you need more information or examples let me know :D

@michael-o michael-o removed their request for review January 7, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants