-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3556c0a
commit 440209f
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,33 @@ | ||
Example Maven multi-module project | ||
=== | ||
|
||
With multi-module projects the groupId becomes: com.github.User.Repo | ||
And artifactId remains the same as in the module's pom file. | ||
|
||
Module 1: | ||
```xml | ||
<dependency> | ||
<groupId>com.github.jitpack.maven-modular</groupId> | ||
<artifactId>module1</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
``` | ||
|
||
Module 2: | ||
```xml | ||
<dependency> | ||
<groupId>com.github.jitpack.maven-modular</groupId> | ||
<artifactId>module2</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
``` | ||
|
||
To get both of them together use the usual repository syntax: | ||
|
||
```xml | ||
<dependency> | ||
<groupId>com.github.jitpack</groupId> | ||
<artifactId>maven-modular</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
``` |