-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Lab 19, added changes to Instructions in Exercise 1 Task 2, fix for M… #84
Conversation
|
Lab 19, added changes to Instructions in Exercise 1 Task 2, Added instructions to fix Maven build by modifying pom.xml. The latest Maven release of 3.8.1 blocks HTTP artifactories, Students will have to use HTTPS instead of HTTP under PluginRepositories section of the pom.xml file. |
|
I ran this lab and can confirm the problem with HTTP repositories and that the given solution works. Maven 3.8.1 release notes specify the change to disallow unsecure repositories: https://maven.apache.org/docs/3.8.1/release-notes.html. |
mkennten
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@preethidoss1221 Can you please run a quick spell/grammar check on our changes. Some examples: Identify (small i), url (all capitals), "Once the Commit button is enabled...", Vertical (small v), (please use the previous wording), "the" pom.xml file...
mkennten
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, please correct the issues I commented on
| 1. On the **Pipelines** pane, select the **WhiteSourceBolt** build definition, click **Run pipeline** and, on the **Run pipeline** pane, click **Run** to trigger a build. | ||
| 1. On your lab computer, in the web browser window displaying the Azure DevOps portal with the **WhiteSource Bolt** project open, in the vertical menu bar on the left side, click **Repos** and navigate to **WebGoat**. | ||
|
|
||
| > **Note**: As the project uses Maven to compile the project files, latest Maven release of 3.8.1 blocks HTTP artifactories. To successfully build the project, you will have to change the pom.xml file of the Project, to use HTTPS instead of HTTP. Perform below step for this purpose. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the" latest Maven release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file of the Project ==> file of the project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Perform below steps" (plural)
|
|
||
| > **Note**: As the project uses Maven to compile the project files, latest Maven release of 3.8.1 blocks HTTP artifactories. To successfully build the project, you will have to change the pom.xml file of the Project, to use HTTPS instead of HTTP. Perform below step for this purpose. | ||
| 1. Inside **webgoat-container** project file, identify the pom.xml file and click on **Edit** on the top right corner. Search for the section **pluginRepositories** inside the pom.xml file. Change the URL http://repository.apache.org/snapshots/ to https://repository.apache.org/snapshots/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Inside the webgoat-container project file"
|
|
||
| 1. Once the **Commit** button is enabled after your edits, click on **Commit**. | ||
|
|
||
| 1. In the vertical menu bar on the left side, navigate to **Pipelines** section and click **Pipelines**. Observe the build, while it has automatically triggered due to the commit action performed in the previous step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"navigate to the Pipelines section"
"while it has been automatically triggered by the commit performed in the previous step."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…aven build.
Module: 19
Lab:19
Lab 19, added changes to Instructions in Exercise 1 Task 2, Added instructions to fix Maven build by modifying pom.xml. The latest Maven release of 3.8.1 blocks HTTP artifactories, Students will have to use HTTPS instead of HTTP under PluginRepositories section of the pom.xml file.