facebook

Problem running maven in eclipse

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #289009 Reply

    muddu_shafi
    Member

    Well, I am trying hard to solve this problem. I have upgraded to Myeclipse6.5 which supports maven4myeclipse. But still I am getting this error which says it failed to resolve maven plugin.

    Please help me out?[WARNING] The <pluginRepositories/> section of the POM has been deprecated. Please update your POM (commonPoms:default_1.5:pom:1.1).
    [INFO] Scanning for projects…
    [INFO] ————————————————————————
    [INFO] Building ERP Proxy
    [INFO]
    [INFO] Id: org.atcc.erpproxy:erpproxy:ejb:1.2
    [INFO] task-segment: [install]
    [INFO] ————————————————————————
    [ERROR]

    Maven cannot calculate your build plan, given the following information:

    Tasks:
    – install

    Current project:
    Group-Id: org.atcc.erpproxy
    Artifact-Id: erpproxy
    Version: 1.2
    From file: C:\Muddu1\erpProxy\pom.xml

    Error message: Failed to resolve plugin for mojo binding: org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-3:xdoclet
    Root error message: The PluginDescriptor for the plugin org.codehaus.mojo:xdoclet-maven-plugin was not found. Should have been in realm: ClassRealm[/plugins/org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-3@48/thread:main, parent: null]

    [INFO] ————————————————————————
    [INFO] For more information, run with the -e flag
    [INFO] ————————————————————————
    [INFO] BUILD FAILED
    [INFO] ————————————————————————
    [INFO] Total time: 4 seconds
    [INFO] Finished at: Fri Sep 12 10:22:13 EDT 2008
    [INFO] Final Memory: 1M/4M
    [INFO] ————————————————————————

    Here is my Myeclipse installation summary:
    *** Date:
    Friday, September 12, 2008 10:41:02 AM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    1e48_7c
    -clean
    -vm
    C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe

    #289015 Reply

    Loyal Water
    Member

    muddu_shafi,
    I have asked someone from the dev team to look into this issue. He will get back to you with an update asap.

    #289059 Reply

    muddu_shafi
    Member

    Anyone, Please help me out on this problem?

    #289070 Reply

    Loyal Water
    Member

    muddu_shafi ,
    A couple of things:-
    1. Are you able to get a Hello World maven to work at your end?

    2. Can you send me your pom.xml so that I can test this issue at my end. You can hit the pm button at the bottom of my post and send me the file.

    #289136 Reply

    Can you try creating Java Maven Project and copying this to pom.xml:

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>xdoclettt</groupId>
      <artifactId>xdoclettt</artifactId>
      <packaging>jar</packaging>
      <version>0.0.1-SNAPSHOT</version>
      <name>xdoclettt</name>
      <url>http://maven.apache.org</url>
      <build>
          <plugins>
              <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>xdoclet-maven-plugin</artifactId>
                  <version>1.0-alpha-3</version>
                  <configuration>
                  </configuration>
              </plugin>
          </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>3.8.1</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    </project>
    

    It looks like you might be having some network or Maven configuration problems. Required plugin is n/a from the repositories accessible for your Maven.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem running maven in eclipse

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