forked from querydsl/querydsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdist.sh
executable file
·24 lines (20 loc) · 837 Bytes
/
dist.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
rm -rf target/dist
mkdir -p target/dist
echo "Creating javadocs"
mvn javadoc:aggregate
echo "Creating release bundles"
for module in apt collections hibernate-search jpa jdo lucene3 lucene4 sql sql-codegen
do
cd ../querydsl-$module
mvn -Dtest=X clean assembly:assembly
done
echo "Creating reference documentation"
cd ../querydsl-docs
mkdir -p ../querydsl-root/target/dist/reference
mvn -Dxslthl.config=http://docbook.sourceforge.net/release/xsl/current/highlighting/xslthl-config.xml clean package
cp -R target/docbook/publish/en-US/* ../querydsl-root/target/dist/reference/
mvn -Dxslthl.config=http://docbook.sourceforge.net/release/xsl/current/highlighting/xslthl-config.xml -Dtranslation=ko-KR clean package
cp -R target/docbook/publish/ko-KR ../querydsl-root/target/dist/reference/
cd ../querydsl-root
echo "done."