title: Spring Cloud Dataflow Maven Snapshots - how to set update policy?
body: <p>I'm developing a custom Spring Cloud Stream Processor and using a local Spring Cloud Dataflow Server (v 1.3.0.M1) to run it. As I'm still experimenting, I am using Maven to deploy snapshots to our internal remote repository, then registering them through the Dataflow shell:</p>
  
  <pre><code>dataflow:&gt;app register --name myproc --type processor --uri maven://com.company.stream.processor:myproc:0.0.1-SNAPSHOT
  </code></pre>
  
  <p>I deployed a stream using <code>myproc</code>, and saw the info I expected in the logs. So I tweaked the processor, used Maven to rebuild/redeploy to remote repo, and confirmed the update indeed got to our remote repo.</p>
  
  <p>I undeployed the stream, unregistered <code>myproc</code>, then re-registered and re-deployed. But, the server did not download the updated Snapshot version of the processor.</p>
  
  <p>I don't want to have to manually remove snapshots from the local repo each time I register a new copy of the app. Is there a way to configure Maven properties in the application.yml so snapshots are always downloaded? I Googled for a list of Maven properties that may be listed in the .yml file but couldn't find one.</p>
  
  <p>I have these Maven properties in the Dataflow server's <code>application.yml</code> configuration. I also ensured that the <code>settings.xml</code> file for the user running the local server has the updatePolicy set to 'always' but I don't think that's having any effect.</p>
  
  <pre><code>maven:
    local-repository: /tmp/scdf-artifact-repository
    remote-repositories:
      repo1:
        url: https://repo.company.com/maven2
        auth:
          username: user
          password: pw
  </code></pre>