Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Lb issue 16 xtext maven plugin its #17

Merged

Conversation

LorenzoBettini
Copy link
Contributor

Closes #16

@@ -110,6 +115,21 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<!-- Needed by some of our IT projects:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonder why these are not accessible if just mention in the tests pom

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this cause of upstream repos not availble in mono build

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My intention and understanding of integration tests for maven plugins are that our artifacts should NOT be downloaded from remote repositories; this way, we're sure we're testing the integration projects with our current artifacts (the ones built from the current sources). Now that we're on a single project, this makes sense.

That's why we use the invoker plugin to create a self-contained .m2 repo with the needed Xtext artifacts.
Note that in the IT projects I've disabled completely sonatype snapshots, I only left lsp4j taken from JIRO.
This way, we're sure that we are self-contained concerning our artifacts.

In general, despite split or mono repo, we made a terrible mistake in not using another .m2 repository for running integration tests, risking of corrupting the current .m2 repo.

Does that answer your question? Or did you mean something else?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it does.

@LorenzoBettini
Copy link
Contributor Author

@cdietrich @szarnekow I'd like to merge this ASAP so that I can go experimenting with the release process

@cdietrich
Copy link
Member

@LorenzoBettini propose to merge. @szarnekow also can comment "after the fact"

@LorenzoBettini LorenzoBettini merged commit 2ccba87 into lb_issue_14_single_release Mar 23, 2023
@LorenzoBettini LorenzoBettini deleted the lb_issue_16_xtext-maven-plugin-its branch March 23, 2023 10:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants