linzeqipku / maven-repo

Maven repository for linzeqipku's binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is linzeqipku’s Maven repository !

How to use it

Add this in your pom.xml file:

<repositories>
    <repository>
        <id>linzeqipku-public-snapshots</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/snapshots</url>
    </repository>
    <repository>
        <id>linzeqipku-public-releases</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/releases</url>
    </repository>
</repositories>

To deploy in this Maven repository

Add this in the pom.xml of the artifact to be deployed:

 <distributionManagement>
    <repository>
        <id>repo</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/releases</url>
    </repository>
    <snapshotRepository>
        <id>snapshot-repo</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/snapshots</url>
    </snapshotRepository>
</distributionManagement>

Clone the git repository locally :

$> git clone https://github.com/linzeqipku/maven-repo.git

Then deploy the files in your local repo (beware if it is a release or a snapshot !!!):

$> mvn -DaltDeploymentRepository=snapshot-repo::default::file:PATH_TO/maven-repo/snapshots/ clean deploy

And commit and push your changes to github:


$> git commit -m "MESSAGE"
$> git push origin master

About

Maven repository for linzeqipku's binaries