Ask To Apps
  • Home
  • WordPress
  • Elasticsearch
  • PHP
  • Linux
  • Website Peformance

Tag : maven

Maven installation and configuration.

09/06/2014 Article

Maven is project management and build tool. It can be used to build application of different languages. Following are the simple steps for installation and configuration of maven.

Download and Installation –watch full The Mummy film online

Latest version of maven can be downloaded from.

http://apache.mesi.com.ar/maven/

I have tested with maven 2 – http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz

  1. Download – http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz
  2. Extract apache-maven-2.2.1-bin.tar.gz into “/usr/local/”
  3. Create symlink for “maven” to point “/usr/local/apache-maven-2.2.1”
  4. Create maven.sh file into “/etc/profile.d/”
  5. Add M2_HOME and JAVA_HOME into maven.sh
  6. Logout from user and login again.
$ wget http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz
$ tar -xvf apache-maven-2.2.1-bin.tar.gz
$ ln -s /usr/local/apache-maven-2.2.1 maven
$ vi /etc/profile.d/maven.sh

Add following variables into “maven.sh” …movie A Midwestern Lake 2017 trailerlive streaming movie Monsters, Inc. 2001

export M2_HOME=/usr/local/maven
export PATH=${M2_HOME}/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre
export PATH=$JAVA_HOME:$PATH

Maven settings file

Create maven settings files in .m2 folder of each user root directory, if maven has not created. This is configuration file create per user specific. It contains user-specific configuration and authentication, repositories and other information to customize the behavior of maven.

[localhost ~]$ vi .m2/settings.xml

 

Categories: Linux

Tags: maven, mvn

About Author:

Appa

Recent Posts

  • Install and configure logstash-forwarder
  • Redirect request on php script through squid proxy
  • Alerting for Elasticsearch : Log watcher in elasticsearch using ES Watcher
  • Detect face from image using python script with OpenCV
  • Change mysql root password on centos
  • Search part of word in elasticsearch using nGram – auto-complete search
  • Connect VPN on centos linux using command line
  • Custom river plugin in elasticsearch
  • Backup elasticsearch with snapshot and restore api
  • PHP code to exact keywords from text.

Tags

apache Apache Lucene cache Distributed Elastic Index Elasticsearch elasticsearch performance Git Clone Git Hub Git Hub Configuration Git Hub Installation grep Import Install MySQL JSON over HTTP Linux Linux Command Linux Commands Linux search local file lsyncd md5sum Multile Domain Multisite MySQL Open Source optimization performance php performance real time search remote file Remote Git Hub remote sync RESTful Scale Schema Free Search Engine Search Index Search keyword static cache Sub Domain sync Very fast Wordpress Wordpress multisite

Copyright Ask To Apps 2021 | Proudly powered by WordPress

facebook twitter google linkedin Email Rss