I enabled the maven project , but still have error compilation  due of the 
dependency !!!!


I have this classpath :

.classpath
------------------------

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src/java"/>
        <classpathentry output="target/test-classes" kind="src" 
path="src/test"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="con" 
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="target/classes"/>
</classpath>

.project
--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>framework</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>org.maven.ide.eclipse.maven2Builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
                <nature>org.maven.ide.eclipse.maven2Nature</nature>
        </natures>
</projectDescription>



-----Message d'origine-----
De : Hayes, Peter [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 12 mars 2007 19:39
À : Maven Users List
Objet : RE: Maven2 plugin for eclipse

Yes, you will not have to manage the .classpath manually.  Make sure to remove 
any entries defined in there that are now redundant based on the m2eclipse 
plugin's classpath management. 

I generally have the following in my .classpath files :

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src/main/java"/>
        <classpathentry kind="src" path="src/main/resources"/>
        <classpathentry kind="src" path="src/test/java"/>
        <classpathentry kind="src" path="src/test/resources"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="con" 
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="classes"/>
</classpath>

Pete

-----Original Message-----
From: Marouane Amraoui [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 3:31 PM
To: Maven Users List
Subject: RE: Maven2 plugin for eclipse

I didn't have enabled my project maven . so If I enable it we don't need to 
execute eclipse:eclipse inorder to synchronize the pom dependency and .classpth 
????

-----Message d'origine-----
De : Hayes, Peter [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 12 mars 2007 19:22
À : Maven Users List
Objet : RE: Maven2 plugin for eclipse

Sorry, make sure that you enable the plugin on your project.  You have to 
right-click the project and there should be a Maven2 menu.  Select enable.

Pete 

-----Original Message-----
From: Hayes, Peter 
Sent: Monday, March 12, 2007 3:20 PM
To: Maven Users List
Subject: RE: Maven2 plugin for eclipse


http://m2eclipse.codehaus.org/ 

This plugin keeps your classpath in synch with your pom file via an Eclipse 
classpath container.  It's very good.

-----Original Message-----
From: Marouane Amraoui [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 2:05 PM
To: Maven Users List
Subject: Maven2 plugin for eclipse

I m using Maven2 plugin for eclipse . 

Version plugin is : 0.0.10.

 

I created a maven project . I added dependency using the plugin.

 

when I add the dependency it only added in pom file and note in eclipse file 
.classpath  !!!! this obligate me to do 

A double  work !!!!

 

There is a solution for that ???

 

---------------------------------------------------------------

Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]

Gsm  .: 065 19 60 99   
Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
OMNIDATA , 74 Bv AbdelMoumen

 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to