-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fail : NotLinkException on mpg-coach-bot/target/test-classes/mpg.properties #184
Comments
If the file |
Not sure to understand the use case with a symbolic link relation 🤔. What is your scenario to produce the bug ? This snippet seems work correctly: git clone https://github.com/axel3rd/mpg-coach-bot.git
cd mpg-coach-bot/
echo "fake" > src/test/resources/mpg.properties
mvn test-compile |
@mansuydejean : is |
|
Hummm, perhaps linked to MRESOURCES-237, but released version plugin not available. The most simple solution is perhaps NOT having a symlink here 😁 ? |
yes, perhaps... simply add a warning in README.md and we can close this |
An exception is thrown when building if /mpg-coach-bot/target/test-classes/mpg.properties is not a symbolic link, but a real file
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:testResources (default-testResources) on project mpg-coach-bot: /home/shoe/mpg-coach-bot/target/test-classes/mpg.properties -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:testResources (default-testResources) on project mpg-coach-bot: /home/shoe/mpg-coach-bot/target/test-classes/mpg.properties
...
Caused by: org.apache.maven.plugin.MojoExecutionException: /home/shoe/mpg-coach-bot/target/test-classes/mpg.properties
...
Caused by: org.apache.maven.shared.filtering.MavenFilteringException: /home/shoe/mpg-coach-bot/target/test-classes/mpg.properties
...
Caused by: java.nio.file.NotLinkException: /home/shoe/mpg-coach-bot/target/test-classes/mpg.properties
The text was updated successfully, but these errors were encountered: