Good day to you, Attila, 

If you are getting that message. Then that means something is wrong for that
artifact of yours installed in your pom (when you do mvn install, the
package of your project will be copied in your local repository and a .pom
file will be generated there as well).

Kindly check if you have that .pom file whenever you do the installation.
Kindly check if the pom is of the proper format ( based on [1] ). Athough I
don't know how it could have an invalid format after instalation, this is
just to make sure.

Cheers,
Franz

[1]
http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java
4. Parent Id ( groupId & artifactId ) of your artifact should not have the
same id as the artifact itself.
5. 


Attila Mezei-Horvati wrote:
> 
> Deng,
> 
> I deleted the whole folder with everything in it. I
> still don't know why is doing it, the war however
> includes the jar file. 
> 
> For now I decided to keep going with my project. It is
> annoying to see the warning coming up at every phase
> while building the package but I will have to live
> with it for a while so I can meet the deadline.
> 
> If you have any ideas please let me know. I would like
> to understand what is wrong with it.
> 
> thanks,
> Attila
> 
> 
> 
>  
> ____________________________________________________________________________________
> Cheap talk?
> Check out Yahoo! Messenger's low PC-to-Phone call rates.
> http://voice.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/mvn2%3A-Failed-to-validate-POM-error-tf2624318s177.html#a7374342
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