I had a similar problem last week and noticed my "broken" poms (and maven-metadata xml files) contained some HTML error status output from
the remote repository maven had tried to download from.
Somehow, maven sometimes seems not to recognize a bad connection / response and
then breaks its own local repository, sigh...
Only remedy then is either clearing the local repository or hunt down the
offending/broken poms and remove them manually like Randy suggested.
dagdag,
Ate
Randy Watler wrote:
Christine,
Please try to delete the offending pom files in your local repo and try
the build again.
I know, not exactly scientific...
Randy
Christine wrote:
Hi,
I am using the tutorial to get familiar with Jetspeed. I like what I
see. However, maven complains about a number of dependencies, it says
that the pom version is wrong:
[WARNING] POM for 'commons-io:commons-io:pom:1.4:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
for project commons-io:commons-io at
/home/christine/JetspeedTraining/maven/repository/commons-io/commons-io/1.4/commons-io-1.4.pom
[WARNING] POM for 'org.apache.maven:maven-artifact:pom:2.0.5:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM. for project org.apache.maven:maven-artifact at
/home/christine/JetspeedTraining/maven/repository/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom
[WARNING] POM for
'org.apache.maven:maven-plugin-registry:pom:2.0.9:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
for project org.apache.maven:maven-plugin-registry at
/home/christine/JetspeedTraining/maven/repository/org/apache/maven/maven-plugin-registry/2.0.9/maven-plugin-registry-2.0.9.pom
I do have the right jar files, so I copied these to my maven
repository and all's well. Is there anything I can change in the pom
file to make it work properly?
dagdag
Christine
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]