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
I am experiencing a strange interaction between the maven-shade-plugin and the maven-antrun-plugin: when using both at the same time, then antirun seems to be executed from the target directory instead of the basedir directory.
The logs (with -X) say: fileset: Setup scanner in dir /home/victor/code/cactoos-matchers/target with patternSet{ includes: [**/*.xml, **/*.xsl, **/*.xsd] excludes: [**/target/**/*, .idea/**/*] }
While if the maven-shade-plugin is not used I get: fileset: Setup scanner in dir /home/victor/code/cactoos-matchers with patternSet{ includes: [**/*.xml, **/*.xsl, **/*.xsd] excludes: [**/target/**/*, .idea/**/*] }
I'm not sure why, but a simple fix should be to pass ${basedir} to filesetdir property.
EDIT:
I tested it and it doesn't seem to work unfortunately because basedir is set to the wrong directory
I am experiencing a strange interaction between the maven-shade-plugin and the maven-antrun-plugin: when using both at the same time, then antirun seems to be executed from the target directory instead of the basedir directory.
The logs (with
-X
) say:fileset: Setup scanner in dir /home/victor/code/cactoos-matchers/target with patternSet{ includes: [**/*.xml, **/*.xsl, **/*.xsd] excludes: [**/target/**/*, .idea/**/*] }
While if the maven-shade-plugin is not used I get:
fileset: Setup scanner in dir /home/victor/code/cactoos-matchers with patternSet{ includes: [**/*.xml, **/*.xsl, **/*.xsd] excludes: [**/target/**/*, .idea/**/*] }
I'm not sure why, but a simple fix should be to pass${basedir}
tofileset
dir
property.EDIT:
The text was updated successfully, but these errors were encountered: