Difference betwen org.wildfly.bom and org.jboss.spec for Java EE7 with maven -
i working in new project going use java ee 7 wildfly, still confused maven dependencies should use. have found these 2 groups apparently can use: org.wildfly.bom , org.jboss.spec
they have following predefined artifact use in projects (searched in https://repository.jboss.org/nexus/index.html#welcome):
org.wildfly.bom:
- jboss-javaee-7.0-with-all
- jboss-javaee-7.0-with-hibernate
- jboss-javaee-7.0-with-tools
- jboss-bom-parent
- jboss-javaee-7.0-with-transactions
- jboss-javaee-7.0-with-security
- jboss-javaee-7.0-with-resteasy
- jboss-javaee-7.0-with-infinispan
- jboss-javaee-7.0-with-hibernate3
org.jboss.spec:
- jboss-javaee-all-7.0
- jboss-javaee-web-7.0
- jboss-javaee-7.0
also have realized that can see dependency hierarchy using org.jboss.spec not wildfly.bom. so, question difference?, 1 suggest?
the org.wildfly.bom includes dependencies versions of hibernate, resteasy, etc. dependencies used in wildfly. if use jackson2 annotations org.wildfly.bom:jboss-javaee-7.0-with-resteasy should include correct version of jackson2 dependency.
the org.jboss.spec include java ee 7 api's used.
if you're not using specific wildfly use org.jboss.spec bom. if you're using specific server includes, jackson2, infinispan, etc., i'd use org.wildfly.bom.
Comments
Post a Comment