On 21/10/2012 8:24 AM, Martin Gainty wrote:
currently attempting to untangle the twisted architecture behind Redhats 
hibernate (v3.3.0.ga) and I came upon this
take a look at the main dependency for annotations version=3.3.0.ga
then take a look at the core version it depends on = 3.2.1.ga

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<packaging>jar</packaging>
<version>3.3.0.ga</version>
<name>Hibernate Annotations</name>
<description>EJB3-style annotations for Hibernate</description>
<url>http://annotations.hibernate.org</url>
<licenses>
     <license>
         <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
         <url>http://www.gnu.org/licenses/lgpl.txt</url>
     </license>
</licenses>
<dependencies>
     <dependency>
         <groupId>org.hibernate</groupId>
         <artifactId>hibernate</artifactId>
         <version>3.2.1.ga</version>
     </dependency>
...
</project>

1)why the version disconnect?
Many people do not change the version of things that don`t change. If the core was not modified to support hibernate-annotations 3.3.0-ga, then the older version is the right version to use. Perhaps they do not expect anyone using Hibernate to have any direct dependency on the core, so they only change the versions on the artifacts to which users refer directly(hibernate-annotations in your case).
2)if the hibernate plugins are blessed why do they only reside on jboss repos?
There is no obligation for you or anyone else to put your stuff on a public Maven Repo.
Redhat chooses to use their own.
I have no Idea why Redhat wants to do it this way but perhaps it gives them a better idea about how many people are using Hibernate and better statistics about which version they are downloading. It only costs them a bit of bandwidth since most people will only download it once into their corporate repo For us it is not a problem since we are running Nexus ourselves and once I add the RedHat repo to my Nexus configuration, the whole team has access to Hibernate without any fuss.

Oracle/Sun has an even more restrictive and less convenient way to make their libraries available.

Ron


thanks,
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.
                                        


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to