在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):maven-download-plugin/maven-download-plugin开源软件地址(OpenSource Url):https://github.com/maven-download-plugin/maven-download-plugin开源编程语言(OpenSource Language):Java 88.9%开源软件介绍(OpenSource Introduction):Download Plugin for MavenThis is a plugin meant to help maven user to download different files on different protocol in part of maven build. The plugin caches downloaded files in maven cache directory, which saves network trafic and speedup build. Project StatusFunctional but not under active development. We accept pull requests, and generally get them merged within a week or 2 depending on the complexity. EnableThis Maven plugin should be available on Maven Central. But in case you can't find it on Central for some reason, here is the repository to add to your pom: <pluginRepository>
<id>sonatype-public-repository</id>
<url>https://oss.sonatype.org/content/groups/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository> You can use some alternative repositories. See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-4.MavenRepositories for details. Basic Usage"Artifact" goalMeant to be used from anywhere on the system to download an artifact at a specific location. Does not need a pom file to be run and can be used directly from the command line. Can be an alternative to maven-dependency-plugin:get or maven-dependency-plugin:unpack mojoes.
"WGet" goalThis is meant to provide the necessary tooling for downloading anything in your Maven build without having to use Ant scripts. It provides caching and checksum verification. <plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.8</version>
<executions>
<execution>
<id>install-jbpm</id>
<phase>pre-integration-test</phase>
<goals>
<goal>wget</goal>
</goals>
</execution>
</executions>
<configuration>
<url>http://downloads.sourceforge.net/project/jbpm/jBPM%203/jbpm-3.1.4/jbpm-3.1.4.zip</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}/jbpm-3.1.4</outputDirectory>
<md5>df65b5642f33676313ebe4d5b69a3fff</md5>
</configuration>
</plugin> Known issues and workaroundsIO Error: No such archiverHappens when the plugin is instructed to unarchive file but the file has unsupported extension Solution: Specify WARNING about artifactIdUntil version 1.1, the plugin artifactId used to be maven-download-plugin, however Maven conventions makes that this name is not allowed for a plugin which is not part of the Apache Maven project. So starting from version 1.2-SNAPSHOT, the plugin artifactId is download-maven-plugin. The following documentation will get updated when releasing download-maven-plugin:1.2. HelpMaven helpTo get basic plugin help, type in the command :
To get a more detailed help, type command :
Generated documentationSee also generated documentation pages for 1.6.8 and for snapshot. Mailing-listSee https://groups.google.com/forum/?fromgroups#!forum/maven-download-plugin Issue Tracker and wikis...Are maintained at GitHub (links above). ContributeThis project support GitHub PR, but enforce some rules for decent tracking: 1 Change Request == 1 PR == 1 commit, if a change can be made by iterations, then use a specific PR for each iteration. Ideally, every bugfix should be supplied with a unit or integration test. Other linksFormer project page at Google Code: http://code.google.com/p/maven-download-plugin/ |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论