File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1
1
Example Maven multi-module project
2
2
===
3
3
4
+ With multi-module projects the groupId becomes: com.github.User.Repo
5
+ And artifactId remains the same as in the module's pom file.
4
6
7
+ Module 1:
8
+ ``` xml
9
+ <dependency >
10
+ <groupId >com.github.jitpack.maven-modular</groupId >
11
+ <artifactId >module1</artifactId >
12
+ <version >1.1</version >
13
+ </dependency >
14
+ ```
15
+
16
+ Module 2:
17
+ ``` xml
18
+ <dependency >
19
+ <groupId >com.github.jitpack.maven-modular</groupId >
20
+ <artifactId >module2</artifactId >
21
+ <version >1.1</version >
22
+ </dependency >
23
+ ```
24
+
25
+ To get both of them together use the usual repository syntax:
26
+
27
+ ``` xml
28
+ <dependency >
29
+ <groupId >com.github.jitpack</groupId >
30
+ <artifactId >maven-modular</artifactId >
31
+ <version >1.1</version >
32
+ </dependency >
33
+ ```
You can’t perform that action at this time.
0 commit comments