facebook

myeclipse 6.6 + maven + deployment to WebSphere

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #290984 Reply

    alikic
    Member

    Hi,

    I upgraded to MyEclipse 6.6, and deployment to WebSphere doesn’t work any more. I installed m2eclipse (which is supposed to work well now). I tried all possible combinations of maven options from MyEclipse->Preferences: disable m2eclipse (use Maven4MyEclipse only), enable only m2eclipse, enable both, in all cases the same thing happens – maven dependencies don’t get copied to WEb-INF/lib on WebShpere 6.0 target during deployment. Including Maven Dependencies explicitly in Project Properties->”Order end Export” doesn’t help.

    Thanks,
    Aleks

    #290988

    alikic
    Member

    Update:

    I am expecting that when I select Maven4MyEclipse->Update Project Configuration, MyEclipse reads pom.xml and correctly updates the project configuration. This works to some extent – for example, I can immediately run JUnit tests and all pass. However, deployment to WebSphere 6.0 doesn’t work (as described in my previous post).

    I managed to get maven dependencies deployed, by moving Maven Dependencies one place up in the “Order and Export” list, just before Web App Libraries. Why this works now, beats me. Checking/unchecking Maven Dependencies (to include/exclude them during deployment of the parent EAR) doesn’t make any difference – they are always deployed now.

    Now I have a problem of the resources from src/main/resources – they don’t get deployed to WEB-INF/classes.

    Stay tuned.
    Aleks

    #291090

    Loyal Water
    Member
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: myeclipse 6.6 + maven + deployment to WebSphere

You must be logged in to post in the forum log in