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

Jenkins.io - Update "Build a Java app with Maven" for Java 17 #6552

Merged
merged 4 commits into from Jul 25, 2023

Conversation

kmartens27
Copy link
Contributor

As part of the Java 17 transition project, I have updated the Java/Maven tutorial to use 'maven:3.9.3-eclipse-temurin-17'.

I have also gone through and updated some of the wording/syntax and formatting of the document overall. There were several updates made for inclusive naming and accessibility purposes too. The formatting was a big part, and most of the changes had to do with this.

I tried my best to keep the instructions the same while improving the syntax, but there may be some instances where the change is not an improvement.

@kmartens27 kmartens27 requested a review from a team as a code owner July 19, 2023 21:26
@probot-autolabeler probot-autolabeler bot added the documentation Jenkins documentation, including user and developer docs, solution pages, etc. label Jul 19, 2023
Copy link
Contributor

@LizGaudet LizGaudet left a comment

Choose a reason for hiding this comment

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

lgtm

restart Jenkins, simply follow the restart instructions in
<<stopping-and-restarting-jenkins,Stopping and restarting Jenkins>> and then
proceed on.
This tutorial shows you how to use Jenkins to orchestrate building a simple Java application with https://maven.apache.org/[Maven].
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
This tutorial shows you how to use Jenkins to orchestrate building a simple Java application with https://maven.apache.org/[Maven].
This tutorial shows you how to use Jenkins to build a simple Java application with https://maven.apache.org/[Maven].

content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
The simple Java application, which you'll obtain from a sample repository on GitHub, outputs the string "Hello world!" and is accompanied by a couple of unit tests to check that the main application works as expected.
The results of these tests are saved to a JUnit XML report.

*Duration:* This tutorial takes 20-40 minutes to complete (assuming you've already met the <<prerequisites,prerequisites>> below).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
*Duration:* This tutorial takes 20-40 minutes to complete (assuming you've already met the <<prerequisites,prerequisites>> below).
*Duration:* This tutorial takes 20-40 minutes to complete, assuming you meet the below <<prerequisites,prerequisites>>.

Copy link
Contributor

Choose a reason for hiding this comment

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

content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Example needs a fix but all the rest looks good to me.

content/doc/tutorials/build-a-java-app-with-maven.adoc Outdated Show resolved Hide resolved
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Confirmed that the clone command displays correctly now. Ready to merge

@MarkEWaite MarkEWaite merged commit 517f3ed into jenkins-infra:master Jul 25, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Jenkins documentation, including user and developer docs, solution pages, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants