Skip to content

Commit

Permalink
Fix #18 - Need properties goal on maven-dependency-plugin for `ar…
Browse files Browse the repository at this point in the history
…gLine` to work
  • Loading branch information
tginsberg committed Sep 21, 2024
1 parent 4f21232 commit 74be80f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ test {

#### 2. Enable the Java Agent

Add the `properties` goal to `maven-dependency-plugin`, to create properties for each dependency.
In `pom.xml`, add the `properties` goal to `maven-dependency-plugin`, in order to create properties for each dependency.

```xml
<plugin>
Expand All @@ -95,8 +95,8 @@ Add the `properties` goal to `maven-dependency-plugin`, to create properties for
</plugin>
```

Then add the following `<argLine/>` to your `pom.xml`, which references the property we just created for this library. This
should account for other Java Agents and run after any others you may have, such as JaCoCo.
Then add the following `<argLine/>` to `maven-surefire-plugin`, which references the property we just created for
this library. This should account for other Java Agents and run after any others you may have, such as JaCoCo.

```xml
<plugin>
Expand Down

0 comments on commit 74be80f

Please sign in to comment.