anchor.diff:                  -v "https://github.com/WiserUFBA/wiser-mvn-repo/raw/master/releases" ./pom.xml && \
       export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" && \
       mvn -X clean install && \
  -    ( service jboss-service start || \
  -      service jboss-service start || \
  -      service jboss-service start ) && \
  -    sleep 20 && \
       JBOSS_CONFIGURATION="$JBOSS_HOME/standalone/configuration" && \
       cp ./utils/utils.commons/src/main/resources/security-config.ini "$JBOSS_CONFIGURATION" && \
       cp ./utils/utils.commons/src/main/resources/properties/openiot.properties "$JBOSS_CONFIGURATION" && \
  
positive.code:     mv /tmp/openiot/openiot $OPENIOT_HOME
  
  # Instalação dos Módulos do OpenIoT no Container JBoss
  RUN until service jboss-service status ; do service jboss-service start; echo "Started..."; done && \
      cd $OPENIOT_HOME/modules/lsm-light/lsm-light.server/ && \
      mvn -X jboss-as:deploy && \
      cd $OPENIOT_HOME/modules/security/security-server/ && \
      mvn -X jboss-as:deploy && \
      cd $OPENIOT_HOME/modules/security/security-management/ && \
  
negative.code: # TODO: REMOVE ALL UNANTHED APPLICATIONS
  
  # Finaliza a instalação
  RUN chmod 755 /openiot-start.sh && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
      echo "Finished compilation..."
  