-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Build] Remove unused creation of missing sources in Maven publication
Since [1] respectively [2] no missing source artifacts are created anymore so the associated part of the CBIaggregator.sh script can be cleaned-up. [1] - eclipse-platform/eclipse.platform.releng#126 [2] - eclipse-platform/eclipse.platform.releng#167
- Loading branch information
1 parent
bd09d0d
commit 76458c5
Showing
3 changed files
with
1 addition
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -336,52 +336,4 @@ createJavadocs jdt org.eclipse.jdt:org.eclipse.jdt.doc.isv | |
createJavadocs pde org.eclipse.pde:org.eclipse.pde.doc.user | ||
popd | ||
|
||
echo "==== Create missing sources artifacts ====" | ||
|
||
function buildSourceJar() { | ||
if [ -d assemble ] | ||
then | ||
rm -r assemble | ||
fi | ||
mkdir assemble | ||
[email protected]:${1} | ||
gitcache_dir=${WORKING_ROOT}/gitcache | ||
gitpath=${gitcache_dir}/repo/${2} | ||
gittag=${3} | ||
group=${4} | ||
artifact=${5} | ||
version=${6} | ||
mkdir -p $gitcache_dir | ||
pushd ${gitcache_dir} | ||
git clone ${giturl} repo | ||
pushd repo | ||
git checkout ${3} | ||
popd | ||
popd | ||
mv ${gitpath}/src/* assemble/ | ||
mv ${gitpath}/META-INF assemble/ | ||
if [ -d ${gitpath}/OSGI-INF ] | ||
then | ||
mv ${gitpath}/OSGI-INF assemble/ | ||
fi | ||
mv ${gitpath}/about.html assemble/ | ||
if [ $# > 6 ] | ||
then | ||
shift 6 | ||
for src in "$@" | ||
do | ||
mv "${gitpath}/${src}" assemble/ | ||
done | ||
fi | ||
rm -rf ${gitcache_dir} | ||
pushd assemble | ||
jar cf ../${group}/${artifact}/${version}/${artifact}-${version}-sources.jar * | ||
popd | ||
} | ||
|
||
while read line | ||
do | ||
buildSourceJar $line | ||
done < ${BASE_DIR}/sourceBundles.txt | ||
|
||
echo "========== Repo completed =========" |
Empty file.