Why doesn't grails maven-deploy install to local cache? -


i using grails version 2.4.4 , release plugin version 3.0.1. seeing issue maven-deploy when trying put packaged plugin private remote repository. command errors when trying transfer file local maven cache. can see error message:

|plugin packaged grails-my-plugin-0.17.9-snapshot.zip |generating pom file... .......................................................................................................................... |pom generated: /path/to/pom/pom.xml |using configured username , password grails.project.repos.myplugins ....error  | error deploying artifact: error deploying artifact 'org.grails.plugins:my-plugin:zip': error retrieving previous build number artifact 'org.grails.plugins:my-plugin:zip': repository metadata for: 'snapshot org.grails.plugins:my-plugin:0.17.9-snapshot' not retrieved repository: myplugins due error: transfer of resource /path/to/cache/.m2/repository/org/grails/plugins/my-plugin/0.17.9-snapshot/maven-metadata-myplugins.xml.tmpfailed error | have specified configured repository deploy (--repository argument) or specified distributionmanagement in pom? 

after running grails maven-deploy, tried run grails maven-install before grails maven-deploy. generate file in local cache , maven-deploy succeeds. based on documentation maven-deploy, expected command install plugin local cache.

since works maven-install command, think config set properly. can see here:

grails.project.repos.myplugins.url = "s3://my-grails-plugins/release" grails.project.repos.myplugins.username = "username" grails.project.repos.myplugins.password = "password"  grails.project.repos.default = "myplugins" 

does know why happens?


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -