An open API service indexing awesome lists of open source software.

https://github.com/xvik/mvn-repo


https://github.com/xvik/mvn-repo

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

mvn-repo
========

To use reposititory add to pom:


mvn-repo
https://raw.github.com/xvik/mvn-repo/master

true


true
daily


To upload single jar:
1. Checkout repository, e.g. into ~/mvn-repo
2. Uplaod jar
mvn deploy:deploy-file \
-Dfile=path_to_jar \
-DgroupId=... \
-DartifactId=...\
-Dversion=... \
-Dpackaging=jar \
-DgeneratePom=true \
-DcreateChecksum=true \
-Durl=file://~/mvn-repo
3. Push changes

To deploy artifacts with mvn deploy:
1. Add github plugin

com.github.github
site-maven-plugin
0.7

Maven artifacts for ${project.artifactId} ${project.version}
true
true
${project.build.directory}/mvn-repo
refs/heads/master
**/*
mvn-repo
xvik





site

deploy



2. Add property into properties section
github
3.Add


mvn-repo-github
Temporary Staging Repository
file://${project.build.directory}/mvn-repo


4. Set github credentials in ~/.m2/settings.xml (servers section):

github
USER
PASSWORD

5. perform mvn deploy