1:maven command Download source code and Javadocs
When using Maven in the IDE, if you want to see the source code and Javadoc for the class in the referenced Jar pack and then introduce it, you can easily achieve this by using the MVN command:
Copy Code code as follows:
MVN dependency:sources
MVN Dependency:resolve-dclassifier=javadoc
Command usage: First go to the appropriate Pom.x
Original address:https://www.cnblogs.com/memento/p/9153012.htmlAdd a "repositories" file under the C:\Users\ user name \.SBT directory, note that there is no suffix ~Add the following content:[Repositories] Local osc:http://maven.aliyun.com/nexus/content/groups/public typesafe:http://repo.typesafe.com/ Typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaversion]/) (sbt_[sbtversion]/) [revision]/[type]s/[ Artifact] (-[classifier]). [ext], bootonly sonatype-oss-releases maven-central
Download sources and Javadocs with the Maven menu there is no response, or command to force.Use the parameters to download the source package and Doc package:-ddownloadsources=true Download Source code jar-ddownloadjavadocs=true Download Javadoc PackageMVN dependency:sources
Reference: http://blog.csdn.net/u010154380/article/details/70339538During the development process, when adding pom in Pom.xml, the default is to download from the central repository, but the download speed is very slow, more than a certain amount of time may feel that eclipse is stuck.The workaround is to add the Ali image to Maven.The specific steps are:1. Locate the settings.xml file under the Conf folder
Li Wu:Learn to think more, honouring teachers save Thanksgiving. Leaf See root Three return one, living water Qingyuan hidden in zero.Meekness The Lord of Conscience, Haoyuedangkong the King of Freedom. Willing to give the most ascetic no regrets, sincere advice and the line and cherish.
The verification time is: 2017-10-08
Download URL: http://commons.apache.org/proper/commons-beanutils/
Download
1. In the Eclipse Windows-properties->maven option, then view the menu on the right to find the Download Artifact Sources option tick, or tick Javadoc if you want to download Downlo Adartifact JavaDOC option. Click Apply and OK.2. Go back to the Eclipse project right-click Project Find MAVEN option Select Update Project ... Option to go down to the latest code, at which point the source we need is also down
Tags: ALT pac logs img org. com Excellent study hardLi Wu:Learn to think more, honouring teachers save Thanksgiving. Leaf See root Three return one, living water Qingyuan hidden in zero.Meekness The Lord of Conscience, Haoyuedangkong the King of Freedom. Willing to give the most ascetic no regrets, sincere advice and the line and cherish.
The verification time is: 2017-10-08
Download URL: http://commons.apache.org/proper/commons-dbutils/do
Li Wu:Learn to think more, honouring teachers save Thanksgiving. Leaf See root Three return one, living water Qingyuan hidden in zero.Meekness The Lord of Conscience, Haoyuedangkong the King of Freedom. Willing to give the most ascetic no regrets, sincere advice and the line and cherish.
The verification time is: 2017-10-08
Download URL: http://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
Encountered a problem in the project, the use of push middleware, the results using MAVEN download is not down, then directly after the manual download, copy to the local repository,There was a problem when the results were released.Because the release is directly on the test server, the submitted SVN code is packaged and published.At that time had been struggling to modify the default central warehouse, ad
At chance, I have a quick search to download the jar package website. It covers all the world's most open-source jar packages, feeling that this feature is particularly suitable for Java, Android developers to use, shared out to everyone quietly.Baidu: Manyjar, you can find this jar to
Now http://repo.spring.io/release/org/springframework/spring/The first kind, simple and rude direct
1
http://repo.springsource.org/libs-release-local/org/springframework/spring/3.2.4.RELEASE/spring-framework-3.2.4.RELEASE-dist.zip
Stick directly to the Address bar or download tool, each time there is an update as long as the version number can be;The second Kind
1
http://repo.springsource.org/libs-r
Maven Central Warehouse, originally have Oschina can use, now off. It seems to be possible to find Alibaba cloud recently. The configuration is as follows:
or add it directly to the repositories:
You can enjoy the download speed of the general flight.
The original MAVEN address should be:
http://repo1.maven.org/maven2/
There is another: http://central.maven.org/maven2/
But it was too slow.
Inside the Gradle is configured as follows:
repositor
SPRING:HTTP://DOCS.SPRING.IO/DOWNLOADS/NIGHTLY/SNAPSHOT-DOWNLOAD.PHP?PROJECT=SPR;spring:http://repo.spring.io/release/org/springframework/spring/;mysql:http://mirrors.sohu.com/mysql/;hibernate:http://sourceforge.net/projects/hibernate/files/;struts:http://archive.apache.org/dist/struts/binaries/;tomcat:http://tomcat.apache.org/;Gradle:http://www.gradle.org/downloads;cas-server:http://developer.jasig.org/cas/;cas-client:http://developer.jasig.org/cas-clients/;Java Development Framework full
Network transmission problems between PC and Maven
Open the. M2 Local repository directory, through the search function of the win folder, find the *.lastupdated, and then delete all the found files
Re-Maven Update Project,
Tick on force Update of Snapshots/releases when operating in eclipse
If you add the-u parameter to the command-line operation
In general, the above method solves the problem. If the problem persists, verify that the network is unblocked between the h
MAVEN official Jar Package libraries is a foreign warehouse, download compare turtle speed, here recommended Alibaba Cloud Central warehouse:
Open the Conf/settings.xml under the MAVEN Local installation address, locate the
Also recommended two more good Maven center warehouse, easy to find:
1, http://mvnrepository.com/
2, http://maven.aliyun.com/nexus/
Original address: 790154561. Download the Maven Tarball and unzip it to the Maven folder in addition to the C drive 2. Create a new repository file in the extracted Maven sibling directory to store various jar Packages 3.-->conf--> of the Unpacked folder Settings.xml file, open with Notepad tool 1) Set the location of the warehouse where the default jar package i
The recent example of using Gradle to run some spring is particularly slow when downloading some jars because it is a foreign Maven repository that is visited.Open source China provides a domestic MAVEN library, so it can be set up in Gradle, providing access speed. In the Build.gradle file, add:Buildscript { repositories { "http://maven.oschina.net" } mavenlocal () mavencentral ( ) }}"Http://maven.oschina.net" is the address of the open source China Maven library.Conf
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.