You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Everton Agner <ev...@yahoo.com.br> on 2010/04/05 20:18:18 UTC

[T5.1-Hib] Hibernate 3.5-Final release with Envers

I will start to integrate the Envers JBoss Auditing framework in a T5.1 App, and I've found out that there was a recent Hibernate 3.5-Final release at Apr 1 (April's fool joke? lol) with Envers already integrated.

Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a newer Hibernate version via Maven?

If someone did, how can I do that via Maven? I never did that before - altering a dependecy's dependency (?) lib version.

Thanks!

- Everton



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Res: [T5.1-Hib] Hibernate 3.5-Final release with Envers

Posted by Everton Agner <ev...@yahoo.com.br>.
Thank you!! It was kinda a Maven problem. :)

But, I also want to know if anyone has done that and haven't got any bug or something after the upgrade.

Thanks!

- Everton




________________________________
De: Thiago H. de Paula Figueiredo <th...@gmail.com>
Para: Tapestry users <us...@tapestry.apache.org>
Enviadas: Segunda-feira, 5 de Abril de 2010 15:40:51
Assunto: Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner <ev...@yahoo.com.br> wrote:

> Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a newer Hibernate version via Maven?

Use the exclusion tag and provide you own Hibernate dependency. It's documented here: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.

--Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

Posted by Michał Minicki <ma...@aie.pl>.
Unless the dependency specifies a version range that your lib is
outside of. But as Kalle said - start with supplying your own
dependency with desired version which should satisfy your libs'
requirements. If it does not then it's time to exclude. But be aware
that you will be overriding author's decision on what library version
his software works.

http://www.sonatype.com/books/mvnex-book/reference/optimizing-sect-dependency-plugin.html

And this one is a must if you lack basic knowledge of what transitive
dependencies are all about:
http://www.sonatype.com/books/mvnex-book/reference/simple-project-sect-dep-management.html

Regards,
Michał

On Mon, Apr 5, 2010 at 20:46, Kalle Korhonen <ka...@gmail.com> wrote:
> No need to exclude anything. The nearest resolution wins; if you
> specify a different version for the same library in your pom, that's
> version you are going to get.
>
> Kalle
>
>
> On Mon, Apr 5, 2010 at 11:40 AM, Thiago H. de Paula Figueiredo
> <th...@gmail.com> wrote:
>> On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner
>> <ev...@yahoo.com.br> wrote:
>>
>>> Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a
>>> newer Hibernate version via Maven?
>>
>> Use the exclusion tag and provide you own Hibernate dependency. It's
>> documented here:
>> http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
>> instructor
>> Owner, software architect and developer, Ars Machina Tecnologia da
>> Informação Ltda.
>> http://www.arsmachina.com.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Michał Minicki
martel@post.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

Posted by Kalle Korhonen <ka...@gmail.com>.
No need to exclude anything. The nearest resolution wins; if you
specify a different version for the same library in your pom, that's
version you are going to get.

Kalle


On Mon, Apr 5, 2010 at 11:40 AM, Thiago H. de Paula Figueiredo
<th...@gmail.com> wrote:
> On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner
> <ev...@yahoo.com.br> wrote:
>
>> Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a
>> newer Hibernate version via Maven?
>
> Use the exclusion tag and provide you own Hibernate dependency. It's
> documented here:
> http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner  
<ev...@yahoo.com.br> wrote:

> Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a  
> newer Hibernate version via Maven?

Use the exclusion tag and provide you own Hibernate dependency. It's  
documented here:  
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org