Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
muddu_shafi
Post subject: Need help running Maven1 project.xml in MyEclipse6.5  PostPosted: 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>
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Need help running Maven1 project.xml in MyEclipse6.5  PostPosted: Sep 17, 2008 - 06:58 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits