Skip to content
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

#179 Fix false detection of 'clean-only' builds (regression from #166) #182

Merged

Conversation

HannesWell
Copy link
Member

@HannesWell HannesWell commented Jul 9, 2021

This PR fixes issue #179.
If default goals are used Maven can be invoked without specifying goals explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant false detected a clean-only build and skipped dependency/target-platform resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the described case.

…ion from eclipse-tycho#166)

If default goals are used Maven can be invoked without specifying goals
explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant
false detected a clean-only build and skipped dependency/target-platform
resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the
described case.
@mickaelistria mickaelistria merged commit ac30b1f into eclipse-tycho:master Jul 9, 2021
@HannesWell HannesWell deleted the fixFalseCleanBuildDetection branch July 10, 2021 08:44
@mickaelistria mickaelistria added this to the 2.5 milestone Jul 13, 2021
@mickaelistria mickaelistria linked an issue Jul 19, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Xtext does no longer build with the Tycho 2.4 release candidate
2 participants