title: How to release maven project from Gitlab without Snapshot?
body: <p>.gitlab.yml has following</p>
  <pre><code>stages:
    - test
    - publish
    - deploy
    - manual
  
  # Test all commits regardless of branch in a WildFly 10 instance
  test:wf10:
    stage: test
    script:
      - mvn clean test -U -Dprofile.wildfly10 -Dwildfly10.servergroup=masterdata-web
    tags:
      - test
      
  # Publish tagged release to Artifactory (WildFly 10)
  publish-release:wf10:
    stage: publish
    only:
      - /^v-.*$/
    script:
      - mvn clean deploy -B -U -P wildfly10 -Dmaven.test.skip=true
    tags:
      - test
  
  # Manually deploy any build to WildFly 10 servergroup Masterdata-web
  deploy-test:wf10:
    stage: manual
    environment:
      name: test
    script:
      - mvn clean package wildfly:undeploy wildfly:deploy -B -U -P wildfly10 -Dmaven.test.skip=true -Dwildfly10.servergroup=masterdata-web 
    tags:
      - test
    when: manual
  
  # Manually deploy tagged release to WildFly 10 servergroup Masterdata-web
  deploy-qa:wf10:
    stage: manual
    environment:
      name: qa
    script:
      - mvn clean package wildfly:undeploy wildfly:deploy -B -U -P wildfly10 -Dmaven.test.skip=true -Dwildfly10.servergroup=masterdata-web 
    tags:
      - qa
    when: manual
    
  # Automatically deploy build staged for release to WildFly 10 servergroup Masterdata-web
  deploy-release-qa:wf10:
    stage: deploy
    environment:
      name: qa
    only:
      - master
    except:
      - /^v-.*$/
    script:
      - mvn clean package wildfly:undeploy wildfly:deploy -B -U -P wildfly10 -Dmaven.test.skip=true -Dwildfly10.servergroup=masterdata-web 
    tags:
      - qa
    when: manual
  
  # Automaticaly deploy tagged release to WildFly 10 servergroup Masterdata-web
  deploy-release-prod:wf10:
    stage: deploy
    environment:
      name: prod
    only:
      - /^v-.*$/
    script:
      - mvn clean package wildfly:undeploy wildfly:deploy -B -U -P wildfly10 -Dmaven.test.skip=true -Dwildfly10.servergroup=terp
    tags:
      - prod
  
  
  # Manually generate project report for WildFly 10, report is stored for 2 weeks
  generate-report:wf10:
    stage: manual
    script:
      - mvn clean test site:site -B -U -P wildfly10
      - mv target/site ./
    artifacts:
      name: report-wf10
      expire_in: 2 weeks
      paths:
      - site
    tags:
      - test
    when: manual
    
  # Manual deploy tagged release to WildFly 10 servergroup servicedesk in PROD
  deploy-prod:wf10:
    stage: deploy
    environment:
      name: prod
    #only:
    #  - /^v-.*$/
    script:
      - mvn clean package -B -U wildfly:undeploy wildfly:deploy -Dprofile.wildfly10 -Dmaven.test.skip=true -Dwildfly10.servergroup=terp
    tags:
      - prod
    when: manual 
  </code></pre>
  <p>For release every time, I need to run following commands by check out branch:</p>
  <pre><code>mvn release:prepare -Darguments=-Dprofile.wildfly10 -DignoreSnapshots=true
  mvn release:clean
  git push --follow-tags
  </code></pre>
  <p>Then it relaeases without SNAPSHOT</p>
  <p>If i create manual branch it always append SNAPSHOT.</p>
  <p>Can you suggest how to create manual pipeline which deploys without SNapshot and from Gitlab only?</p>