You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Massimo Heitor <ma...@gmail.com> on 2010/07/27 23:04:38 UTC

Maven 2.2.1 Question

Any idea why I would get these types of warnings and errors with Maven
2.2.1? The "POM ... is invalid" warnings sound fairly straight forward, but
those were just downloaded from the default Maven repo, and this happens on
multiple build systems, so I suspect it's a n issue with Maven's servers
rather than a corrupted download or file issue.

Here are the warnings and errors:

[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 292 resources
[WARNING] POM for 'javax.servlet:servlet-api:pom:2.3:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-logging:commons-logging:pom:1.0.4:compile' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-codec:commons-codec:pom:1.2:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: commons-fileupload:commons-fileupload:jar:1.2

Reason: Cannot find parent: org.apache.commons:commons-parent for project:
commons-fileupload:commons-fileupload:jar:1.2 for project
commons-fileupload:commons-fileupload:jar:1.2