Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jitpack-io committed Jun 4, 2015
1 parent 3556c0a commit 440209f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
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>
```

0 comments on commit 440209f

Please sign in to comment.