If I remove version from
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6.2</version>
</dependency>
I cannot build.
NetBeans: Executing '/home/sebas/opt/apache-maven-3.0.2/bin/mvn -Dnetbeans.execution=true clean'
NetBeans: JAVA_HOME=/usr/lib/jvm/default-java
Scanning for projects...
[ERROR]The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.mapflow.com:core:0.0.5-SNAPSHOT (/home/sebas/dev/OneView/CONSOLE/trunk/core/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for joda-time:joda-time:jar is missing. @ line 149, column 21
[ERROR]
[ERROR]To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR]For more information about the errors and possible solutions, please read the following articles:
[ERROR][Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
and if I remove joda dependency and add
<dependency>
<groupId>org.jboss.seam.international</groupId>
<artifactId>seam-international</artifactId>
<version>3.0.0.Final</version>
</dependency>
I still get
java.lang.ClassNotFoundException: org.joda.time.DateTimeZone