Skip to content

floreysoft/maven-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven internal repository

<repositories>

    <repository>
        <id>floreysoft-releases</id>
        <url>https://github.com/floreysoft/maven-repo/raw/master/releases</url>
    </repository>

    <repository>
        <id>floreysoft-snapshots</id>
        <url>https://github.com/floreysoft/maven-repo/raw/master/snapshots</url>
    </repository>

<repositories>

Deploy to local maven-repo:

  • Clone the maven-repo project on the same folder level of this project.

  • Run yarn deploy on the module you want to publish. This will deploy to the maven-repo only on local machine. Changes will still be pending.

Publishing Snapshots:

  • Deploy to local maven-repo with -SNAPSHOT appended to project version

  • Push changes to github.

Publishing Releases:

  • Remove the -SNAPSHOT tail from project version

  • Tag and commit the code

  • Deploy to local maven-repo

  • Push changes to github

Install an external jar not found on public central repo:

mvn install:install-file -Dfile=path-to-jar -DgroupId=group-id -DartifactId=artifact-id -Dversion=version -Dpackaging=jar -DlocalRepositoryPath=maven-repo/releases

Reference:

https://cemerick.com/2010/08/24/hosting-maven-repos-on-github/

About

Maven internal repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published