Se usando maven-antrun-plugin sotto MacOsX Snow Leopard ottenete
[ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact.La soluzione veloce è :Missing:
- sun.jdk:tools🫙1.6.0
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=sun.jdk -DartifactId=tools -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
- org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.4
- sun.jdk:tools🫙1.6.0
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
sudo mkdir lib
cd lib
sudo ln -s ../Classes/classes.jar tools.jarPurtroppo non ho ancora trovato un modo elegante dentro maven usando i profile.