Indicate default runtimeArtifact in docs
### Liberty installation configuration
-### Using an existing installation
-
-Use the `installDirectory` parameter to specify the directory of an existing Liberty server installation. For example:
-
-```xml
-<plugin>
- <groupId>io.openliberty.tools</groupId>
- <artifactId>liberty-maven-plugin</artifactId>
- <configuration>
- <installDirectory>/opt/ibm/wlp</installDirectory>
- </configuration>
-</plugin>
-```
-
-### Using a packaged server
-
-Use the `runtimeArchive` parameter to specify a packaged server archive (created using `server package` command) that contains Liberty server files. For example:
-
-```xml
-<plugin>
- <groupId>io.openliberty.tools</groupId>
- <artifactId>liberty-maven-plugin</artifactId>
- <configuration>
- <runtimeArchive>/opt/ibm/wlp.zip</runtimeArchive>
- </configuration>
-</plugin>
-```
-
### Using a Maven artifact
-Use the `runtimeArtifact` parameter to specify the name of the Maven artifact that contains a custom Liberty server or use one of the provided on the [Maven Central repository](http://search.maven.org/).
+Use the `runtimeArtifact` parameter to specify the name of the Maven artifact that contains a custom Liberty server or use one of the provided on the [Maven Central repository](http://search.maven.org/). This is the default installation method. The default runtime artifact is the latest version of `io.openliberty:openliberty-kernel`.
The Maven Central repository includes the following Liberty runtime artifacts. Versions for each artifact can be found at the specified link.
@@ -65,6 +37,34 @@ Example for using the `runtimeArtifact` parameter:
</plugin>
```
+### Using an existing installation
+
+Use the `installDirectory` parameter to specify the directory of an existing Liberty server installation. For example:
+
+```xml
+<plugin>
+ <groupId>io.openliberty.tools</groupId>
+ <artifactId>liberty-maven-plugin</artifactId>
+ <configuration>
+ <installDirectory>/opt/ibm/wlp</installDirectory>
+ </configuration>
+</plugin>
+```
+
+### Using a packaged server
+
+Use the `runtimeArchive` parameter to specify a packaged server archive (created using `server package` command) that contains Liberty server files. For example:
+
+```xml
+<plugin>
+ <groupId>io.openliberty.tools</groupId>
+ <artifactId>liberty-maven-plugin</artifactId>
+ <configuration>
+ <runtimeArchive>/opt/ibm/wlp.zip</runtimeArchive>
+ </configuration>
+</plugin>
+```
+
### Using the `install-liberty` Ant Task
Use the `install` parameter to configure a runtime installation using the `install-liberty` Ant task. The Ant task allows you to install a Liberty runtime from a specified location (via `runtimeUrl`) or automatically resolve it from the [Wasdev Liberty repository](https://developer.ibm.com/wasdev/downloads/) or [Open Liberty repository](https://openliberty.io/downloads/) based on a version and a runtime type.
