java - fabric8:deploy how to set user and password properties in goals? -


i trying deploy bundle remote jboss fuse 6.1. use "fabric8-maven-plugin". executing following command

mvn fabric8:deploy -dfabric8.profileversion=1.0 -dfabric8.jolokiaurl=http://host:8181/jolokia -dfabric8.parentprofiles=parent -dfabric8.profile=child 

it requires <server> section in ~/.m2/settings.xml file server id: fabric8.upload.repo

is possible set user , password in command?

see fabric8 maven plugin, specifying credentials command line:

the fabric8:deploy goal default read username , password local maven settings.xml file. may not desired store password plain-text. option jolokiaurl can used specify url remote fabric server including username , password. example use username scott , password tiger type:

fabric8:deploy -dfabric8.jolokiaurl=http://scott:tiger@localhost:8181/jolokia


Comments