Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
It would be great if we would have the ability to configure includes and excludes patterns when we configure:
and the same for every type of resources.
Is it planned to support these configuration ? does it make sense for you ?
ok for the specific case of aggregation.
BTW, yui-compressor-maven-plugin is handling it (http://alchim.sourceforge.net/yuicompressor-maven-plugin/ex_aggregation.html) and I was having a look to migrate aggregation on wisdom underlying solution.
We tried wildcards and had lots of trouble to debug because it makes the build not reproducible (variables not defined, function not defined...). So it works if you are absolutely sure that the machine building the project is always the same.
One solution would be to use the 'requires.js' aggregator using the module dependencies to get the right order.
As requested, here is a pattern format example:
Ok, after discussion we decided to support wildcard with "warnings".
ok, I've tried.
In fact the aggregation with patterns in fileset does not help as it does not take into account the order of the definition, which would resolve the deterministic issue.
Let's say that I have these files:
and this pom configuration:
I was expecting to have the aggregation by this order:
but instead the FileSetManager takes all the includes files and sort them so that the aggregation ends in the following order:
added a commit
May 3, 2015
I finally manage to test it a bit and ... great !!! it seems to work well.