You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,9 @@ Facilitate manipulation such as managing POM dependencies through CLI (command l
14
14
15
15
== How to use it
16
16
17
-
==== Add a dependency
18
-
19
-
Let's suppose that you need to add JUnit Jupiter version 5.9.2 into your POM in the test scope, you could perform the following command inside on the target maven project:
It's a Maven plugin then you may register the groupId into your `settings.xml` pluginGroups node :
27
-
17
+
[TIP]
18
+
===============================
19
+
In order to make easier the plugin utilization we can register the groupId into the `settings.xml` like the snipped code below:
28
20
[source,xml]
29
21
----
30
22
<settings >
@@ -35,15 +27,30 @@ It's a Maven plugin then you may register the groupId into your `settings.xml` p
35
27
<!-- snipped -->
36
28
</settings>
37
29
----
30
+
With that, we will be able to perform the plugin by using its prefix.
31
+
So, instead of to perform the plugin by the following command:
32
+
[source, sh]
33
+
----
34
+
mvn br.org.soujava:pom-editor-maven-plugin:<GOAL>
35
+
----
36
+
We may perform it just providing its prefix like below:
37
+
[source, sh]
38
+
----
39
+
mvn pom-editor:<GOAL>
40
+
----
41
+
In the documentation, we'll assume that you have done this configuration.
42
+
===============================
38
43
39
-
Then you'll be able to perform the plugin by its prefix:
44
+
=== Add a dependency
40
45
41
-
[source,sh]
46
+
Let's suppose that you need to add JUnit Jupiter version 5.9.2 into your POM in the test scope, you could perform the following command inside on the target maven project:
0 commit comments