Hi,
Maven can be viewed as a core and a concept  with enormeous plugins to
perform tasks.
To Use plugin you have to declare it under <plugins> <plugin> tags as
you do for dependencies. You must read plugin documentation to set
parameters value used by it to perform the task.
Please read
http://maven.apache.org/plugins/index.html
You put goal  Parameters under <configuration> tag of <plugin>
It is possible to bind plugin execution to a lifecycle phase
(compile,generate-sources ...)

Tom




2006/4/26, Anshuman Srivastava <[EMAIL PROTECTED]>:
> Hi,
> I am using maven2.0.3 and fairly new to Maven.
>
> Anyone please tell me that using Maven Plugin is same as adding the
> information in dependency section of pom.xml like --
>
> <dependency>
>    <groupId>javax.servlet</groupId>
>       <artifactId>servlet-api</artifactId>
>    <version>2.3</version>
>    <scope>provided</scope>
>   </dependency>
> .
> If its not the same then what is the difference between plugins and these
> dependencies?
>
> Thanks
> Anshuman
>
>

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

Reply via email to