maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyons, Roy" <>
Subject Re: For artifact {org.jvnet.staxex:stax-ex:null:jar}: The version cannot be empty.
Date Fri, 07 Jun 2013 23:43:43 GMT
eclipse:eclipse is borked and deprecated.  please import your pom into
eclipse with the supported m2eclipse plugin.  I promise you a ton less


Roy Lyons

On 6/7/13 5:52 PM, "Vladimir Sutskever" <>

>I am running eclipse:eclipse on a project and getting the
>[ERROR] Failed to execute goal
>org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli)
>on project installer: Execution default-cli of goal
>org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse failed: For
>artifact {org.jvnet.staxex:stax-ex:null:jar}: The version cannot be
>empty. -> [Help 1]
>After some debugging, I notice the following warning
>[WARNING] Invalid POM for,
>transitive dependencies (if any) will not be available, enable debug
>logging for more details: Some problems were encountered while processing
>the POMs:
>[ERROR] 'dependencies.dependency.version' for
>org.jvnet.staxex:stax-ex:jar is missing. @ line 7, column 17
>[ERROR] 'dependencies.dependency.version' for activation:activation:jar
>is missing. @ line 11, column 17
>I pulled up the pom file for
>,  and it is in-fact
>missing versions for its dependancies.
>I figured I would include a newer version of streambuffer.jar  in my pom
>explicitly (which has correct pom) but for some reason,  maven is still
>choosing the transitive version of the dependency over my explicitly
>declared one.
>Removing it:
> (removed - nearer
>found: 0.4)
>This project is a child project of another project.
>In what cases will maven choose a transitive dependency version over an
>explicitly declared one in the pom?
>Is there a way to make maven less sensitive  - to missing versions in
>I am currently running:
>Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message