Skip to content


Github mvn repository #103

wants to merge 2 commits into from

2 participants


Hey Jan,

I needed to retrieve your project as a dependency in one our projects using apache maven. I just saw in the README that you would like to publish the project via maven anyway - so I checked out this article:
and followed it's instructions. The result is a adjusted POM-file. Building the project with maven allows now to commit the deployable resources to a own branch during the deploy phase. This branch could be used in other maven projects like a repository. So I'm able to declare the project as a normal maven dependency in one of my projects:


using repository:


in the repositories section of the pom.xml.

I hope I could helped a bit.


D. Häberlein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 34 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +31 −0 pom.xml
3 .gitignore
@@ -0,0 +1,3 @@
31 pom.xml
@@ -23,7 +23,16 @@
+ <>github</>
+ <distributionManagement>
+ <repository>
+ <id>internal.repo</id>
+ <name>Temporary Staging Repository</name>
+ <url>file://${}/mvn-repo</url>
+ </repository>
+ </distributionManagement>
@@ -72,6 +81,28 @@
+ <plugin>
+ <groupId>com.github.github</groupId>
+ <artifactId>site-maven-plugin</artifactId>
+ <version>0.7</version>
+ <configuration>
+ <message>Maven artifacts for ${project.version}</message>
+ <noJekyll>true</noJekyll>
+ <outputDirectory>${}/mvn-repo</outputDirectory>
+ <branch>refs/heads/mvn-repo</branch>
+ <includes><include>**/*</include></includes>
+ <repositoryName>JDBM3</repositoryName>
+ <repositoryOwner>TIQSolutions</repositoryOwner>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>site</goal>
+ </goals>
+ <phase>deploy</phase>
+ </execution>
+ </executions>
+ </plugin>
<!-- uncomment to enable proguard (strip down jar)-->
Something went wrong with that request. Please try again.