I'm using this in my pom.xml :

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                       http://maven.apache.org/maven-v4_0_0.xsd";>

This gives me validation and auto-complete from eclipse (with WTP)

Nico.


2007/2/14, lightbulb432 <[EMAIL PROTECTED]>:


My biggest point of confusion on this is the intermingling of the "Build
Path" set within Eclipse (which creates a .classpath file) and the
"dependencies" set in the pom.xml. How are these the same, and how are the
different? Do both still need to be used?

So in your case are you not using any Maven plugin, essentially just
editing
your POMs from within Eclipse as a regular XML file?

On a slightly related note, I haven't been able to find a DTD/XSD for
pom.xml, so Eclipse won't do autocomplete or validation for my pom.xml,
which would be nice as I'm just learning this...



franz see wrote:
>
> Good day,
>
> Personally, I still use maven in the command line, and Eclipse as an
> editor.
>
> What I do is that
> 1. I go to the directory of my maven project
> 2. Do mvn "eclipse:clean eclipse:eclipse" ( "eclipse:clean" is to make
> sure I start with a clean slate )
> 3. Then create the eclipse project from an existing source ( where the
> source is the the directory in #1 ).
>
> As for the commands, you can do "mvn --help" to see the options
available.
> Other than that, you can enter either a goal or a lifecycle phase ( see
> [1] about their difference ). But for beginners, executing maven
commands
> based on lifecycle phases are usually enough.
>
> Cheers,
> Franz
>
> [1]
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html(
> official version )
> [2]
> http://docs.codehaus.org/display/MAVENUSER/introduction-to-the-lifecycle(
> wiki'd version )
>
>
> lightbulb432 wrote:
>>
>> I understand there are Eclipse IDE plugins, but from downloading and
>> trying one of them it seems like there's very little it actually does
(at
>> least from what I can tell), and they're quite poorly documented for
>> total beginners like me.
>>
>> Based on your experience, do you mostly use Maven from the
command-line?
>> What types of things do you do within Eclipse with Maven to simplify
your
>> development process?
>>
>> Could you recommend what a good Eclipse plugin would be? I've seen a
>> couple, and I really can't tell which is comparatively the best...some
>> suggestions would be appreciated.
>>
>
>

--
View this message in context:
http://www.nabble.com/Maven-from-command-line-only--tf3225422s177.html#a8967475
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to