karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: Version alignment report for Karaf 4.2.3-SNAPSHOT - 2/2
Date Tue, 08 Jan 2019 14:43:47 GMT
Hello

With
https://github.com/apache/karaf/commit/80d4a7fcf126d8dd33f365c0b32bb93550c2f2e3
I've added "consistency" profile. With this profile,
assemblies/apache-karaf artifact will have 3 additional attached artifacts:

$ ll
total 42632
-rw-rw-r--+ 1 ggrzybek ggrzybek   113553 01-08 15:38
apache-karaf-4.2.3-SNAPSHOT-bundle-report-full.xml
-rw-rw-r--+ 1 ggrzybek ggrzybek   113553 01-08 15:38
apache-karaf-4.2.3-SNAPSHOT-bundle-report.xml
-rw-rw-r--+ 1 ggrzybek ggrzybek     8310 01-08 15:38
apache-karaf-4.2.3-SNAPSHOT-bundle-report.xslt
...

XML files are processed, so they have correct <?xml-stylesheet
type="text/xsl" href="apache-karaf-4.2.3-SNAPSHOT-bundle-report.xslt"?> and
are viewable by XSLT aware browser (Firefox).

JB, please add "consistency" profile to jenkins - we'll check what comes
out of it.

regards
Grzegorz Grzybek

wt., 8 sty 2019 o 14:10 Grzegorz Grzybek <gr.grzybek@gmail.com> napisaƂ(a):

> Hello again
>
> First (tl;dr), we can do this now in etc/org.apache.karaf.features.xml:
>
>         <bundle originalUri="mvn:javax.mail/mail/[1.4,1.5)"
>                 replacement="mvn:com.sun.mail/javax.mail/1.6.3"
> mode="maven"/>
>
> (thanks to https://issues.apache.org/jira/browse/KARAF-5376) - we can
> "override" not only a version, but also groupId / artifactId.
>
> Here's a list of _duplicates_ that should rather be resolved, to have
> consistent Karaf official distribution.
>
> Let's start with my "favourite" JavaEE Jars (bundles and features/projects
> that declare them):
>
> JMS:
>  - mvn:javax.jms/javax.jms-api/2.0: Karaf
>  - mvn:javax.jms/javax.jms-api/2.0.1: pax-jms, pax-transx
>  - mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1: Karaf
>
> EL:
>  - mvn:javax.el/javax.el-api/3.0.0: pax-cdi, pax-web
>  - mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1: openjpa
>  - mvn:org.glassfish/javax.el/3.0.1-b09: hibernate-validator
>
> Mail:
>  - mvn:javax.mail/mail/1.4.4: pax-web
>  - mvn:javax.mail/mail/1.4.7: Karaf
>
> Validation:
>  - mvn:javax.validation/validation-api/1.1.0.Final: pax-cdi
>  - mvn:javax.validation/validation-api/2.0.1.Final: hibernate-validator
>  - mvn:org.apache.geronimo.specs/geronimo-validation_1.0_spec/1.1:
> pax-jdbc, Karaf
>
> JPA:
>  - mvn:org.apache.aries.jpa.javax.persistence/javax.persistence_2.1/2.7.0:
> aries-jpa
>  - mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1: pax-cdi
> (deltaspike)
>  - mvn:org.eclipse.persistence/javax.persistence/2.1.0: openjpa
>  - mvn:org.eclipse.persistence/javax.persistence/2.2.0: Karaf
>  - mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final:
> hibernate
>
> Annotations:
>  - mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1:
> openjpa
>  - mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1:
> pax-web, Karaf
>
> JSR 330
>  - mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0:
> pax-web-tomcat
>  -
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2:
> pax-web, pax-cdi, Karaf
>
> JTA:
>  - mvn:javax.transaction/javax.transaction-api/1.2: Karaf, pax-cdi
>  - mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1: pax-transx,
> pax-web, Karaf
>  -
> mvn:org.jboss.spec.javax.transaction/jboss-transaction-api_1.2_spec/1.0.1.Final:
> hibernate
>
> And other "conflicts":
>
>  - commons-codec/commons-codec: Karaf uses 1.10 and pax-web uses 1.8
>  - org.apache.aries/org.apache.aries.util: Karaf uses 1.1.3, pax-web uses
> 1.1.0
>  - org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle: Karaf
> uses 1.2, pax-web uses 1.0.10
>  - org.apache.commons/commons-pool2: Karaf uses 2.4.2, pax-jdbc and
> pax-jms use 2.5.0
>  - org.apache.xbean/xbean-*: openjpa, pax-cdi, pax-web and Karaf use
> different versions
>  - org.ow2.asm/*: Karaf uses 7.0, pax-web uses 6.2
>  - pax-transx: Karaf uses 0.4.1, but at the same time, pax-jdbc 1.3.1
> references 0.3.0 - I'll take care of this
>  - hibernate-ehcache feature declares <bundle> for slf4j-api - which
> should be changed
>  -
> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1
> - there's both version 2.5.0 and 2.9.0 used
>  - after I updated Karaf to pax-url 2.6.1, pax-web still "brings in"
> pax-url-war 2.5.2
>  - pax-jdbc: Karaf uses 1.3.1, while pax-cdi uses 0.5.0 - I'll take care
> of this.
>  - Narayana: pax-jdbc uses 5.2.8, pax-jms uses 5.6.3 - I'll take care of
> this.
>  - JBoss-Logging: used at different versions (3.3.0 and 3.3.2)
>
> regards
> Grzegorz Grzybek
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message