Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskatos/thirdparties-maven-plugin
A maven plugin to easily download external resources and attach them as classified artifacts
https://github.com/eskatos/thirdparties-maven-plugin
Last synced: about 2 months ago
JSON representation
A maven plugin to easily download external resources and attach them as classified artifacts
- Host: GitHub
- URL: https://github.com/eskatos/thirdparties-maven-plugin
- Owner: eskatos
- Created: 2011-06-20T10:40:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-26T11:26:43.000Z (over 13 years ago)
- Last Synced: 2024-11-01T20:06:33.635Z (3 months ago)
- Language: Java
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# thirdparties-maven-plugin
thirdparties-maven-plugin easily download external resources and attach them as classified artifacts.
The project is hosted in maven central.
[here](http://search.maven.org/#search%7Cga%7C1%7Cthirdparties-maven-plugin) you'll find a quick copy/paste for the dependency.## Attach third party files as classified artifacts
Use the following goal: attached
### Configuration using a property file
${project.basedir}/src/main/thirdparties/yours.properties
Property file syntax is as follow:
[classifier].[type].src=[url]
[classifier].[type].md5=[md5]Here is a quick example:
foo.tar.gz.src=http://example.com/Foo-1.2.3-r5635.tar.gz
foo.tar.gz.md5=94c331b029ab45d7db5d39cccacdf0e1The md5 statement is optional and used only if present.
If absent a file that already exists is not downloaded.### Configuration inside the POM
Here is a quick example:
foo
tar.gz
http://example.com/Foo-1.2.3-r5635.tar.gz
94c331b029ab45d7db5d39cccacdf0e1
## Replace project main artifact with a third party file
Use the following goal: artifact
### Configuration inside the POM
Here is a quick example:
http://example.com/Foo-1.2.3-r5635.jar
60851505f87a3569db7e143f573c2904
http://example.com/Foo-1.2.3-r5635-sources.jar
b59ed2eeea343c22ddf38d606ecfff2d
http://example.com/Foo-1.2.3-r5635-javadoc.jar
f24bc8e443d8ee4f911020f83b34b444