- This topic has 1 reply, 2 voices, and was last updated 16 years, 2 months ago by Loyal Water.
-
AuthorPosts
-
muddu_shafiMemberI 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>
Loyal WaterMemberThe 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.
-
AuthorPosts