On 5 June 2014 19:06, Daniel Kulp <[email protected]> wrote:
>
>
> Everything should now compile with Java6 and Maven 3.2.1.
>
> Tests are another story……..
>
I think some of this has to do with using Equinox 3.5.0 in tests. Now
that we default to OSGi 4.3.1 our bundles are doing Import-Packge:
org.eclipse.osgi;version="[1.6,2)" but using Equinox 3.5.0 at runtime.
We need to move them up to 3.7. I took a look at the twitter-itest. I
got an error saying the level of pax 1.2.4 that was being used doesn't
support 3.5. The pom was overriding the default level of 1.7.2 now
being used for some of the pax modules, in the new parent pom. So
taking out those downgrade overrides gets me further, but hitting a
wall on this:
initializationError(org.apache.aries.sample.twitter.itest.TwitterTest)
Time elapsed: 0.006 sec <<< ERROR!
java.lang.reflect.InvocationTargetException: null
at org.ops4j.pax.exam.MavenUtils.getArtifactVersion(MavenUtils.java:69)
at org.ops4j.pax.exam.MavenUtils$1.getVersion(MavenUtils.java:102)
at
org.ops4j.pax.exam.options.MavenArtifactUrlReference.version(MavenArtifactUrlReference.java:110)
at
org.ops4j.pax.exam.options.MavenArtifactUrlReference.versionAsInProject(MavenArtifactUrlReference.java:118)
at
org.ops4j.pax.exam.options.MavenArtifactUrlReference.versionAsInProject(MavenArtifactUrlReference.java:29)
at
org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject(MavenArtifactProvisionOption.java:121)
at
org.apache.aries.sample.twitter.itest.AbstractIntegrationTest.mavenBundle(AbstractIntegrationTest.java:93)
at
org.apache.aries.sample.twitter.itest.TwitterTest.configuration(TwitterTest.java:125)
>
> Haven’t re-checked with Java 7 and Java 8.
>
>
> Dan
>
>
>
> On Jun 5, 2014, at 1:14 PM, Daniel Kulp <[email protected]> wrote:
>
> >
> > On Jun 5, 2014, at 12:22 PM, Samuel E Bratton <[email protected]> wrote:
> >
> >> Hi,
> >>
> >> The Aries builds have been red for about the last 5 days. It looks like a
> >> couple of different people have been working on fixing it. Is this a
> >> coordinated effort? Are there a particular set of JIRAs where this is
> >> going on and can be followed?
> >
> > From what I can tell, there are (at least) three efforts around the builds:
> >
> > 1) Update to support Maven 3.1/3.2 - I’m primarily working on this. Mostly
> > just trying to get things to compile/build with the newer Maven versions.
> > Haven’t really targeted any tests yet.
> >
> > 2) Update to support Java 8 - this is kind of two parts: (a) build with
> > java 8, and (b) tests run with java8. I believe JB is working on this.
> >
> > 3) Update to newer versions of Pax-exam - the version we were using is very
> > ancient. We’re trying to get up to a more modern version. Christian has
> > been working on this a bit.
> >
> >
> > Some of the instability right now I *think* is related to #2. Getting
> > everything updated to use the new ASM and not have various conflicts and
> > such is taking bit of time. Any help getting tests to pass again would be
> > great.
> >
> >
> > --
> > Daniel Kulp
> > [email protected] - http://dankulp.com/blog
> > Talend Community Coder - http://coders.talend.com
> >
>
> --
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>