facebook

Need help running Maven1 project.xml in MyEclipse6.5

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

    muddu_shafi
    Member

    I am using MyEclipse6.5 equipped with Maven4MyEclipse.
    I just checked out a project from CVS. It only has a project,xml.
    I checked and found that it is a Maven 1 file.
    Now I want to build the project. As usual, I right clicked on the project.xml file but could not find the run As-> Maven: build option .
    It only displays RunAs-> Open Run Dialog.
    What should I do now? How do I run this Project.xml? How should I run maven:install command on this file so that the file jar gets build and gets stored in the local repository.

    Here is the file
    Project.xml
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project xmlns=”http://maven.apache.org/POM/3.0.0&#8243; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221;
    xsi:schemaLocation=”http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd”&gt;
    <pomVersion>3.0.0</pomVersion>
    <!– the version of maven’s project object model –>
    <extend>../common/project.xml</extend>
    <name>RBUMSApplication Client jar Generation</name>
    <artifactId>rbums-client</artifactId>
    <currentVersion>1.2</currentVersion>

    <dependencies>

    <!– The following dependencies are not currently available through ibiblio –>

    <!– Extra Plug-ins required for this build –>

    <dependency>
    <groupId>rbums</groupId>
    <artifactId>rbums-core</artifactId>
    <version>1.2</version>
    </dependency>

    </dependencies>

    <!– build information for the project –>

    <build>
    <sourceDirectory>/src</sourceDirectory>
    <sourceModifications>
    <sourceModification>
    <includes>
    <include>org/atcc/bei/rbums/client/**/*.java</include>
    <include>org/atcc/bei/rbums/common/**/*.java</include>
    <include>org/atcc/bei/rbums/server/**/model/**</include>
    <include>org/atcc/bei/rbums/server/**/*Exception.java</include>
    <include>org/atcc/bei/rbums/server/**/*Remote.java</include>
    <include>org/atcc/bei/rbums/server/**/*Home.java</include>
    <include>org/atcc/bei/rbums/server/**/*Local.java</include>
    <include>org/atcc/bei/rbums/server/**/*LocalHome.java</include>
    </includes>
    <className>rbums.class</className>
    </sourceModification>
    </sourceModifications>
    </build>

    </project>

    #289135 Reply

    Loyal Water
    Member

    The project your working with doesn’t look like an ME project – You need to create “Java Maven Project” and copy your project contents there. MyEclipse 7.0M2 is due in about 2 weeks from now and that should be able to handle such projects.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Need help running Maven1 project.xml in MyEclipse6.5

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