HP Integrity NonStop J-Series User Manual

Page 156

Advertising
background image

NOTE:

The C:\Documents and Settings\<User name>\.m2\repository location will
be referred as <Hibernate Repository Home>.

You can run Hibernate 3.5.1 with JDK 1.6. However, Hibernate 3.5.1 distribution cannot
be complied with JDK 1.6 . Therefore, you need to compile Hibernate 3.5.1 with JDK1.5.

Update <MAVEN_HOME>\conf\settings.xml with the section below.

<?xml version="1.0"?>

<settings>

<pluginGroups>

<pluginGroup>org.jboss.maven.plugins</pluginGroup>

</pluginGroups>

<proxies>

<!-- proxy

| Specification for one proxy, to be used in connecting to the network.

|-->

<proxy>

<id>proxyId</id>

<active>true</active>

<protocol>https</protocol>

<username>proxyuser</username>

<password>proxypassword</password>

<host>proxy.somewhere.com</host>

<port>8080</port>

<nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>

</proxy>

</proxies>

<profiles>

<profile>

<id>repos</id>

<properties>

<!-- Here we point to our local JDK 1.6 home -->

<jdk16_home>C:\Program Files\Java\jdk1.6.0_21\</jdk16_home>

</properties>

<!-- Here we define the JBoss release and snapshot repos -->

<repositories>

<repository>

<id>jboss</id>

<url>https://repository.jboss.org/nexus/content/groups/public</url>

<releases>

<enabled>true</enabled>

<updatePolicy>never</updatePolicy>

</releases>

<snapshots>

<enabled>true</enabled>

<updatePolicy>never</updatePolicy>

</snapshots>

</repository>

</repositories>

<!-- Here we define the JBoss release and snapshot repos *for plugins* -->

<pluginRepositories>

156

Installing the Hibernate Framework

Advertising
This manual is related to the following products: