Hi,
There are several details which are unclear to me:
- is this issue connected to our incquery-maven-compiler in any way? (You mention it but all entries in the commit are referring pom.xml files…) - exactly what issue has been solved by your changes? - what do you mean by “used on Hudson by default”? - can the idiosyncratic behavior (Java version vs JVM) of the Xtend builder be worked around somehow? (or better yet, reported to them via bugzilla?) - shouldn't this Maven dependency be mentioned in our developer documentation somewhere?
Istvan
On 25 Sep 2015 at 22:18:56, Ujhelyi Zoltán (ujhelyiz@xxxxxxxxxxxxxxxx) wrote: Hi,
today I had an issue on my computer with building IncQuery with Maven, where using the incquery-maven-compiler I got strange exceptions about signing of the Guice plug-in.
After a long debugging session, I found out the main issue was that the maven plug-in referenced dependencies two ways: directly as a Maven dependency and transitively as p2 dependency, and more than likely in my computer a combination was selected that were incompatible.
I managed to ask Maven not to use the transitive dependencies (https://git.eclipse.org/c/incquery/org.eclipse.incquery.git/commit/?id=0c07a0b45ab0e4f41380298d1c9544c5603a918e), that solved the issue, but had a side-effect: IncQuery cannot be built with Maven 3.0.5 (used on Hudson by default).
I tried with different versions: * 3.1 works, but throws a warning (that can be safely ignored, see http://stackoverflow.com/questions/547805/exclude-all-transitive-dependencies-of-a-single-dependency/7556707#7556707 and https://issues.apache.org/jira/browse/MNG-3832) * 3.3 does not throw this exception, but should not be used for the main incquery build, as it requires Java 7 to run - mainly, because Xtend sometimes uses the running JVM version instead of the Java compiler setting to determine what versions to use... * I did not test 3.2, but it should work, and the warning should also be fixed...
As Maven 3.1 is from 2013 (https://maven.apache.org/docs/history.html), I don’t think the minimum Maven requirement is a serious issue, but I wanted to give a heads up what to expect. If someone has some problems with this, lets discuss them.
Cheers, Zoli -- Zoltán Ujhelyi
Technology Expert IncQueryLabs Ltd.
_______________________________________________ incquery-dev mailing list incquery-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/incquery-dev -- István Ráth Research Fellow Fault Tolerant Systems Research Group Budapest University of Technology and Economics http://inf.mit.bme.hu/en/members/rath rath@xxxxxxxxxx |