You will find answers to your questions by spending five minutes reading the five minute tutorial : http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
There is also the "Getting Started" tutorial which will take you about 30 minutes : http://maven.apache.org/guides/getting-started/index.html When you will be more familiar with Maven, I recommend reading the free book "Better Builds With Maven" (at least the first three chapters) : http://www.maestrodev.com/better-build-maven -----Original Message----- From: Konovalov, Oleg [mailto:oleg.konova...@aurorabankfsb.com] Sent: Thursday, July 01, 2010 11:52 AM To: users@maven.apache.org Subject: Version is Missing in POM Hi, I am very new to Maven, writing my first POM file. I am getting errors like: [0] 'dependencies.dependency.version' is missing for javax.mail:mail:jar [1] 'dependencies.dependency.version' is missing for javax.activation:activation:jar Here is a snippet from my POM: <dependencies> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> </dependency> ............ etc. ........ </dependencies> These are plain java mail.jar, activation.jar There is no Version there. And actually these dependencies I took from another POM from another project which works fine. What am I missing ? How to solve that ? Please help ! TIA, Oleg. - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named. If you are not the intended recipient of this message, you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Aurora Bank FSB. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org