]> source.dussan.org Git - archiva.git/commit
[MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload...
authorMaria Odea B. Ching <oching@apache.org>
Sat, 3 Apr 2010 15:01:22 +0000 (15:01 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Sat, 3 Apr 2010 15:01:22 +0000 (15:01 +0000)
commitd06b48b52d89b17198193dc0f082c85c2f8b9935
tree9d7178477cefcc41991d83422d3c4c638471647e
parent7d72f9f75ea90b97f28913121943ad1103f5299b
[MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
o get latest build number from version-level metadata when deploying artifacts from webapp
o for snapshot artifacts deployed, generate or update the version-level metadata
o added unit test for this scenario
o refactored some parts of the tests for upload artifact

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@930528 13f79535-47bb-0310-9956-ffa450edef68
archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/UploadAction.java
archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java