GitHub user manouti opened a pull request:
https://github.com/apache/maven-archetype/pull/9
Add properties to enable or disable generation of submodules.
By setting -DgenerateEnableProperties=true when calling the
create-from-project goal, the plugin would create enabler properties for each
child module in the form generate.module.X. When calling the generate goal
thereafter, one can exclude a module by passing -Dgenerate.module.X=false.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/manouti/maven-archetype master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-archetype/pull/9.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9
----
commit 4eef51a828dd78a03ff3444d52502cadcf0c2b39
Author: manouti <[email protected]>
Date: 2016-01-25T22:01:16Z
Update DefaultArchetypeFactory.java
commit 8a3d43a87fd593ca26dbec037f06682b7d5587e8
Author: manouti <[email protected]>
Date: 2016-01-25T22:05:22Z
Update DefaultFilesetArchetypeGenerator.java
Add properties to enable/disable the generation of specific modules.
commit 38bea519c95bc194f03643c45e21502797418aaa
Author: manouti <[email protected]>
Date: 2016-01-25T22:06:20Z
Update FilesetArchetypeCreator.java
Add properties to enable/disable the generation of specific modules.
commit 69ee6e450847761729290921b391d6cff9e7043e
Author: manouti <[email protected]>
Date: 2016-01-25T22:10:10Z
Update Constants.java
Add properties to enable/disable the generation of specific modules.
commit a995f2930b751d1ef5d12e33b1319bf26d61bdeb
Author: manouti <[email protected]>
Date: 2016-01-25T22:12:03Z
Update CreateArchetypeFromProjectMojo.java
Add properties to enable/disable the generation of specific modules.
commit 94f044e73b970fdad4ad0dcd6032d0eecfbb2da7
Author: manouti <[email protected]>
Date: 2016-01-25T22:12:58Z
Update ArchetypeCreationRequest.java
Add properties to enable/disable the generation of specific modules.
commit 927d1c237c39629bcc5a66d0c809d462d5240a2d
Author: manouti <[email protected]>
Date: 2016-01-25T22:16:26Z
Update archetype-descriptor.mdo
Add properties to enable/disable the generation of specific modules.
commit 275527431b5636e2793fa9110f3d8f4fb2745abc
Author: manouti <[email protected]>
Date: 2016-01-25T22:22:38Z
Merge pull request #1 from manouti/manouti-module-enabler
Module enabler
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]