I had this problem -- updating the maven-scala-plugin from 2.10 to  
2.12.1 fixed it for me.

-Ross

On Oct 27, 2009, at 1:39 PM, Dano wrote:

>
> Hello,
>
> We did a build this morning and are getting an error from maven on the
> javax.mail dependency (see below).  We are currently referencing
> version 1.4.  It seems to get this from the central maven repository
> (http://repo2.maven.org/maven2).  The site appears to be up and has
> version 1.4.
>
> Did anyone else have this problem?  If so, is there a pom.xml change
> which solves this issue?
>
> Thanks in advance.
>
>
> Dan
>
> mvn -U clean install
> Picked up JAVA_TOOL_OPTIONS: -Xms128m -Xmx768m
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building InnovationGames
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.mortbay.jetty:maven-jetty-plugin: checking for
> updates from scala-tools.org
> [INFO] artifact org.mortbay.jetty:maven-jetty-plugin: checking for
> updates from central
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:
> checking for updates from scala-tools.org
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:
> checking for updates from central
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/doleary/ptpt2/trunk/baf/target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot net.liftweb:lift-util:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-util:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-base:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-base:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift:1.1-SNAPSHOT: checking for updates
> from scala-tools.org
> [INFO] snapshot net.liftweb:lift:1.1-SNAPSHOT: checking for updates
> from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-actor:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-actor:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-common:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-common:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] artifact javax.mail:mail: checking for updates from scala-
> tools.org
> [INFO] artifact javax.mail:mail: checking for updates from scala-
> tools.org.snapshots
> [INFO] artifact javax.mail:mail: checking for updates from central
> [INFO] artifact javax.activation:activation: checking for updates from
> scala-tools.org
> [INFO] artifact javax.activation:activation: checking for updates from
> scala-tools.org.snapshots
> [INFO] artifact javax.activation:activation: checking for updates from
> central
> [INFO] snapshot net.liftweb:lift-paypal:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-paypal:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-modules:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-modules:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-webkit:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-webkit:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-mapper:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-mapper:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-persistence:1.1-SNAPSHOT: checking
> for updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-persistence:1.1-SNAPSHOT: checking
> for updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-widgets:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-widgets:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] snapshot net.liftweb:lift-textile:1.1-SNAPSHOT: checking for
> updates from scala-tools.org
> [INFO] snapshot net.liftweb:lift-textile:1.1-SNAPSHOT: checking for
> updates from scala-tools.org.snapshots
> [INFO] artifact org.mortbay.jetty:jetty: checking for updates from
> scala-tools.org
> [INFO] artifact org.mortbay.jetty:jetty: checking for updates from
> scala-tools.org.snapshots
> [INFO] artifact org.mortbay.jetty:jetty: checking for updates from
> central
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [scala:compile {execution: default}]
> [INFO] suggestion: remove the scalaVersion from pom.xml
> [INFO] Checking for multiple versions of scala
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] version was null for javax.mail:mail
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException: version was null for javax.mail:mail
>       at org.apache.maven.artifact.DefaultArtifact.getBaseVersion
> (DefaultArtifact.java:362)
>       at
> org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout.pathOf
> (DefaultRepositoryLayout.java:47)
> ....
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to