Skip to content

jitpack/maven-modular

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 3, 2018 10:51
November 3, 2018 11:48
January 25, 2015 11:47
January 25, 2015 11:24
June 28, 2015 13:29
February 1, 2015 15:36

Example Maven multi-module project

This project has two maven modules:

  • module1
  • module2

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:

   <dependency>
      <groupId>com.github.jitpack.maven-modular</groupId>
      <artifactId>module1</artifactId>
      <version>1.1</version>
    </dependency>

Module 2:

    <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:

    <dependency>
      <groupId>com.github.jitpack</groupId>
      <artifactId>maven-modular</artifactId>
      <version>1.1</version>
    </dependency>

About

Example multi-module Maven project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages