Skip to content

Instantly share code, notes, and snippets.

@robstryker
Created April 28, 2020 20:35
Show Gist options
  • Save robstryker/5d270016fd8517bf45156c9f0fd17121 to your computer and use it in GitHub Desktop.
Save robstryker/5d270016fd8517bf45156c9f0fd17121 to your computer and use it in GitHub Desktop.
mkdir tmp
cd tmp
mkdir jandex
mkdir jandex/2.1.3.Final
mkdir source
mkdir source/plugins
cd source/plugins
wget -O jandex-2.1.3.Final.jar https://search.maven.org/remotecontent?filepath=org/jboss/jandex/2.1.3.Final/jandex-2.1.3.Final.jar
cd ../../
mypwd=`pwd`
src=$mypwd/source
dest=$mypwd/jandex/2.1.3.Final/
rm -rf "$dest"
dest="file:$dest"
/home/rob/apps/eclipse/builds/2020-03/eclipse/eclipse -nosplash \
-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher \
-metadataRepository "$dest" \
-artifactRepository "$dest" \
-artifactRepositoryName "Jandex 2.1.3 - Artifacts" \
-metadataRepositoryName "Jandex 2.1.3 - Metadata" \
-source "$src" \
-compress -append -publishArtifacts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment