I am new to Maven and trying to accomplish a simple task:
- create jar package and website [DONE]
- deploy them to a remote server using scp [DONE]
- the site should contain a download page with links to the deployed jar files [MISSING]
I do not want to use archiva or similar tools. I just want to have a (static, generated) page on the website with links to all the built-in banks (or just the latest build).
I tried:
- put
<item name="Downloads" href="download.html"/>in site.xml - mvn
commons:download-page - mvn
deploy site:deploy
What I get: these commands copy the jar file to the remote server:
{deploy-dir}/com.acme.etc/ArtifactID/0.0.2-SNAPSHOT/ArtifactID-0.0.2-SNAPSHOT.jar
generated download page points to
{deploy-dir}/target/site/[preferred]/commons/ArtifactID/binaries/ArtifactID-bin.tar.gz
, [if-any logo][end]. , script html. , .
, (, ), , , .
.