-
Notifications
You must be signed in to change notification settings - Fork 24
/
Maven.Recipe
35 lines (25 loc) · 1.03 KB
/
Maven.Recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
To update the maven files at
https://download.libvirt.org/maven2/org/libvirt/libvirt/
Run the build, upload the tarball, jars and rpms
then
mkdir tmp
cp pom.xml.in tmp/pom.xml
edit tmp/pom.xml to replace the @version@ byt the new one
cd tmp
cp ../target/libvirt-$version-javadoc.jar .
cp ../target/libvirt-$version-sources.jar .
cp ../target/libvirt-$version.jar .
then generate the GPG asc signatures
for i in pom.xml *.jar ; do gpg -ab $i ; done
then generate the checksums
for i in *.jar *.xml *.asc ; do md5sum $i > $i.md5 ; done
for i in *.jar *.xml *.asc ; do sha1sum $i > $i.sha1 ; done
create the directory on the server and upload everything there
scp * libvirt.org:/data/ftp/libvirt/maven2/org/libvirt/libvirt/$version/
check permissions on the server, edit the top maven-metadata-local.xml
add the new directory and update the timestamp
then
md5sum maven-metadata-local.xml > maven-metadata-local.xml.md5
sha1sum maven-metadata-local.xml > maven-metadata-local.xml.sha1
Fri Sep 13 23:22:39 CST 2013
Daniel Veillard <[email protected]>