How do I set Environment Variables for Apache Meaven and Memcached?

Environment Variables for Apache Meaven and Memcached are as below : 



Maven:

Variable

Value Example

Description

JAVA_HOME

/usr/java/latest

Points to the directory where the Java runtime environment (JRE) is installed

JAVA_OPTS_CONFFILE

/opt/maven/conf/variables.conf

Path to the variables.conf file

JAVA_VERSION

1.8.0.171

A version of the running Java engine (informational)

MAVEN_OPTS

-showversion

This variable contains parameters used to start up the JVM running Maven and can be used to supply additional global options to Maven

MAVEN_RUN_ARGS

-T2

Allows to pass some custom arguments for the application build (can be redefined for a particular project)

MAVEN_DEPLOY_ARTIFACT

 

Defines an artifact to be deployed (can be redefined for a particular project)

MVN_VER

3.5.3

Version of the current template (informational)



 Memcached:


Variable

Value Example

Description

MEMCACHED_VERSION

1.5.2008

Version of the current template (informational)

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 11982