Maven Installation and Private Repository
Installation :
- Download file from :
- https://maven.apache.org/download.cgi
- https://dlcdn.apache.org/maven/maven-3/3.8.2/binaries/apache-maven-3.8.2-bin.tar.gz
- Extract it
- First choice developer can change the path
- [crayon-6684a9c9ba02c595763148/]
- Second Choice
- Linking the bin/mvn to /bin/mvn
- Third Choice
- User can install over linux package management system
- apt-get install mvn
- User can install over linux package management system
- First choice developer can change the path
Private Repository
- Archiva Installation
- Developer should download it first :
- https://archiva.apache.org/download.cgi
- https://ftp.fau.de/apache/archiva/2.2.5/binaries/apache-archiva-2.2.5-bin.tar.gz
- Developer should download it first :
- On Linux, the bin/archiva script is suitable for linking or copying to /etc/init.d/archiva and running as root, as long as the RUN_AS_USER environment variable is set within the script. This will allow you to start and stop the service with:
- [crayon-6684a9c9ba034539375392/]
Maven Command Line Examples :
[crayon-6684a9c9ba036002619837/]
Pom File Examples
[crayon-6684a9c9ba039147455766/]
Also Make Usage
[crayon-6684a9c9ba03b625884350/]
Ejb Build
[crayon-6684a9c9ba03e223640665/]
Single Fat Jar
[crayon-6684a9c9ba040164792688/]
Important Hibernate Libraries for Spring Data
Ref :
https://wpanas.github.io/tools/2018/01/28/maven-repo.html
- https://mkyong.com/maven/how-to-add-remote-repository-in-maven-pom-xml/
- https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
- https://stackoverflow.com/questions/20882622/maven-private-remote-repository-setup
- https://de.sonatype.com/nexus/repository-oss/download
- https://support.cloudbees.com/hc/en-us/articles/219872588-Configure-the-remote-Maven-repository-in-Jenkins-project-jobs
- https://ant.apache.org/manual/tutorial-tasks-filesets-properties.html
- https://stackoverflow.com/questions/15846106/can-i-use-the-same-ant-build-file-for-windows-and-unix
- https://raw.githubusercontent.com/YOUR_ORGANIZATION/YOUR_ARTIFACT/repository/
- https://gist.github.com/fernandezpablo85/03cf8b0cd2e7d8527063
- https://maven.apache.org/guides/introduction/introduction-to-repositories.html
- https://help.liferay.com/hc/en-us/articles/360018164871-Creating-a-Maven-Repository
- https://dzone.com/articles/how-to-setup-a-maven-repository-in-minutes
- https://mymavenrepo.com/
- https://medium.com/@medyo80/how-to-set-up-a-private-maven-repository-for-free-6d346bdcebea
- https://dev.to/fk/creating-private-maven-gradle-repository-2np3
- https://blog.packagecloud.io/eng/2017/03/26/private-maven-repositories-jenkins-gradle/
- https://thisinterestsme.com/downloading-files-curl-php/
- https://archiva.apache.org