New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the artifacts generated from JIRO lb_2052_maven_tycho branch #324
Comments
@cdietrich I adapted the Wizard generator (not yet the domainmodel example) and I see the failure for Maven projects, e.g., https://github.com/LorenzoBettini/xtext-reference-projects/actions/runs/4143942852/jobs/7166402228 I don't understand the root of the problem, but it looks like
@szarnekow do you have a clue of what might go wrong here? |
I'd assume some jar on the CP is corrupt |
mh... I can reproduce it locally and in the download log (which, by the way, is suppressed on the GitHub Actions configuration, but it should never be for easier debugging):
So, it takes more recent stuff from sonatype snapshots and things get mixed up with the older snapshots from JIRO. I thought that not enabling sonatype snapshots was enough, but it looks like sonatype snapshots must be explicitly disabled. I'll check that... |
mh... interesting: it looks like our project wizards explicitly disable sonatype snapshots ONLY for Tycho projects, not for pure Maven projects. This looks wrong to me. In fact, I hit the above problems (while the Tycho projects build fine). @cdietrich do you know why we generate the POM instructions for disabling sonatype snapshots only for Tycho projects? |
Yes, the problem was that sonatype snapshots were used and I guess things got mixed up. @cdietrich If I understand correctly what you were proposing for locally and temporarily adapting the wizard I did this: LorenzoBettini/xtext-core@45066e2 but that was not enough: I had to do this as well (disabling explicitly sonatype snapshots): LorenzoBettini/xtext-core@07f4fa7 The regenerated projects can be found here: https://github.com/LorenzoBettini/xtext-reference-projects/tree/lb_2052_maven_tycho I have to stop now, and I'd leave domainmodel to you, OK? |
@LorenzoBettini yes of course i meant also disabling sonatype. sorry to be too imprecise (though this was obvious) i also dont the the tycho non tycho thing. you mean this one: this is cause this only breaks in tycho |
pushed changes incl domainmodel to |
And everything is green, isn't it? |
See eclipse/xtext#2135 (comment)
Branch: https://github.com/LorenzoBettini/xtext-reference-projects/tree/lb_2052_maven_tycho
The text was updated successfully, but these errors were encountered: