facebook

Maven4MyEclipse- goals list is STILL empty

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #332164 Reply

    I am following the simple Maven4MyEclipse examples. Create maven project, create dependency, etc.
    When I attempt to run Maven build on the consuming project, the goals list is empty. I did as the instructions indicated: Enabled Full Index from the Global repository, but still the goals list box is empty.

    installation details follow:
    *** Date:
    Friday, November 9, 2012 12:11:14 PM CST

    *** System properties:
    OS=WindowsVista
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.6.0_13
    Workspace=file:/C:/Users/Toshiba-Satellite/Workspaces/MyEclipse 10/
    VM Args=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\Users\TOSHIB~1\AppData\Local\MYECLI~1\MYECLI~1\../Common/plugins/ORB7B5~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130307
    Number of users: 1

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.6
    Build id: 10.6-20120727

    Blueprint: MyEclipse 10

    com.genuitec.myeclipse.database – 10.6.0.me201207261914
    com.genuitec.myeclipse.desktop – 10.6.0.me201207261914
    com.genuitec.myeclipse.editor – 10.6.0.me201207261914
    com.genuitec.myeclipse.enterprise.workbench – 10.6.0.me201207261914
    com.genuitec.myeclipse.geronimo – 10.6.0.me201207261914
    com.genuitec.myeclipse.glassfish – 10.6.0.me201207261914
    com.genuitec.myeclipse.icefaces.feature – 10.6.0.me201207261914
    com.genuitec.myeclipse.iedebugger – 10.6.0.me201207261914
    com.genuitec.myeclipse.imageeditor – 10.6.0.me201207261914
    com.genuitec.myeclipse.jboss – 10.6.0.me201207261914
    com.genuitec.myeclipse.jetty – 10.6.0.me201207261914
    com.genuitec.myeclipse.jonas – 10.6.0.me201207261914
    com.genuitec.myeclipse.jrun – 10.6.0.me201207261914
    com.genuitec.myeclipse.jsf – 10.6.0.me201207261914
    com.genuitec.myeclipse.matisse – 10.6.0.me201207261914
    com.genuitec.myeclipse.maven – 10.6.0.me201207261914
    com.genuitec.myeclipse.oracle – 10.6.0.me201207261914
    com.genuitec.myeclipse.orion – 10.6.0.me201207261914
    com.genuitec.myeclipse.persistence – 10.6.0.me201207261914
    com.genuitec.myeclipse.pulse – 10.6.0.me201207261914
    com.genuitec.myeclipse.reports – 10.6.0.me201207261914
    com.genuitec.myeclipse.resin – 10.6.0.me201207261914
    com.genuitec.myeclipse.struts – 10.6.0.me201207261914
    com.genuitec.myeclipse.sun – 10.6.0.me201207261914
    com.genuitec.myeclipse.tomcat – 10.6.0.me201207261914
    com.genuitec.myeclipse.uml2 – 10.6.0.me201207261914
    com.genuitec.myeclipse.visualvm – 10.6.0.me201207261914
    com.genuitec.myeclipse.visualvm.server – 10.6.0.me201207261914
    com.genuitec.myeclipse.weblogic – 10.6.0.me201207261914
    com.genuitec.myeclipse.websphere – 10.6.0.me201207261914
    com.genuitec.myeclipse.ws – 10.6.0.me201207261914
    org.eclipse.birt – 2.6.1.me201207261914
    org.eclipse.datatools.connectivity.feature – 1.9.0.me201207261914
    org.eclipse.datatools.enablement.feature – 1.9.0.me201207261914
    org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201207261914
    org.eclipse.jpt.jpa.feature – 3.0.0.me201207261914
    org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201207261914
    org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201207261914
    org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.feature – 3.2.100.me201207261914
    org.eclipse.jst.server_ui.feature – 3.3.0.me201207261914
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201207261914
    org.eclipse.m2e.feature – 1.0.0.me201207261914
    org.eclipse.sapphire.platform – 0.3.0.201106221325
    org.eclipse.wst.common.fproj – 3.3.0.me201207261914
    org.eclipse.wst.server_adapters.feature – 3.2.100.me201207261914
    org.springframework.ide.eclipse.feature – 2.9.1.me201207261914

    org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
    org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
    org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
    org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
    org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
    org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
    org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
    org.eclipse.jsf.feature – 3.3.0.me201207261914
    org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
    org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
    org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
    org.eclipse.wb.core.feature – 1.5.0.r37x201206111201
    org.eclipse.wb.core.ui.feature – 1.5.0.r37x201206111213
    org.eclipse.wb.core.xml.feature – 1.5.0.r37x201206111216
    org.eclipse.wb.css.feature – 1.5.0.r37x201206111208
    org.eclipse.wb.doc.user.feature – 1.5.0.r37x201206111211
    org.eclipse.wb.layout.group.feature – 1.5.0.r37x201206111249
    org.eclipse.wb.swing.feature – 1.5.0.r37x201206111310

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\MyEclipse 10
    -configuration
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\MyEclipse 10\configuration
    -vm
    C:\Users\Toshiba-Satellite\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    If I run the build leaving the Goals selection empty, I get the following output:

    [INFO] Scanning for projects…
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for com.isd:Chapter01:war:0.0.1-SNAPSHOT
    [WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 51, column 15
    [WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-war-plugin is missing. @ line 48, column 15
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
    Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
    Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 26.8 KB/sec)
    Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 KB at 39.2 KB/sec)
    [INFO] ————————————————————————
    [INFO] BUILD FAILURE
    [INFO] ————————————————————————
    [INFO] Total time: 1.345s
    [INFO] Finished at: Fri Nov 09 11:44:09 CST 2012
    [INFO] Final Memory: 4M/8M
    [INFO] ————————————————————————
    [ERROR] No plugin found for prefix ‘http’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Toshiba-Satellite\.m2\repository), central (http://repo1.maven.org/maven2)] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

    Please help. sfrias@swbell.net.

    #332257 Reply

    support-tony
    Keymaster

    sfrias,

    Sorry you are seeing this problem. It appears to be a long running bug that is also in the m2e plug-in that our support is based on. You can see the eclipse bug here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=344997

    I’m afraid that there is no workaround but you can still type in goals on the main dialog. From the lack of comments about the bug (and the lack of problems we’ve seen here), I guess most developers just know the goals they want and type them in (you can type multiple goals, separated by spaces).

    I’ve added this forum topic to our internal tracking bug, which might kick off some actions but it appears to be low priority at the moment.

    Apologies for the inconvenience and the late reply.

    #332277 Reply

    Brian Fernandes
    Moderator

    sfrais,

    Could you please try the following additional steps and see if it resolves your problem?

    1) Open the Maven repositories view (Go to Window > Show View > Other > MyEclipse Maven > Maven Repositories).

    2) Bring up the context menu on Global Repositories > Central – is the Full Index enabled there? If not, please enable it and wait for any “Updating Index…” operation to complete and then restart MyEclipse (this could take a while).

    3) Under Local Repositories > Local Repositories, bring up the context menu and choose Rebuild Index.

    At this point, you can check if the Goals dialog is now populated?

    If not, there could be a corruption of your local repository which we could try to remedy using the following steps:

    4) Shut down MyEclipse.

    5) Go to your home directory and rename or delete the “.m2” folder.

    6) Start MyEclipse and repeat steps #2 and #3. You might need to wait while your local repositories are repopulated, you should be able to see all your dependencies under the Maven Dependencies node in your project.

    7) Attempt to use the Goals dialog now.

    Could you please let us know if these steps fix your problem?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Maven4MyEclipse- goals list is STILL empty

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