Hi there,
I'm trying to set up clean phase to use maven-junction-plugin as I'm
building the project from both Linux and Windows.
Here is my pom.xml section for junction plugin:
<plugin>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<id>unlink</id>
<phase>clean</phase>
<goals>
<goal>unlink</goal>
</goals>
</execution>
</executions>
<configuration>
<links>
<link>
<dst>${basedir}/src/main/webapp/WEB-INF</dst>
<src>${WEB-INF}</src>
</link>
</links>
</configuration>
</plugin>
But I got an error when I run mvn clean: Failed to execute goal
com.pyx4j:maven-junction-plugin:1.0.3:unlink (unlink) on project webapp:
Execution unlink of goal com.pyx4j:maven-junction-plugin:1.0.3:unlink
failed: Plugin com.pyx4j:maven-junction-plugin:1.0.3 or one of its
dependencies could not be resolved: Failure to find
sysinternals:junction:exe:1.04 in
http://myserver.com:8080/archiva/repository/internal was cached in the local
repository, resolution will not be reattempted until the update interval of
archiva.default has elapsed or updates are forced -> [Help 1]
I'm using an internal archiva server for maven repository, and it does have
maven-junction-plugin in the repository, but missing junction-1.04.exe, is
there a way that I can add the downloaded junction-1.04.exe in archiva or
.m2 cache for the junction plugin to work?
Another question, I got the same error when I run mvn clean in Linux, I
thought junction plugin would use ln -s in Linux, why it's still looking for
junction.exe?
Thanks in advance!
David
--
View this message in context:
http://maven.40175.n5.nabble.com/how-to-resolve-missing-maven-junction-plugin-dependency-junction-exe-tp5653047p5653047.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]