maven pom.xml jar文件下載


If you need to download the jars instead of using a build system, create a Maven pom file like this with the desired version:

<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.netflix.zuul.download</groupId>
	<artifactId>zuul-download</artifactId>
	<version>1.0-SNAPSHOT</version>
	<name>Simple POM to download zuul-core and dependencies</name>
	<url>http://github.com/Netflix/zuul</url>
	<dependencies>
		<dependency>
			<groupId>com.netflix.zuul</groupId>
			<artifactId>zuul-core</artifactId>
			<version>1.0.0</version>
			<scope/>
		</dependency>
	</dependencies>
</project>

 

Then execute:

mvn -f download-zuul-pom.xml dependency:copy-dependencies

 

It will download zuul-core-*.jar and its dependencies into ./target/dependency/.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM