I'd copy that Codehaus pluginRepo as a regular <repository> and see if
that fixed it.
Try mvn -U to update your plugins. Also try mvn -X to get full debug
log, and make sure Maven is looking at the Codehaus repo for those
deps.
Wayne
On 9/7/06, SkipWalker <[EMAIL PROTECTED]> wrote:
I'm trying to use the hibernate3-maven-plugin from codehaus with maven 2.0.4.
I keep getting stuck with the following error regarding hibernate3-api and
hibernate3-jdk
I don't understand why the dependencies are missing The . Any help is a
appreciated.
Missing:
----------
1) org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.mojo.hibernate3
-DartifactId=maven-hibernate3-api \
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1)
org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060825.145135-3
2)
org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:1.0-SNAPSHOT
2) org.codehaus.mojo.hibernate3:maven-hibernate3-jdk15:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.mojo.hibernate3
-DartifactId=maven-hibernate3-jdk15 \
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1)
org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060825.145135-3
2)
org.codehaus.mojo.hibernate3:maven-hibernate3-jdk15:jar:1.0-SNAPSHOT
----------
Here's my plugin def:
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>hbm2ddl</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<hibernate>
<configurationFile>src/main/webapp/WEB-INF/classes/hibernate.cfg.xml</configurationFile>
</hibernate>
<outputDirectory>
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
I have this as one of my plugin repo defs
<pluginRepository>
<id>codehaus.plugin.snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
--
View this message in context:
http://www.nabble.com/hibernate3-plugin-can%27t-resolve-maven-hibernate3-api-tf2236295.html#a6200670
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]