frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

fix parsing repeating arguments

Open jpodeszwik opened this issue 6 years ago • 1 comments
trafficstars

Summary

Sometimes it might be necessary to pass arguments with repeating value, for example building Angular application you can use:

npm run build -- --base-href /some/href/ --deploy-url /some/href/

which is valid build command, but this plugin tries to remove duplicates, so resulting command will be:

npm run build -- --base-href /some-href/ --deploy-url.

There are workarounds possible, but it still may be confusing for users if some args are removed.

This PR changes behavior, so that it's now possible to add duplicates into the build command. Additional parameters are still checked for duplicates.

Tests and Documentation

Added changelog info. Added unittest.

jpodeszwik avatar May 07 '19 21:05 jpodeszwik

AppVeyor build fails on javadoc generation due to bug in JDK: https://bugs.openjdk.java.net/browse/JDK-8212233

jpodeszwik avatar May 08 '19 18:05 jpodeszwik

Closing this as similar change from #930 is merged

jpodeszwik avatar May 11 '23 09:05 jpodeszwik