Not exactly. A plugin is a component that Maven recognizes and can use to perform some task. When you declare a dependency (as below) you are simply telling Maven that your project needs that resource for the specified scope.

It would help if you went through a few tutorials and tried a few things with it.

This article is a little dated, and covers Maven 1, but I think it would help get you bootstrapped into a better understanding of what Maven is about:

 http://www.theserverside.com/articles/article.tss?l=MavenMagic

HTH


--
James Mitchell

P.S. -- Google is your friend



On Apr 26, 2006, at 12:26 AM, Anshuman Srivastava wrote:

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