Maven-Tycho Eclipse: Error installing plug-in built by Maven - eclipse

I am newbie to automating your build using Maven-Tycho. I followed the instructions on this site
http://zeroturnaround.com/blog/building-eclipse-plug-ins-with-maven-3-and-tycho/ and did the following
I downloaded the zip file with poms,extracted it and did a mvn clean install. It said "BUILD SUCCESS".
I went into the -> achievements\update-site\target folder and then zipped the site folder and tried to install it as a plugin, this is giving me a error saying no software site found at jar file... the zip file has the features, plugin folders, content.jar, artifacts.jar and the site.xml files...
Wonder what is wrong... Could you please help me with this...
I am using Maven 3.0.4 with Eclipse Version: Helios Service Release 1

In an eclipse-update-site packaging type, the folder target/site is a p2 repository; in an eclipse-repository packaging type, the p2 repository is in target/repository.
You can install from these folder by adding them as a "local" software site in Eclipse.

Related

Maven Plug In for Eclipse that comes with ADT Bundle

I need to run Maven in the cmd line as follows:
mvn clean install
using a pom.xml file within a locally cloned git repository that is an MQTT client.
Specifically, the git repository is: org.eclipse.paho.mqtt.java, within which the pom.xml exists.
This URL was used for the cloning of the above git repository:
https://github.com/jacarrichan/org.eclipse.paho.mqtt.java.
**I need to use only an Maven Plug In for Eclipse, since most of the pom.xml files specify version numbers in the Eclipse plug in for various artifacts.
I cannot use a stand alone Maven downloaded and installed separately, or the Plug In which comes with Android Studio, for this reason.**
The problem now is that I am using the Eclipse that comes with the ADT Bundle, and it does not have Help  Eclipse Market Places menu option, and there seems to be no way to Integrate Maven with the Eclipse that comes with the ADT Bundle.
Is there anyway to integrate Maven as a Plug In into the Eclipse that comes with the ADT Bundle?
Thanks,
Jaisimha Narahari

how to add ojdbc14.jar to maven project in eclipse

How can I add the ojdbc14.jar file to a maven project in eclipse? In other posts, there is a mention of a installing the jar into the local repository. However, I cannot install maven on this machine and eclipse is the only way in.
Thanks.

Installing a Plug-in into Eclipse from its source code

There is a plug-in which can actually be found in its dedicated update site and installed from there into eclipse. But for my project, I need the most up-to-date version of this plug-in which can be found it its source code within the GIT repository. So I have downloaded a clone of the source code from the GIT repository into Eclipse. It all looks right, but in the end I need this source code to be compiled and installed as the plug-in into my Eclipse Development IDE (not in a runtime environment!). What are the next steps I need to follow? I would be very glad, if you could hepl me.
Thanks a lot!
The question "Installing an Eclipse Plugin that you've compiled from Source?" mentions two ways:
use the export wizard: File/Export, look for export Deployable plug-ins and fragments, select the compiled plug-in, and then in the lower half of the page select Install into host repository.
Or export your plug-in into a directory, and then copy the directory into the dropins folder.
Check "Eclipse plugin developed under Helios doesn't show in Juno" if you have troubles to make your plugin visible after installation.
You can test a plugin with "Launch an Eclipse application" under "Testing".

Eclipse : Getting Error as Could not find jar file while installing Plugin in Eclipse

I was following this below website
http://visualvm.java.net/eclipse-launcher.html
for installing VisualVM into Eclipse Helios Version 3.6 , for this as mentioned i downloaded visualvm_launcher_u1_eclipse_36
and also under in Eclipse Menu Window --->Preferences ---> Installed JRE ---> Pointed JDK Path in JRE Settings
C:\Program Files\Java\jdk1.6.0_27
But when i tried to install this VisualVM into Eclipse by
Eclipse Menu ---> Install New Software --->Add -- >Archive option
i am getting the below exception
Could not find jar file:file:/D:/VisualVM/visualvm_launcher_u1_eclipse_36.zip!/
Please see the image related to the Exception .
This is what I did to get it installed.
downloaded and unzipped to C:/visualvm_launcher_u1_eclipse_36/
Eclipse Window --->Preferences ---> Available Software Sites --> Add
(Name: VisualVM;
Location: file:/C:/visualvm_launcher_u1_eclipse_36/)
Eclipse Help ---> Install New Software ---> Select VisualVM from drop-down menu ---> Expand Uncategorized ---> Select VisualVM Launcher Feature ---> Next
It looks like you are not following the steps for installation. You should:
unzip visualvm_launcher_u1_eclipse_36.zip into directory of your choice
add local update site pointing to the chosen directory
install VisualVM Launcher Feature
The file itself may be corrupt that you are trying to add as an archive. Examine the root level of the file and make sure the correct components are there. Right now, I am trying to install EPIC in such a way. What I see in the zip file at the root level are:
features (folder)
plugins (folder)
README.txt (file)
site.xml (file)
For anybody else stumbling upon this question and having the same problems:
handshake failure when using Eclipse marketplace/Update site
You tried JRE unlimited policy workaround and it doesn't work
manual installation of plugins also doesn't work
I have downloaded clean eclipse zip, started it and downloaded the plugin that I wanted (Enhanced Class Decompiler), and then opened the targeted Eclipse installation (actually an IDE called Intershop Studio) and used File -> Import -> Installation -> From Existing Installation to import plugins.
So this solution is applicable if problems are not caused by system configuration or if you already have plugins installed on another Eclipse installation.

Offine installation of PMD plugin for Eclipse IDE

I am trying to download and install PMD plugin for Eclipse offline but did not succeed in doing so.
I downloaded following 2 zips:
net.sourceforge.pmd.eclipse-3.2.6.v200903300643.zip (this version matches with the one which I installed online)
pmd-eclipse-1.8.0
Not sure which one to use and how to configure it in Eclipse.
I searched a lot but did not find proper steps for the offine installation and configuration.
In case it contains site archieve:
Goto Help->Install New Software
Click Add...
In the Add Repository Dialog click Archive and point to your zip. Rest of the installation is as you would do with an online installation.
Else:
Extract the zip
Copy all plugins to your target eclipse plugins folder
Copy all features to your target eclipse features folder
launch eclipse with -clean option
You can get the latest 4.0 version of the plugin by pointing your Eclipse installer here:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/