hosted maven repository

Alibabacloud.com offers a wide variety of articles about hosted maven repository, easily find your hosted maven repository information here online.

Install the local jar package into the repository in Maven

The command is as follows: MVN install:install-file-dgroupid= Example: MVN Install:install-file-dgroupid=com.jacob-dartifactid=jacob-dversion=1.18-m2-dfile=e:/wordapplier/jacob.jar- Dpackaging=jar-dgeneratepom=true After successful execution,Add dependencies in the Pom.xml file: Install the local jar package into the repository in Maven

Installing the jar package into the MAVEN local repository

Note: Sometimes we feel that the official supply of the jar package is not suitable for their own business scenario or the JDK version is incompatible, the need to decompile the jar to modify the logic itself, so that the resulting jar package and the official difference is not very good, the deletion of the official is not appropriate, Use this command to install the jar package to the local repository for development testing. Preconditions: The sys

Adding the Oracle JDBC driver to the MAVEN repository

due to Oracle licensing issues, MAVEN3 does not provide Oracle JDBC driver, In order to apply the Oracle JDBC driver in a MAVEN project, you must manually add it to the local warehouse. first , to get the Oracle JDBC driver two ways 1. Download the appropriate version from the official Oracle website: http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html2. Obtained through the installation directory of ORACLE, located in "{Oracle_

Maven adds a jar not in the central repository

The jar file needs to be placed in the current directory, execute the following command, set the groupid,artifactid,version information to facilitate the project POM referencemvninstall:install-file-Dfile=xxx.jar -Dpackaging=jar -DgroupId=xxx -DartifactId=xxx -Dversion=xOnce executed, the jar can be loaded into the local repository, and the project may be directly used to introduce dependenciessuch as Sqljdbcmvn install:install-file-Dfile=sqljdbc4.jar

How Maven adds its own jar package to the local repository

1 Prepare a jar package that needs to be added to the local repositoryI have prepared a jar package called Mail.jar, which is placed under the E:\Install files directory2 The following shows how to add the prepared jar package to the local warehouse 1 syntaxMVN Install:install-file-dfile=jar Package Position (parameter i)-dgroupid=groupid (parameter II)-dartifactid=artifactid (Parameter III)-dversion=version ( Parameter four)-dpackaging=jar Note:"Install Files" has spaces in the middle, so doubl

Total Pages: 9 1 .... 5 6 7 8 9 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.