Home > centos > Switch Maven version after installing from jpackage?

Switch Maven version after installing from jpackage?

June 6Hits:1

I've installed maven3 on CentOS from the JPackage repository. Problem is my installs also seem to have pulled in maven2 which is the default. Is there any way to switch /usr/bin/mvn to be maven3? perhaps using the alternatives application? (note: I can modify the path, or symlink I know, just trying to find out if there's a more correct way)


I would remove the maven packages and just install the maven3 packages. This is only going to give you 3.0.3, however.

If you want to get a more recent version of Maven I'd go with dchen's repo from the "Fedora People" unofficial repositories. It seems to be tracking the latest version, apache-maven-3.2.1-1.el6.noarch.rpm. Here's the top level link to dchen's repository as well.


Related Articles

  • Switch Maven version after installing from jpackage?June 6

    I've installed maven3 on CentOS from the JPackage repository. Problem is my installs also seem to have pulled in maven2 which is the default. Is there any way to switch /usr/bin/mvn to be maven3? perhaps using the alternatives application? (note: I c

  • How can I switch between versions of an installed package with apt-get? September 18

    This question already has an answer here: How to install specific Ubuntu packages, with exact version? 3 answers On 12.04, I have the latest version of Ocaml (4.01) installed with all the dependencies. I'm trying to install Coq, which depends on an o

  • Getting Maven Version in JenkinsMarch 27

    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

  • Switch PHP version on Centos 6.4August 1

    I'm using CentOS 6.4 and I got Apache 2.2 and MySQL, but the PHP version is 5.5.1 which is a problem for me, because the application which we develop is working with php 5.3 and lower versions. I use this tutorial to install everything: http://www.if

  • Switching Java version through apt?May 6

    (Apologies in advance if my formatting is off, this is my first post, please feel free to correct me). Normally, when I want to find out what version of java I'm using, I run: java -version java version "1.7.0_55" If I want to change java versio

  • Switching ruby versions with Passenger, getting errorOctober 25

    I switched from 2.2.5 to 2.1.5 recently and noticed that I get an attempt to compile and download the interpreter as such: [ 2015-10-25 11:15:15.3328 8841/b6ad5b40 age/Cor/CoreMain.cpp:793 ]: Disconnecting long-running connections for process 16579,

  • Which linux version to install: i386 or x64?May 4

    Talking about ease of maintanence / software support does it matter what version of linux i386 or x64 version is installed? Server obviously is 64 bit however i wonder if living with 64bit OS would add any more pain when it comes to finding software

  • Installing newer version of installed RPM from source (CentOS)August 17

    I've got sqlite 3.3.6 installed through ''yum'', but I need 3.6+. There's no RPM to be found for it, so I decided to install from source. That was simple enough, but now I have both versions installed, which is problematic. I'd like to get rid of the

  • Remotely check version off installed software?November 8

    I am looking for a method or tool I can install (on the machines) to remotely check what versions of different programs are installed. I need to check this for about 60 windows machines. Does somebody know a (opensource) solution for this. ----------

  • Error in installing Windows SDK (Newer version already installed)August 21

    I am trying to install the Windows SDK on my Windows 7 64bit machine. But during the process of installation it gave me an error. I reviewed the log and it seems that it is due to a newer version of Microsoft Visual C++ 2010 runtime is already instal

  • How to update maven version on ubuntu machine?September 20

    I am working on Ubuntu linux machine. When I open a terminal window and type : mvn -v I got the output: Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_26 Java home: /usr/lib/jvm/java-6-sun- Default locale: en_US, platform encoding: UT

  • Installing Aperture from the App Store when a previous version is installedFebruary 24

    I have installed Apple Aperture some time ago using a serial (likely pirated) that I searched for on the internet. Now, I want to purchase a legal version through the App Store, but it is seeing the prior version as installed. When I try to buy it, t

  • How to uninstall previous version and install new version on multiple remote PCsMarch 5

    I have msi for TFS controls. When I release a new version of the controls, I want remotely to uninstall the old version and install the new one for all the computers in the department. How can I do it? and what will it require (all users will have to

  • How to get version of installed Windows if i'm in Recovery Console?April 14

    I have an image of server HDD that have some version of Windows 2008 R2 installed. It's in reboot loop, so i need to use "repair install" on it to regain functionality. Unfortunately, i don't know exact version of this server (for example "

  • How can I bypass the error message "a newer version is installed" and install IE10?April 24

    In the last month, the Windows update tried to update daily to IE10 and always failed. The error code I got was always ("9C48"). (I have Windows 7, 64-bit version) I tried to remove IE9 and install IE10 manually, but I got the error "a newe

  • Which Ubuntu version to install (12.04 or 13.04) May 12

    This question already has an answer here: What are the system requirements for each flavour of Ubuntu Desktop 7 answers I have windows 7 installed in my laptop. I have a lenovo G570 series laptop. I would like to install ubuntu. Can anyone tell me wh

  • Need to install eclipse jee but have a previous version already installedDecember 16

    I installed Eclipse from the "Ubuntu Software Center" and is up and running. But it was the the J2EE version; I am trying to run tomcat from within Eclipse and need the jee version. I have downloaded eclipse-jee-kepler-SR1-linux-gtk.tar.gz and n

  • How to know which Gapps version is installed?March 10

    How to know which Gapps version is installed in official Roms. I've a Archos 45b Helium with Android 4.4.4 installed. --------------Solutions------------- In SDK package of Android, there's a little tools called "aapt" which gives you informatio

  • Check file-version at install timeJanuary 25

    I have an installer that contains a uncompressed file: <Component Id="Uncompressed"> <File Id="UncompressedFile" Vital="yes" Source="Uncompressed.dll" Compressed="no" /> </Component> This

  • Update Maven version in Ubuntu 8.1March 11

    My ubuntu has maven 2.0.9 version installed, but now i want to update to the newest version. Altough Im not the root, I have downloaded maven latest version, modified the M2_HOME in .bashrc file with sudo, but when i type in console mvn -version, the

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.620 s.