You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.
Such definition I use because of various resources to be filtered or not and for special resources under src/main/resource/profile/${profile.id} that has to be included only in case that particular profile is active.
Then I use following configuration of the yuicompressor-maven-plugin for compressing just the .js files:
As you see, I have to explicitly exclude the profile/** because without this exclusion the whole tree under src/main/resources/profile is included in the resulting archive. And this is something that I do not want at all.
Moreover all the .js files under src/main/resources are processed exactly 2 times by the yui compressor. I expect this is due to the fact that directory src/main/resources is specified twice in the resources configuration. Some of the are processed 3 times as they reside under the src/main/resources/profile
Currently the pom.xml is working for me, but the repetitive processing of some files is quite unpleasant. Is there some reason why the include/exclude patterns fro resources definition are ignored?
The text was updated successfully, but these errors were encountered:
I have pom.xml defining resources as follows:
Such definition I use because of various resources to be filtered or not and for special resources under src/main/resource/profile/${profile.id} that has to be included only in case that particular profile is active.
Then I use following configuration of the yuicompressor-maven-plugin for compressing just the .js files:
As you see, I have to explicitly exclude the profile/** because without this exclusion the whole tree under src/main/resources/profile is included in the resulting archive. And this is something that I do not want at all.
Moreover all the .js files under src/main/resources are processed exactly 2 times by the yui compressor. I expect this is due to the fact that directory src/main/resources is specified twice in the resources configuration. Some of the are processed 3 times as they reside under the src/main/resources/profile
Currently the pom.xml is working for me, but the repetitive processing of some files is quite unpleasant. Is there some reason why the include/exclude patterns fro resources definition are ignored?
The text was updated successfully, but these errors were encountered: