Installing Maven from Eclipse MarketPlace

NitziNitzi Posts: 17

As part of integrating SOATEST with Cucumber, first step is to install maven from eclipse marketplace. Unfortunately maven installation is interrupted in middle & showing error.

Looking at many post on different forums it seems the maven version is not compatible with the Parasoft/Eclipse version on my machine. Can you please let me know the maven version to be installed? & How we decide which maven version goes with which Parasoft/Eclipse version?

Sysytem Specs:
Parasoft SOATEST 9.6
Eclipse Platform- 3.7.2 (I think its Indigo)

Tried with below maven releases-
http://download.eclipse.org/technology/m2e/releases/1.3
http://download.eclipse.org/technology/m2e/releases/1.4
http://download.eclipse.org/releases/neon

Comments

  • benken_parasoftbenken_parasoft Posts: 345 ✭✭✭

    I assume you are referring to the tutorial. Perhaps we can improve the instructions for the first step:
    https://github.com/parasoft/soatest-cucumber/blob/master/tutorial.md

    Use the Eclipse "releases" repository that is for your version of Eclipse. The one for Indgo is http://download.eclipse.org/releases/indigo/
    Also, you are not installing Apache Maven but Eclipse m2e which enables Eclipse to build maven java projects.

    Please also consider upgrading for the latest functionality and fixes. Both SOAtest 9.6 and Eclipse Indgo are very, very old.

  • NitziNitzi Posts: 17

    Hello,

    Thanks for the info. Yes I am referring the tutorial. I would say for first timers it's bit difficult to understand as it misses some minute details but overall I liked the tutorial.

    I managed to download Eclipse m2e for Indigo(3.7.2) from below link. 1.0 SR2

    https://www.eclipse.org/m2e/m2e-downloads.html

    Also, I have few more queries for which I will post new thread.

  • benken_parasoftbenken_parasoft Posts: 345 ✭✭✭

    We really do appreciate feedback. If you are a first timer then I would highly recommend going through the main SOAtest tutorial in the User's Guide prior to following the SOAtest-Cucumber tutorial.

    Concerning Indigo, I wanted to clarify some additional things. Admittedly, the tutorial nor the SOAtest-Cucumber java module was written nor verified for such older version of SOAtest/Eclipse. SOAtest 9.6 was last updated (9.6.4 release) in May of 2014. There have been about eighteen newer versions of SOAtest released since then (including minor and service releases). There are definitely older versions of SOAtest that won't work at all with the SOAtest-Cucumber java module, since it depends on certain APIs being available in the SOAtest Server. So, I can't say offhand whether 9.6 would work (maybe it will but maybe not). Feel free to share any additional feedback with us.

  • NitziNitzi Posts: 17

    Hi Benken,

    I managed to get the latest version of Parasoft SOATest 9.10. While trying to install Maven integration for eclipse I am getting error. Can you please share the link which will go with it?

  • NitziNitzi Posts: 17

    More Info- I used m2e URL- http://download.eclipse.org/technology/m2e/releases/1.7/1.7.0.20160603-1933

    **Error: **
    Cannot complete the install because one or more required items could not be found.
    Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.7.0.20160603-1933 (org.eclipse.m2e.feature.feature.group 1.7.0.20160603-1933)
    Missing requirement: Maven Integration for Eclipse 1.7.0.20160603-1933 (org.eclipse.m2e.core 1.7.0.20160603-1933) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
    Cannot satisfy dependency:
    From: Maven Integration for Eclipse (Editors) 1.7.0.20160603-1933 (org.eclipse.m2e.editor 1.7.0.20160603-1933)
    To: bundle org.eclipse.m2e.core [1.7.0,1.8.0)
    Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.7.0.20160603-1933 (org.eclipse.m2e.feature.feature.group 1.7.0.20160603-1933)
    To: org.eclipse.m2e.editor [1.7.0.20160603-1933]

  • benken_parasoftbenken_parasoft Posts: 345 ✭✭✭
    edited December 2017

    Earlier I mentioned you can't use that. I mentioned that you have to use the Eclipse "releases" repository that matches your version of Eclipse. For example, the one for Indgo is http://download.eclipse.org/releases/indigo/

  • NitziNitzi Posts: 17

    Earlier I was referring to Indigo because it was Parasoft 9.6 & now I switched from Parasoft 9.6 to Parasoft 9.10 which I think is Neon. I used m2e for Neon but it didn't work.

  • benken_parasoftbenken_parasoft Posts: 345 ✭✭✭
    edited December 2017

    I used m2e for Neon but it didn't work.

    The tutorial mentions using the update site for neon because using the latest m2e update site won't work with neon (latest seems to work fine with oxygen).

    Perhaps you can try un-installing and re-installing SOAtest and try again with the neon update site? If that doesn't work then perhaps you can provide detail about what error you are seeing.

  • NitziNitzi Posts: 17

    Thanks for the info. I managed to install m2e plugin for eclipse. Now I am stuck at the other step. There's a step in tutorial where Maven project automatically download the dependencies to build the project. In my case it's not happening. Is there anything needed to be added manually to make it work?

    Error:
    Errors occurred during the build.
    Errors running builder 'Maven Project Builder' on project 'parabank.cucumber'.
    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
    Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
    Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

  • benken_parasoftbenken_parasoft Posts: 345 ✭✭✭
    edited December 2017

    Right click on the project then click Maven> Update Project.... Next, enable Force Update of Snashots/Releases and the other three boxes below it then click OK. This will force m2e to try to re-download the dependencies and clean and re-build the project. m2e should be pulling those from the central maven repository, provided you have Internet access.

Sign In or Register to comment.