The POM present in the repository seems ok :
C:\Documents and
Settings\joel.costigliola\.m2\repository\sapiens\SapiensCommonsCore\2.6.0>mvn
-f SapiensCommonsCore-2.6.0.pom validate
[INFO] Scanning for projects...
[INFO]
e-
De : Rémy Sanlaville [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 juillet 2007 14:06
À : Maven Users List
Objet : Re: Failed to validate POM warning
>
> [WARNING] POM for 'sapiens:SapiensCommonsCore:pom:2.6.0:compile' is
> invalid. It will be ignored for artifact resolution.
[WARNING] POM for 'sapiens:SapiensCommonsCore:pom:2.6.0:compile' is
invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM f
or project sapiens:SapiensCommonsCore at Artifact
[sapiens:SapiensCommonsCore:pom:2.6.0:compile]
Isn't it possible to run mvn validate direc
6M/11M
[INFO]
Joël Costigliola
-Message d'origine-
De : Rémy Sanlaville [mailto:[EMAIL PROTECTED]
Envoyé : lundi 16 juillet 2007 11:09
À : Maven Users List
Objet : Re: Failed to validate POM warning
>
> By the way, is there a tool or
By the way, is there a tool or plugin to validate a POM ?
mvn validate ?
Rémy
ORMATION METIER)
[mailto:[EMAIL PROTECTED]
Envoyé : vendredi 13 juillet 2007 09:54
À : Maven Users List
Objet : RE: Failed to validate POM warning
Thanks Steven for the reply.
The result of "mvn help:effective-pom" command seems good to me, it has a
groupId with a correct value (sa
---
Joël Costigliola
-----Message d'origine-
De : Steven Rowe [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 12 juillet 2007 18:02
À : Maven Users List
Objet : Re: Failed to validate POM warning
Hi Joël,
Have you tried using the -X option to mvn? It might give
Hi Joël,
Have you tried using the -X option to mvn? It might give more details
on the problem.
I checked your SapiensCommonsCore POM against maven-4.0.0.xsd, and it
appears to be valid, but you don't have a groupId there - are you
expecting to inherit it from the parent?
It might also be useful
e.org; users@maven.apache.org
Objet : RE: Failed to validate POM warning
Hi,
There can be two reasons for the scenario:
1. If you are working with the global repo; then your specific
(SapiensCommonsCore) dependencies which might not be found by the POM
(ObjetTrouveService).
So you can prov
,
vaishali pande
Cognizant Technology Solutions Pvt Ltd.
From: Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER)
[mailto:[EMAIL PROTECTED]
Sent: Thu 7/12/2007 2:03 PM
To: users@maven.apache.org
Subject: Failed to validate POM warning
Hi
Hi,
One of my project (ObjetTrouveService) depends on another project of mine
(SapiensCommonsCore).
When building ObjetTrouveService I have a warning telling me that
SapiensCommonsCore pom is not valid.
Here's the trace :
[INFO] Scanning for projects...
[INFO]
-
11 matches
Mail list logo