Re: Is anyone building Turbine applications with Maven2?
Thomas Vandahl <[email protected]> Mon, 17 May 2010 19:23:22 +0200
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
On 10.05.10 23:35, Robert Lee wrote:
> Thank you, I had looked at that torque-plugin, I get
>
> java.lang.IllegalStateException: The plugin descriptor for the plugin
> Plugin [torque:maven-torque-plugin] was not found. Please verify that
> the plugin JAR
> e:\.m2\repository\torque\maven-torque-plugin\3.1.1\maven-torque-plugin-3.1.1.jar
> is intact.
> at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:360)
> on the older version.
You are trying to use a Maven-1-plugin with Maven-2. This won't work.
> The one at the
> http://db.apache.org/torque/relaease/torque-3-3/maven2-plugin/index.html
> is missing the project.xml file.
Yes, because it is a Maven-2-plugin which uses pom.xml for this purpose.
Note that the artifact-id and the group-id of the maven-2-plugin are
different from those of the maven-1-plugin. Like here:
---8<---
<plugin>
<groupId>org.apache.db.torque</groupId>
<artifactId>torque-maven-plugin</artifactId>
....
</plugin>
---8<---
Bye, Thomas.