In my groovy script, I have this code :
@Grapes([
@Grab(group='com.oracle', module='ojdbc14', version='10.2.0.3.0')
])
When I run the script, I receive an error message :
java.lang.RuntimeException: Error grabbing Grapes -- [download failed: com.oracle#ojdbc14;10.2.0.3.0!ojdbc14.jar]
So, I download the jar file from oracle and I add it to my maven repository :
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=\path\to\ojdbc14.jar
I try again and I receive the same error message
I add a config file as describe on the grape page , with a ibiblio refering to my local repository, I try again and have also the same error.
I tried with another group like jfreechart and it is working.
So, why is it not working with ojdbc14.jar
Thanks a lot