Skip to content

Commit 224785d

Browse files
committed
Allow running IT from alternate folder
Getting fatal error LNK1104: cannot open file 'it0031-push-deps-to-lowest-order-B-1.0-SNAPSHOT.lib' You may see this error when the path for filename expands to more than 260 characters. If needed, rearrange your directory structure or shorten your folder and file names to shorten the paths. Provide property default to match plugin default, and allow setting alternate from command line
1 parent 8113094 commit 224785d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116

117117
<properties>
118118
<invoker.debug>false</invoker.debug>
119+
<invoker.workspace>${project.build.directory}/it</invoker.workspace>
119120
<its.to.skip>dummy</its.to.skip>
120121
<mavenVersion>3.0.4</mavenVersion>
121122
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -541,6 +542,7 @@
541542
<artifactId>maven-invoker-plugin</artifactId>
542543
<version>3.2.0</version>
543544
<configuration>
545+
<cloneProjectsTo>${invoker.workspace}</cloneProjectsTo>
544546
<properties>
545547
<jna.nosys>true</jna.nosys>
546548
</properties>

0 commit comments

Comments
 (0)