Hello Matt

Can you run the plugin with the -X parameter and see if the jar that you are
looking for is getting include?

Also if you sent me the output it can help me to debug it better.

Regards

Johann Reyes

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 07, 2006 4:58 PM
To: [email protected]
Subject: Re: [mojo-dev] hibernate3 plugin - scanning for annotations in JARs

I still get the same error. Here's my plugin configuration:

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <configuration>
                    <hibernate>

<propertyFile>target/test-classes/database.properties</propertyFile>
                        <includeJars>true</includeJars>
                    </hibernate>
                    <update>true</update>
                </configuration>
                <executions>
                    <execution>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>hbm2ddl</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>${jdbc.groupId}</groupId>
                        <artifactId>${jdbc.artifactId}</artifactId>
                        <version>${jdbc.version}</version>
                    </dependency>
                </dependencies>
            </plugin>

I tried moving <includeJars>true</includeJars> to just below
</hibernate>, but that didn't work either.

Matt

On 11/7/06, Johann Reyes <[EMAIL PROTECTED]> wrote:
> Hello Matt
>
> Well, I've just added support for it. It might be temporary, since the new
> version of the plugin is different to the one in subversion now.
>
> It's already deployed as a snapshot, let me know how it works.
>
> Regards
>
> Johann Reyes
>
>
> - Configuration:
>
> <configuration>
>   <hibernate>
>     <includeJars>true</includeJars>
>   </hibernate>
> </configuration>
>
>
> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 07, 2006 10:25 AM
> To: [email protected]
> Subject: [mojo-dev] hibernate3 plugin - scanning for annotations in JARs
>
> Currently, it seems the hibernate3 plugin scans the target directory
> of the current project, but not the JARs of any dependencies[1].  In
> AppFuse, we have our model objects in a separate artifacts/JAR so they
> can be used by multiple persistence frameworks.
>
> Is the scanning of JARs a feature you plan to add?
>
> Thanks,
>
> Matt
>
> [1] http://issues.appfuse.org/browse/APF-519
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to