-
jdk tools.jar under Snow leopard
Se usando maven-antrun-plugin sotto MacOsX Snow Leopard ottenete [ERROR] BUILD ERROR [INFO] ———————————————————————— [INFO] Failed to resolve artifact. Missing: ———- 1) sun.jdk:tools:jar: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 […]
-
Maven: usare la cartella “lib” di un project
Se uno per praticità vuole tenere le library all’interno del project o cmq. usare java-library che nel maven-repository non ci sono e non vuole sporcare il repository può mettere nel pom del progetto in alto : [java] project Project Maven Repository default file:///./lib [/java] In questo modo maven cercherà nella lib le java-library necessarie. [Fonte]