[hibernate-dev] Annotation Processors

Steve Ebersole steve at hibernate.org
Mon Nov 25 13:02:47 EST 2013


If I were to collapse it into hibernate-core...  To use Maven terms, I 
can expose it as a hibernate-core artifact with a different classifier. 
 But I would no longer be able to expose it using the hibernate-testing 
artifact id.

This works fine either way within the hibernate-orm project.  In fact 
we already have a very similar usage to this in hibernate-orm between 
envers and hem.  If I publish the jar, others can access it as well 
using that published classifier.


On Mon 25 Nov 2013 08:42:49 AM CST, Gunnar Morling wrote:
> Hi,
>
> Hibernate OGM is using hibernate-testing, but I'm not totally sure why.
>
> When I remove the dependency, the build still passes; Maybe it was
> used in the past. But also if we started to use stuff from
> hibernate-testing one day, a merge with hibernate-core wouldn't be a
> problem, provided you publish a test JAR (speaking in Maven terms).
>
> --Gunnar
>
>
>
> 2013/11/25 Brett Meyer <brmeyer at redhat.com <mailto:brmeyer at redhat.com>>
>
>     IMO, there shouldn't be anything preventing us from pulling
>     hibernate-testing into hibernate-core.  Are there any external
>     modules/projects that use testing w/o core?  AFAIK, no, but
>     correct me if I'm overlooking something.
>
>     Brett Meyer
>     Software Engineer
>     Red Hat, Hibernate ORM
>
>     ----- Original Message -----
>     From: "Steve Ebersole" <steve at hibernate.org
>     <mailto:steve at hibernate.org>>
>     To: "hibernate-dev" <hibernate-dev at lists.jboss.org
>     <mailto:hibernate-dev at lists.jboss.org>>
>     Sent: Friday, November 22, 2013 5:05:23 PM
>     Subject: [hibernate-dev] Annotation Processors
>
>     I started today on removing the separate calls to javac to execute
>     Annotation Processors in the Hibernate ORM build.  From Gradle it is
>     working fine.  However when I try to enable Annotation Processing in
>     IntelliJ, it complains about the "module cycle" between hibernate-core
>     and hibernate-testing.
>
>     I'd really like to get a gauge on how many people really use
>     hibernate-testing.
>
>
>     _______________________________________________
>     hibernate-dev mailing list
>     hibernate-dev at lists.jboss.org <mailto:hibernate-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/hibernate-dev
>     _______________________________________________
>     hibernate-dev mailing list
>     hibernate-dev at lists.jboss.org <mailto:hibernate-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>


More information about the hibernate-dev mailing list