[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Upgrade 0.20 -> 0.21 (or 0.22-SNAPSHOT) fails running surefire-plugin
|
Hi Knut
I set my Java to java 8 and get
> java -version
> java version "1.8.0_11"
> Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
Adding export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64/ did not change anything
neither.
Also in my master pom.xml I have
> <plugin>
> <artifactId>maven-compiler-plugin </artifactId>
> <version>3.1</version>
> <configuration>
> <source>1.8</source>
> <target>1.8</target>
> <compilerId>jdt </compilerId>
> <compilerArgument>-err:nullAnnot,null </compilerArgument>
> </configuration>
> <dependencies>
> <dependency>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-compiler-jdt </artifactId>
> <version>${tycho-version}</version>
> </dependency>
> </dependencies>
> </plugin>
Also mvn --version reports a Java 8
> mvn --version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.8.0_11, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk-8-oracle-x64/jre
> Default locale: de_CH, platform encoding: UTF-8
> OS name: "linux", version: "3.16-3-amd64", arch: "amd64", family: "unix"
Best regards
Niklaus
Am Donnerstag, 13. November 2014, 22.07:24 schrieb Knut Wannheden:
> Hi all,
>
> I also remember seeing this. In my case the problem was that Maven was not
> executed using a Java 8 VM... So either set JAVA_HOME or, if you have this
> problem in Jenkins, try making sure it uses a Java 8 VM for this particular
> project.
>
> HTH,
>
> Knut
>
> On Thu, Nov 13, 2014 at 3:21 PM, Niklaus Giger <niklaus.giger@xxxxxxxxxxxxxx
> > wrote:
> >
> > Hi Ralph
> >
> > Thanks for pointing me to your bug report. I am unsure whether it is the
> > same
> > problem as in your case tycho-surefire fails to find a specified
> > dependency
> > whereas in my case it does not find the bundle for the test-plugin I try
> > to
> > build.
> >
> > Best regards
> >
> > Niklaus
> >
> > Am Donnerstag, 13. November 2014, 14.25:18 schrieb Ralph Gerbig:
> > > Hi Niklaus,
> > >
> > > I have the same problems with tests that do not run anymore. Even though
> >
> > I
> >
> > > added the dependencies to the target platform as extra requirement. My
> > > product under test is also part of the same maven build. Maybe you could
> > > check if this https://bugs.eclipse.org/bugs/show_bug.cgi?id=449363 is
> >
> > the
> >
> > > same that you encounter and add you to the bug.
> > >
> > > Best Regards,
> > >
> > > Ralph
> >
> > <..>
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
+41 (0)55 612 20 54 P
+41 (0)77 454 01 61 Mobil