Good day,

As for the first question, please refer to Wayne's answer.

As for the second one, - Yes. I edit the pom.xml file just like a regular
xml file. For more info, kindly see [1].

And as for the third one, please refer to nico's answer.

Cheers,
Franz

[1] http://maven.apache.org/ref/2.0.4/maven-model/maven.html



lightbulb432 wrote:
> 
> 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#a8968029
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