Eu tenho atualmente a versão 3.0.5 do maven, quando eu corro
mvn -version
Eu obtenho
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=1024m; support was removed in 8.0
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: /usr/java/latest/jdk1.8.0_65/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.0-61-generic", arch: "amd64", family: "unix"
Mas quando tento construir algo, ele está procurando por uma versão posterior. Aqui estão os erros que recebo ao criar o zeppelin do apache
[INFO] Zeppelin .......................................... SUCCESS [23.707s]
[INFO] Zeppelin: Interpreter ............................. SUCCESS [12.301s]
[INFO] Zeppelin: Zengine ................................. SUCCESS [5.654s]
[INFO] Zeppelin: Display system apis ..................... SUCCESS [18.403s]
[INFO] Zeppelin: Spark dependencies ...................... SUCCESS [46.644s]
[INFO] Zeppelin: Spark ................................... SUCCESS [22.427s]
[INFO] Zeppelin: Markdown interpreter .................... SUCCESS [0.467s]
[INFO] Zeppelin: Angular interpreter ..................... SUCCESS [0.398s]
[INFO] Zeppelin: Shell interpreter ....................... SUCCESS [0.392s]
[INFO] Zeppelin: Hive interpreter ........................ SUCCESS [3.598s]
[INFO] Zeppelin: HBase interpreter ....................... SUCCESS [6.213s]
[INFO] Zeppelin: Apache Phoenix Interpreter .............. SUCCESS [4.489s]
[INFO] Zeppelin: PostgreSQL interpreter .................. SUCCESS [0.774s]
[INFO] Zeppelin: JDBC interpreter ........................ SUCCESS [0.619s]
[INFO] Zeppelin: Tajo interpreter ........................ SUCCESS [1.516s]
[INFO] Zeppelin: File System Interpreters ................ SUCCESS [1.382s]
[INFO] Zeppelin: Flink ................................... SUCCESS [10.273s]
[INFO] Zeppelin: Apache Ignite interpreter ............... SUCCESS [1.636s]
[INFO] Zeppelin: Kylin interpreter ....................... SUCCESS [0.397s]
[INFO] Zeppelin: Lens interpreter ........................ SUCCESS [3.718s]
[INFO] Zeppelin: Cassandra ............................... SUCCESS [55.579s]
[INFO] Zeppelin: Elasticsearch interpreter ............... SUCCESS [2.541s]
[INFO] Zeppelin: Alluxio interpreter ..................... SUCCESS [2.759s]
[INFO] Zeppelin: web Application ......................... FAILURE [0.328s]
[INFO] Zeppelin: Server .................................. SKIPPED
[INFO] Zeppelin: Packaging distribution .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:47.114s
[INFO] Finished at: Sun Jun 12 07:16:37 UTC 2016
[INFO] Final Memory: 157M/1106M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:install-node-and-npm (install node and npm) on project zeppelin-web: The plugin com.github.eirslett:frontend-maven-plugin:0.0.25 requires Maven version 3.1.0 -> [Help 1]
[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/PluginIncompatibleException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-web
Assim, posso fazer com que o maven obtenha uma versão específica do plug-in front-end, o que posso fazer, ou posso atualizar o maven. Então, decidi atualizar o maven e executei o comando
sudo apt-get --only-upgrade install maven
E, em resposta, recebo
Reading package lists... Done
Building dependency tree
Reading state information... Done
maven is already the newest version.
Qual é a melhor maneira de resolver isso? Estou pensando em desinstalar o maven, mas espero uma resposta rápida aqui. Obrigado!