OpenLiberty / guide-maven-intro

An introductory guide on how to build applications using Maven on Open Liberty: https://openliberty.io/guides/maven-intro.html
Other
20 stars 34 forks source link

Qa to Master: dev mode #71

Closed evelinec closed 4 years ago

evelinec commented 4 years ago

66

evelinec commented 4 years ago
<!--
                <configuration>
                    <serverName>guideServer</serverName>
                </configuration>
                -->

Looks like the above is described in the guide: In the liberty-maven-plugin plugin section, you can add a <configuration/> element to specify Open Liberty configuration details. Then, perhaps for this guide, this config should be used and shown, ie, not to be commented out?

For example, you can add the <serverName/> field to define the name of the Open Liberty server that Maven creates.

/**
     * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
     */
/**
     * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
     */
diff -r start/src/main/liberty/config/server.xml finish/src/main/liberty/config/server.xml
10,11c10,13
<     <httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}" id="defaultHttpEndpoint"  host="*" />
< 
---
>     <!-- tag::httpEndpoint[] -->
>     <httpEndpoint httpPort="${default.http.port}" 
>     httpsPort="${default.https.port}" id="defaultHttpEndpoint"  host="*" />
>     <!-- end::httpEndpoint[] -->
13d14
< 
evelinec commented 4 years ago

Others are good. Review/tests done via #72.

NimG98 commented 4 years ago

Addressed feedback: https://github.com/OpenLiberty/guide-maven-intro/pull/75

NimG98 commented 4 years ago

Didn't address:

The license year for pom.xml should be updated to: / Copyright (c) 2017, 2019 IBM Corporation and others.

There is no license in the pom.xml

evelinec commented 4 years ago

Didn't address:

The license year for pom.xml should be updated to: / Copyright (c) 2017, 2019 IBM Corporation and others.

There is no license in the pom.xml

It's the readme.adoc :)

NimG98 commented 4 years ago

License year for readme fixed here: https://github.com/OpenLiberty/guide-maven-intro/pull/75/commits/904b558b9d797c59ffaeafc187b81c44251d0765

evelinec commented 4 years ago

Changes look good on qa site.

NimG98 commented 4 years ago

ID feedback addressed here: https://github.com/OpenLiberty/guide-maven-intro/pull/78

evelinec commented 4 years ago

Merged and request master site refresh.