anchor.diff:      build-locale-archive && find ${CYGNUS_HOME} -name '.[^.]*' 2>/dev/null | xargs -r rm -rf && \
       echo "INFO: Compacting Cygnus jar files..." && \
       # Some class needs to pass file because bytecode errors of old jar dependencies
  -    pack200 -J-Xmx512m -J-XX:MaxPermSize=128m --effort=5 --segment-limit=786432 --modification-time=latest --pass-file=org/apache/hadoop/hive/shims/Hadoop23Shims.class \
  +    pack200 -J-Xmx4096m -J-XX:MaxPermSize=256m --effort=5 --segment-limit=786432 --modification-time=latest --pass-file=org/apache/hadoop/hive/shims/Hadoop23Shims.class \
         ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar.pack.gz \
         ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
  -    pack200 -J-Xmx512m -J-XX:MaxPermSize=128m --effort=5 --segment-limit=786432 --modification-time=latest --pass-file=org/apache/hadoop/hive/shims/Hadoop23Shims.class \
  +    pack200 -J-Xmx4096m -J-XX:MaxPermSize=256m --effort=5 --segment-limit=786432 --modification-time=latest --pass-file=org/apache/hadoop/hive/shims/Hadoop23Shims.class \
         ${FLUME_HOME}/plugins.d/cygnus/lib/cygnus-ngsi-${CYGNUS_VERSION}-jar-with-dependencies.jar.pack.gz \
         ${FLUME_HOME}/plugins.d/cygnus/lib/cygnus-ngsi-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
       rm -f ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
  
positive.code: ENV CYGNUS_LOG_LEVEL "INFO"
  ENV CYGNUS_LOG_APPENDER "console"
  ENV CYGNUS_SERVICE_PORT "5050"
  ENV CYGNUS_JAVA_OPTS "-Xmx1024m -XX:-UseGCOverheadLimit"
  ENV CYGNUS_API_PORT "5080"
  ENV CYGNUS_MULTIAGENT false
  ENV CYGNUS_MONITORING_TYPE ""
  
negative.code:     adduser ${CYGNUS_USER} && \
      yum -y install nc java-${JAVA_VERSION}-openjdk-devel git && \
      export JAVA_HOME=/usr/lib/jvm/java-${JAVA_VERSION}-openjdk && \
      export MAVEN_OPTS="-Xmx4096m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8 -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.useIncrementalCompilation=false -DdependencyLocationsEnabled=false -XX:+TieredCompilation -XX:TieredStopAtLevel=1" && \
      export MAVEN_ARGS="-B -T4" && \
      # For debug Maven
      # export MAVEN_ARGS="${MAVEN_ARGS} -X -e -Dmaven.compiler.verbose=true" && \
  