I am getting the error below when attempting to add the Apache
commons-validator version 1.3.1 to my project.  

It looks like this might be a known issue in Maven based on this bug
report:
http://jira.codehaus.org/browse/MNG-2123?page=com.atlassian.jira.plugin.
system.issuetabpanels:worklog-tabpanel.

I am relatively new to Maven and am not sure how I can work around the
issue.  Any help would be greatly appreciated!


[INFO] Using default encoding to copy filtered resources.
Downloading:
http://c3qubuild1:8081//commons-validator/commons-validator/1.3.1/common
s-validator-1.3.1.pom
Downloading:
http://repo1.maven.org/maven2/commons-validator/commons-validator/1.3.1/
commons-validator-1.3.1.pom
8K downloaded
Downloading:
http://c3qubuild1:8081//jcsc/jcsc-gnu-regexp/0.98.1/jcsc-gnu-regexp-0.98
.1.pom
Downloading:
http://repo1.maven.org/maven2/jcsc/jcsc-gnu-regexp/0.98.1/jcsc-gnu-regex
p-0.98.1.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] version was null for commons-digester:commons-digester
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException: version was null for
commons-digester:commons-digester
        at
org.apache.maven.artifact.DefaultArtifact.getBaseVersion(DefaultArtifact
.java:362)
        at
org.apache.maven.artifact.DefaultArtifact.getId(DefaultArtifact.java:225
)
        at
org.apache.maven.artifact.resolver.ResolutionNode.getDependencyTrail(Res
olutionNode.java:118)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(Defa
ultArtifactCollector.java:97)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:292)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:280)
        at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependenci
es(DefaultPluginManager.java:1246)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:401)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer.  Thank you.  Premier Inc.

Reply via email to