Closed eliericha closed 1 year ago
can you run with -Dmaven.repo.local=somedir? the 1-maven-build.sh should already do it
That works, but it's a bulky solution. In any case even if that was the solution, I suggest to document it in case other people run into the same issue.
PR welcome
docu was updated
Hello,
Following the build instructions at the root of the repository, I ran
mvn clean verify
and got the following error:According to this Tycho issue, this occurs when using Tycho 2.6.0 and 2.7.0+ over the same ~/.m2 Maven repository.
After digging in the Xtext POMs I found that Tycho 2.6.0 is being used because the default profile is
r202203
, and indeed I am using newer versions of Tycho in other projects. So to get a working build/test I had to runmvn -P latest clean verify
to get Tycho 2.7.5 to be used.I think I understand that we can't move away from Tycho 2.6.0 yet because of #1931.
Should this be documented in the build instructions for newcomers? Or is the plan to bump the default profile soon and the problem goes away?
Thanks.