maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Redmond" <eric.redm...@gmail.com>
Subject Re: NullPointerException: version was null
Date Thu, 20 Apr 2006 05:44:35 GMT
No, that's not OK. It looks like 1.2.7 wasn't officially deployed, the jar's
are just sitting there. The maven-metadata file does not have 1.2.7 listed
either.

Eric

On 4/19/06, Simon Kitching <skitching@gfg-group.com> wrote:
>
> Hi,
>
> I am trying to use the assembly:assembly goal. However when I run my pom,
> I
> get the exception shown below.
> Any ideas??
>
> BTW, I'm pretty sure that when I looked at ibiblio a day or two ago,
> Spring
> 1.2.6 was the latest available on ibiblio. There is now an
> org/springframework/spring/1.2.7 available. That dir doesn't have any
> pom.xml file though; is that ok?
>
> http://www.ibiblio.org/maven2/org/springframework/spring/1.2.7/
>
> Regards,
>
> Simon
>
>
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org
> /maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] version was null for org.springframework:spring
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException: version was null for
> org.springframework:spring
>         at
> org.apache.maven.artifact.DefaultArtifact.getBaseVersion(DefaultArtif
> act.java:361)
>         at
> org.apache.maven.artifact.DefaultArtifact.getId(DefaultArtifact.java:
> 222)
>         at
> org.apache.maven.artifact.resolver.ResolutionNode.getDependencyTrail(
> ResolutionNode.java:115)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(D
> efaultArtifactCollector.java:88)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
> nsitively(DefaultArtifactResolver.java:223)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
> nsitively(DefaultArtifactResolver.java:211)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
> nsitively(DefaultArtifactResolver.java:182)
>         at
> org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende
> ncies(DefaultPluginManager.java:1117)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:366)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message