Skip to content

Commit

Permalink
Add support to read properties from the POM
Browse files Browse the repository at this point in the history
  • Loading branch information
andirady committed Aug 3, 2024
1 parent ea7d762 commit 2355e5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,16 @@ pom set maven.compiler.source=17 maven.compiler.source=17
pom set maven.compiler.{source,target}=17
```

### Reading properties

```bash
# Get property from default profile
pom get maven.compiler.source

# Set property from specific profile
pom -P test get maven.compiler.source
```

### Search

```bash
Expand Down

0 comments on commit 2355e5b

Please sign in to comment.