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

Lb issue 14 single release #18

Merged

Conversation

LorenzoBettini
Copy link
Contributor

Closes #14

I think it's better to fail immediately instead of the end of long build
and run integration tests against the segregated local repository
looks like we save a few minutes
I think it's better to fail immediately instead of the end of long build
This way, we are sure we using our JARs in ITs.
This reverts commit e182d3f.
Otherwise the BOM is not GPG signed.
<module>../org.eclipse.xtext.generator</module>
<module>../org.eclipse.xtext.java</module>
<!-- This is required by the xtext-maven-plugin IT -->
<module>../org.eclipse.xtext.purexbase</module>
Copy link
Member

Choose a reason for hiding this comment

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

we also publish this to maven central meanwhile

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we also publish that.
With the monorepo I think it's not needed anymore to publish that, but we can leave it like that for the moment.
Or did you mean anything else?

Copy link
Member

Choose a reason for hiding this comment

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

am not sure about that. but i assume it does not harm to keep publishing it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's say that if someone wants to experiment with the xtext-maven-plugin with an existing example Xbase-DSL they can find purexbase on Central :)

@@ -330,6 +346,9 @@
</properties>
<build>
<plugins>
<!--
For the moment we do without
Copy link
Member

Choose a reason for hiding this comment

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

TODO change the urls once we move this to eclipse org

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean all references to the current monorepo?
I left other TODOs concerning that.

Copy link
Member

Choose a reason for hiding this comment

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

yes the new location will be /xtext as we had discussed before. but therefore sebastian first needs to do the archive step.

if: matrix.os == 'ubuntu-latest'
working-directory: org.eclipse.xtext.p2.releng
working-directory: org.eclipse.xtext.full.releng

- name: Build and test (in other OSes)
run: mvn clean verify -PuseJenkinsSnapshots
Copy link
Member

Choose a reason for hiding this comment

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

is the useJenkinsSnapshots profile still used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's still used for this:

${JENKINS_URL}/job/lsp4j/lastStableBuild/artifact/build/maven-repository

Copy link
Member

Choose a reason for hiding this comment

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

have to think about that

}

tools {
maven "apache-maven-3.8.6"
Copy link
Member

Choose a reason for hiding this comment

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

is the .6 intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, I copied that part from the current Jenkinsfiles, e.g., https://github.com/eclipse/xtext-core/blob/master/Jenkinsfile#L32

should I change that with a more recent version?

Copy link
Member

Choose a reason for hiding this comment

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

keep it for now. we can update later

@@ -0,0 +1,56 @@
To run the integration tests, the `target/.m2test` folder must first be populated with Maven dependencies and with the IT-SNAPSHOT jar of this Maven plugin.
Copy link
Member

Choose a reason for hiding this comment

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

very nice readme

@@ -280,6 +282,15 @@ private static Verifier newVerifier(String pathToTestProject) throws IOException
if (debug) {
verifier.setMavenDebug(debug);
}
String testMavenRepo = System.getProperty("testMavenRepo");
Copy link
Member

Choose a reason for hiding this comment

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

nice hint

@LorenzoBettini
Copy link
Contributor Author

@cdietrich so I'm going to merge

@LorenzoBettini LorenzoBettini merged commit 164b0e3 into lb_issue_11_nightly_deployment Mar 25, 2023
@LorenzoBettini LorenzoBettini deleted the lb_issue_14_single_release branch March 25, 2023 10:26
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.

None yet

2 participants