|
First issue:
Downloading: http://repository.sonatype.org/content/groups/flexgroup/com/oracle/ojdbc14/10.2.0.4.0/ojdbc14-10.2.0.4.0.jar
Downloading: http://repo.maven.apache.org/maven2/com/oracle/ojdbc14/10.2.0.4.0/ojdbc14-10.2.0.4.0.jar
[ERROR] Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (drop) on project hibernate-tests: Execution drop of goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl failed: Plugin org.codehaus.mojo:hibernate3-maven-plugin:2.2 or one of its dependencies could not be resolved: Could not find artifact com.oracle:ojdbc14:jar:10.2.0.4.0 in sonatypeslocal (http://repository.sonatype.org/content/groups/flexgroup/) -> [Help 1]
It tries to download the artifact, but doesn't try from all repos in my settinsg.xml that are currently configured and active. It shouldn't even be trying, as I can run it before and afterward doing a build and the artifact is included in the normal deps too, and it doesn't try to download that, just finding/using it from disk. It only uses the pluginRepositories, not the normal ones too. Perhaps my configuration is broken, in that respect, however:
Second issue:
I use -o to make it be offline and it says it's not available locally, even though it is:
[ERROR] Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (drop) on project hibernate-tests: Execution drop of goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl failed: Plugin org.codehaus.mojo:hibernate3-maven-plugin:2.2 or one of its dependencies could not be resolved: The repository system is offline but the artifact com.oracle:ojdbc14:jar:10.2.0.4.0 is not available in the local repository. -> [Help 1]
fred@cheetah:~/workspace/hibernate-tests$ l ~/.m2/repository/com/oracle/ojdbc14/10.2.0.4.0/ojdbc14-10.2.0.4.0.jar
|