Here is how I automate my Eclipse installation.
-
Uncompress
eclipse-jee-2018-12-R-linux-gtk-x86_64.tar.gz -
sudo mv eclipse-jee-2018-12-R-linux-gtk-x86_64/eclipse/ /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64 -
/usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/eclipse -nosplash -application org.eclipse.equinox.p2.director -repository "http://download.jboss.org/jbosstools/photon/stable/updates/" -installIU "org.jboss.ide.eclipse.as.feature.feature.group, org.jboss.tools.usage.feature.feature.group" -
sudo chown -R root:staff /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/
This installs 40 jboss plugins, 27 other plugins, and 11 jboss features in the /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/plugins and /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/features folders, so that they are available for all users in the system. This uses the shared configuration approach.
To know how to find the data for other plugins, look here.
Note that, in the case of the JBoss Tools, installing only the org.jboss.ide.eclipse.as.feature.feature.group still installs the same 40 jboss plugins (but only 10 features, org.jboss.tools.usage.feature_2.2.201.v20180802-1505 missing) and still asks for usage report at first start.
To install Eclipse Checkstyle Plug-in and “Checkstyle configuration plugin for M2Eclipse” (part of m2e-code-quality): sudo /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/eclipse -nosplash -application org.eclipse.equinox.p2.director -repository "http://checkstyle.org/eclipse-cs/update/, http://m2e-code-quality.github.io/m2e-code-quality/site/latest/" -installIU "net.sf.eclipsecs.feature.group, com.basistech.m2e.code.quality.checkstyle.feature.feature.group". This installs 2 features in /usr/local/share/eclipse-jee-2018-12-R-linux-gtk-x86_64/features.