scala spark version mismatch

i am getting below exception while running word count program in scala. Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps; at org.apache.spark.util.Utils$.get

JavaFx application with Maven in Eclipse

I want to ask if there is any method to add Java Fx into Maven Archetype list in Eclipse or any plugin to use Maven to build JavaFx Application.There is the javafx-maven-plugin which is available for maven. When developing with Java 8 you just put th

Installing MuTect: GATK-protected: maven: Java-compile-error

I'm trying to install mutect, and as directed in the, I've git cloned gatk-protected and tried to do 'mvn -Ddisable.queue install'. But I get the following issue. I've java 1.7 and maven 3.3.3. 1.[INFO] -------------------------------------

Apache Tez build fails

I am trying to build Apache Tez (Both 0.6.1 and 0.7.0 version) for hadoop-2.6.0 in windows using below command mvn clean package -Dhadoop.version=2.6.0 -DskipTests -Dmaven.javadoc.skip But i am getting below exception [INFO] [INFO] --- exec-maven-plu

Speed ​​up the creation of Adobe CQ5 Maven

I need solution to speed up maven build process. The project is based on Adobe cq5 otherwise AEM and i have more than 10 modules in my project where the build happens in linear way. Currently Build process takes more than 10 min to compile. is any ot

Maven: Groovy-Eclipse Compiler with Groovy 2.3.5

Since GMaven has been discontinued, I have been using Groovy-Eclipse Compiler plugin on my Maven projects. The version I used is 2.8.0-01 and I specifically used Groovy 2.1. I know 2.9.0-01-SNAPSHOT has been out for the longest time, but there's no E

Why does the maven version ignore my child modules?

What I am trying to do is to push out a couple of parent poms for all of our sub projects. I have a single project that contains a single parent pom with two child module poms. Packaging for all three are of type pom if this makes a difference. When

Maven project aggregation and variables

Agregate Project 1: <groupId>com.mycompany</groupId> <artifactId>builder</artifactId> <version>1.0.0</version> <packaging>pom</packaging> <modules> <module>../module-1</module> <module&g

mvn --version does not work?

I have problem with MAVEN path i have already set all the path but not working please see the below path Path ....;C:\Program Files\Java\jdk1.6.0_20\bin;D:\apache-maven-3.2.1\bin JAVA_HOME C:\Program Files\Java\jdk1.6.0_20 MAVEN_HOME D:\apache-maven-

Maven installation error: the dependency could not be resolved

I am using Maven 3.1.1. When I run mvn install I get the following error: D:\spring source>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SpringDepend

H2 and Oracle compatibility issues

I am having an issue executing the following script using Flyway and H2 database. I assume its a Oracle compatibility issue but I am using H2 with the correct mode. This script is used to construct my tables in production but I want to use an in-memo

Bizarre NoClassDef-s with the Eclipse Jetty Maven plugin

I am using an embedded Jetty via the Eclipse Jetty Maven plugin (9.1.0.M0). I have the following plugin configuration in my pom.xml: <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> &l

ClassNotFoundException in the Maven project

There is a maven based project, which can be built by maven install, but throw exception when run the out jar: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser Caused by: java.lang.ClassNotFound

Can not detect Persistence.xml

i have 3 days searching for a solution ,but nothing helpful, i want to deploy an MAVEN Web project ,this Web project contains a dependency of an EJB maven project(i use the MAVEN POM EDITOR to add this dependency).. when i make a MAVEN INSATALL to bo

mvn release: prepare does not work using maven 3

My JAVA_HOME is properly set up to /usr/local/java/jdk1.7.0_01 $echo $JAVA_HOME /usr/local/java/jdk1.7.0_01 $sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status

Maven does not publish a POM in this directory

I am trying to use the maven-release-plugin 2.3.2 on a multi module POM. (Maven 3.0.4) release:prepare works fine but release:perform fails with this error [INFO] org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a p

pom.xml custom file name in maven multi module

I have a maven3 multimodule project, and for a strange reason i need to customize POM filename for one of my child module (ie: module-pom.xml) Is it possible to configure this in the parent pom ? The strange reason is a bit long to explain sorry, but

how to generate a pot and war both in the project

we have two different project . And and the controller is almost same in two project. project A has controller inside it. So generating war for it is not problem. But project B is requiring Controller's jar of project A controller. Can any body tell

The Maven Classifier dependency does not always resolve

We use Maven3.0.3 and we use classifier to resolve among dependency for three regions DEV/TEST/PROD. Even though the Nexus maven rep has got the jars with all classifiers(DEV/TEST/PROD) it doesn't always get resolved. We had to build the specific cla

Get the Maven version in Jenkins

Is there any way a Jenkins build can be aware of the Maven version number of a project after processing the POM? I've got some projects where versioning is controlled by Maven, and in a post-build job we'd like to create a Debian package and call som

Where is the project schedule for Maven 3.1 available?

One feature of Maven 3 I am eagerly awaiting is automatic parent versioning, that is, no longer needing to hardcode the parent version in every child pom.xml. This feature is apparently coming in Maven 3.1, but when is Maven 3.1 coming? Ironically, i