https://github.com/tzolov/maven-repo
Custom public maven repository
https://github.com/tzolov/maven-repo
Last synced: 5 months ago
JSON representation
Custom public maven repository
- Host: GitHub
- URL: https://github.com/tzolov/maven-repo
- Owner: tzolov
- Created: 2014-06-22T17:24:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-04T08:17:31.000Z (over 10 years ago)
- Last Synced: 2025-01-05T13:27:31.526Z (6 months ago)
- Size: 2.43 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Install JAR
===
Place the JAR file in the local Git repository by letting Maven perform an install:
```
mvn install:install-file
-DgroupId=[group-id]
-DartifactId=[artifact-id]
-Dversion=[version]
-Dpackaging=[packaging-format]
-Dfile=[path-to-file]
-DlocalRepositoryPath=[path-to-git-repo]
```
* `[group-id]`, `[artifact-id]`, `[version]` and `[packaging-format]` - define the Maven properties of the file to install.
* `[path-to-file]` - path to the JAR file to install.
* `[path-to-git-repo]` - path to the local maven-repo Git repository on your computer.This command creates a folder structure in the local Git repository that is usable as a Maven repo. Commit the changes, that were made by executing the Maven install command, to the local Git repository. Publish the updated repository to GitHub. The JAR file is now ready to be used in a Maven POM file.
Use maven-repo
==========
Add the tzolov GitHub maven repository to the POM file of the project:
```git-tzolov
tzolov's Git based repo
https://github.com/tzolov/maven-repo/raw/master/```