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

Add : prefix to artifactId in liberty:dev sample command #1562

Merged
merged 4 commits into from
Jul 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ To start dev mode on a multi module project by using the short-form `liberty` na
$ mvn liberty:dev
```

Liberty server configuration files (such as `server.xml`) will be used from the module that does not have any other modules depending on it. If there is more than one module without other modules depending on it, specify which module with Liberty configuration that you want to use by including the parameters `-pl <module-with-liberty-config> -am`.
For example, to use Liberty configuration from a module named `ear`, run:
Liberty server configuration files (such as `server.xml`) will be used from the module that does not have any other modules depending on it. If there is more than one module without other modules depending on it, specify which module with Liberty configuration that you want to use by including the parameters `-pl :<module-with-liberty-config-artifact-id> -am`.
For example, to use Liberty configuration from a module with artifact id `ear`, run:
```
$ mvn liberty:dev -pl ear -am
$ mvn liberty:dev -pl :ear -am
```

lmsurpre marked this conversation as resolved.
Show resolved Hide resolved
More details on the `--projects` flag (`-pl` for short) can be found at https://maven.apache.org/guides/mini/guide-multiple-modules-4.html#inclusion-and-exclusion.

###### Examples

The examples below apply regardless of whether you are using a single module or multi module project.
Expand Down