Skip to content

Commit

Permalink
feat(#291): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Nov 22, 2023
1 parent a4b0482 commit 34b1a6f
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ mvn com.github.volodya-lombrozo:jtcop-maven-plugin:check
```

or short version:

```shell
mvn jtcop:check
```
Expand All @@ -45,34 +46,32 @@ just run the next maven command with specified version:
```shell
mvn com.github.volodya-lombrozo:jtcop-maven-plugin:0.1.16:check
```

or snapshot version:

```shell
mvn com.github.volodya-lombrozo:jtcop-maven-plugin:1.0-SNAPSHOT:check
```

### Add the plugin to your `pom.xml`

The more convenient way to use the plugin is to add it to your `pom.xml` file.
In order to do that, just add the next snippet to your `pom.xml`:
The more convenient way to use the plugin is to add it to `pom.xml` file.
In order to do that, just add the next snippet to the `<plugins>` section:

```xml

<build>
<plugins>
<plugin>
<groupId>com.github.volodya-lombrozo</groupId>
<artifactId>jtcop-maven-plugin</artifactId>
<version>0.1.16</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<plugin>
<groupId>com.github.volodya-lombrozo</groupId>
<artifactId>jtcop-maven-plugin</artifactId>
<version>0.1.16</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
```

The default plugin phase is `verify`, so you don't need to specify it directly,
Expand Down

0 comments on commit 34b1a6f

Please sign in to comment.