wolifecycle-maven-plugin: Flatten component support
wolifecycle-maven-plugin: Flatten component support
- Subject: wolifecycle-maven-plugin: Flatten component support
- From: Paul Hoadley via Webobjects-dev <email@hidden>
- Date: Wed, 5 Feb 2020 18:17:05 +1030
Hello,
I've just tried out Ralf's PR here: works as advertised. Have any other Maven
fans tried this out? Henrique? Hugi?
I'd be keen to merge this PR, but it would also be good to get some additional
eyes on it.
> Begin forwarded message:
>
> From: Ralf Schuchardt <email@hidden>
> Subject: [wocommunity/wolifecycle-maven-plugin] Flatten component support (#3)
> Date: 31 August 2019 at 02:31:59 ACST
> To: wocommunity/wolifecycle-maven-plugin
> <email@hidden>
> Cc: Subscribed <email@hidden>
> Reply-To: wocommunity/wolifecycle-maven-plugin
> <email@hidden>
>
> This introduces a new option "flattenComponent". The option is similar to
> flattenResources, but will leave non WOComponent/EOModeld folder hierarchies
> intact. The resulting folder structure should be very similar to the one
> produced by WOLips.
>
> Reason for this change: I have a project with many components, organised in
> subfolders of the Components folders. Those components must get flattened
> into to application Resources to be useful. But I have also a folder
> hierarchy in Resources and WebServerResourced, that should be copied as they
> are. While flattenResources will either flatten all those components and
> files or none, this new option flattens only components.
>
> There is also a little bit of code cleanup, mostly warning from the compiler.
>
> You can view, comment on, or merge this pull request online at:
>
> https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3>
> Commit Summary
>
> Introduce "flattenComponent" option. Similar to flattenResources the
> flattenComponent option will flatten all WOComponent (and EOModeld) resources
> from Resouces and Components folders into the applications Resources folder.
> But in contrast to flattenResources it will leave all other folders intact.
> A little bit of code cleanup (use try-with-resource, replace depracated
> method call, @Overrides).
> File Changes
>
> M README.md
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-0>
> (5)
> M
> src/main/java/org/wocommunity/maven/wolifecycle/AbstractDefineResourcesMojo.java
>
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-1>
> (416)
> M src/main/java/org/wocommunity/maven/wolifecycle/AbstractPackageMojo.java
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-2>
> (1)
> M
> src/main/java/org/wocommunity/maven/wolifecycle/DefineWOApplicationResourcesMojo.java
>
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-3>
> (32)
> M src/main/java/org/wocommunity/maven/wolifecycle/PatternsetReader.java
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-4>
> (14)
> M src/test/java/org/wocommunity/maven/wolifecycle/MockWOMojo.java
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-5>
> (2)
> M
> src/test/java/org/wocommunity/maven/wolifecycle/TestAbstractDefineResourcesMojo.java
>
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3/files#diff-6>
> (5)
> Patch Links:
>
> https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3.patch
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3.patch>
> https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3.diff
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3.diff>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3?email_source=notifications&email_token=AAGZU73XSS3KIQ2CU42OHY3QHFHAPA5CNFSM4ISPLGZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIP57CQ>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAGZU733NL4B6I2T7UCCQE3QHFHAPANCNFSM4ISPLGZQ>.
>
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden