Thanks for the reply, Brett.
I do not think that this is a hibernate plugin issue because my build is
working and tests are passing when I am in offline mode. The plugin that
is installed in my computer's repository works fine. I suspect that
there is a corrupt library somewhere on our local repository server.
Finding the jar by trial and error will be very time consuming. One
option we have discussed is to back up our local repository and then
rebuild it from the central maven repository, but that is a last resort.
So far, I have tried running an offline build that passes and an online
build that fails and running a diff on their debug output. There were no
notable differences other than the test failures and the differences in
the generated SQL.
Has anyone experienced a problem like this before? Is there a way to
determine what libraries are being dynamically loaded from the local
internal repository when I am not in offline mode?
Thanks,
Ben
Brett Porter wrote:
Please don't cross-post to multiple lists - pick one that is most
relevant to your problem.
If you are specifying the version in your POM then you should be
getting the same version of the hibernate plugin every time. You can
confirm that by -X.
I think you should talk to the authors of that plugin
([EMAIL PROTECTED] I believe).
Cheers,
Brett
On 19/02/2008, Benjamin Scribner <[EMAIL PROTECTED]> wrote:
Hi,
Currently, I am having an issue with maven while using an internal
archiva repository. Our development repository is hosted on a local
server and in any project poms, we include the repository like this:
<repositories>
<repository>
<id>internal</id>
<url>https://maven.mycompany.com/repository/internal</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<layout>default</layout>
</repository>
</repositories>
Also, I am using the 2.0 version of the hibernate3-maven-plugin.
The problem is that whenever I build my project, the hibernate plugin
does not create the database table structure correctly. Constraints are
in the wrong order. However, when I build the project in offline mode,
the hibernate plugin works correctly.
I have tried using a different version of the hibernate plugin in case
there is a bad version in local server's repository, but that does not
solve the problem. As long as I am connected to the local repository, my
build fails. If I run the build just using the repository on my own
computer, the build passes.
Does anyone have any suggestions for steps to take to solve this issue?
Please let me know what other resources I can include to help solve this
issue.
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]