This is my distributionManagement section of pom.xml:
<distributionManagement>
                <repository>
                  <id>local deploy</id>
                  <name>Repository Name</name>
                  <url>ftp://192.168.1.100/deploy</url>
                </repository>

          <snapshotRepository>
                <id>repo</id>
                <name>Repository Name</name>
                <url>file://d:/snapshotRepository</url>
          </snapshotRepository>
  </distributionManagement>

I use mvn deploy command to deploy my application. But it will be deployed
to the repository not snapshotRepository. 
-- 
View this message in context: 
http://www.nabble.com/How-can-I-use-snapshot-version-when-deploying-application--tp15924252s177p15924252.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to