From: Konovalov, Oleg 
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.

Reply via email to