 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: Need help running Maven1 project.xml in MyEclipse6.5
Posted: Sep 17, 2008 - 04:43 PM
|
|
Joined: Aug 21, 2008
Posts: 18
|
|
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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
<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> |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Need help running Maven1 project.xml in MyEclipse6.5
Posted: Sep 17, 2008 - 06:58 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
| 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. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |