How do I add install a JAR and the java docs? - eclipse

How to I do the following using Maven?
I downloaded the Admob android sdk from http://code.google.com/mobile/ads/download.html
I am trying to install the Jar and the java docs that come in the downloaded ZIP file
How do I install both the JAR and the Java docs into my repo? thanks
oh btw, the javadocs are not located in a JAR, they are stored in a multilevel folder format.
Thanks

If the javadocs are not available in a remote maven repo. You have to install the jars into your repo. Use the Install Plugin to perform this task. This is what you have to do.

Related

Install hadoop plugin for eclipse oxygen

I am trying to install hadoop plugin for eclipse oxygen ... but am not able to make it work properly.. i am not getting any option to create a map reduce project .. can some one please let me know how to go abt installing the hadoop eclipse plugin ? I am unable to use the install new software feature - I have downloaded the hadoop-eclipse-plugin-2.6.0.jar but am not able to install the same as that is giving me an error sayin no site exists that this location. Also, copying the plugin at the eclipse/plugin folder doesn't work either ?
Please help!
Copy it to the dropins folder of your Eclipse installation directory.
See also: Eclipse help - The dropins folder and supported file layouts

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

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

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.

How to install Axis2 plug-in to Eclipse (for Android dev)?

I got my Eclipse (Indigo Service Release 1, Build id: 20110916-0149) installed and running for Android development. Now, I want to consume a WCF WebService (wsdl) in my Android app. As I learnt, this can easily be done using Axis2 plug-in for Eclipse. However, I had hard-time to install the Axis2 plug-in.
I understand there are similar questions already asked, but I couldn't make it work using all the suggestions, and there is no accepted answer either. That's why I created this new questions. It would be nice if somebody can tell which version is working one? or how to make the latest (1.6.1) work?
I do not understand the plug-in installation processs in Eclipse. I see p2 folder in my local drive under Eclipse, so I assume I could just extract the download to dropins folder, right?
#Andreas Veithen
Thanks for your answer buddy. The 1.6.1 version was driving me nuts. I tested it both in a Mac and a Windows machine and the result was the same. It just would not work. I took your advice and got the 1.6.2-SNAPSHOT version and it shows up just fine now.
#miliu
No matter which version you are looking for, you need to get the Axis2 eclipse codegen plugin.
Here is the link to the page where you can find the 1.6.2-SNAPSHOT version:
https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/
Download the axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar at https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/artifact/org.apache.axis2/axis2.eclipse.codegen.plugin/1.6.2-SNAPSHOT/axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar and drop it in your dropins folder. The latest version of Eclipse should already have a dropins folder after you extract the downloaded archive. You should now see the Axis wizards in Eclipse after restarting.
The above answers were not easily understood so I'm adding this for anyone reading this in the future.
Taken from the Axis2 website:
Download the ZIP file for the plugin you want to install.
Extract the content of the plugins folder in the ZIP archive into the dropins folder (i.e. do not create a plugins folder under dropins).
Ps: Get the 1.6.2 version from this link
The 1.6.1 version has a bug and doesn't work. Use 1.6.0 or 1.6.2-SNAPSHOT (which can be downloaded from here) instead.
All recent versions of Eclipse use p2. You need to put the JAR files into the dropins folder.

where to download jetty source code?

I have download jetty 7.3 and use it in eclipse with jetty-wtp plugin.
where can I download jetty's source packages and attach them with jetty jars ?
I have found it myself at grepcode
The sources can be downloaded here:
Eclipse distribution
Codehaus distribution (jetty <=6, hightide, contrib)
The best place appears to be from the Eclipse git source control repository:
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/
For example I downloaded version 8.1.8 from here:
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tag/?id=jetty-8.1.8.v20121106
I could not figure out how to git clone from git.eclipse.org so I found this Github mirror:
https://github.com/eclipse/jetty.project
so just run:
$ git clone git#github.com:eclipse/jetty.project.git jetty