Hi Pengfei, This is an INFO message, not a failure: it explains why it is switching to SSH key instead of agent.
Regards, Hervé Le jeudi 30 avril 2015 12:01:49 Barrie Treloar a écrit : > Please use the Maven users list for these questions. > > On 30 April 2015 at 11:47, Pengfei Deng <[email protected]> wrote: > > Hi all , > > > > When I try to use maven-release-plugin and use > > > > release:clean release:prepare release:perform I got error below: > > > > > > > > [INFO] [INFO] --- maven-site-plugin:3.4:deploy (default-deploy) @ > > site-deploy-test --- > > > > [INFO] Unable to connect to agent: > > com.jcraft.jsch.agentproxy.AgentProxyException: connector is not > > available: > > > > [image: > > https://eis-jenkins-jcat.rnd.ki.sw.ericsson.se/static/09e72bc8/images/spin > > ner.gif]> > > And the source code is like this: > > try > > > > { > > > > Connector connector = ConnectorFactory.getDefault(). > > > > createConnector(); > > > > if ( connector != null ) > > > > { > > > > IdentityRepository repo = new RemoteIdentityRepository( > > > > connector ); > > > > sch.setIdentityRepository( repo ); > > > > } > > > > } > > > > catch ( AgentProxyException e ) > > > > { > > > > fireSessionDebug( "Unable to connect to agent: " + > > e.toString() > > > > ); > > > > } > > > > Could you please help? > > > > > > > > Best Regards, > > > > [image: Ericsson] <http://www.ericsson.com/> > > > > *PENGFEI DENG * > > Software Design Engineer > > > > BURA DURA RCI CBC Tools JCAT and Config > > > > > > *Ericsson* > > No.5 WangJing East Road Chaoyang District Beijing > > 100102, China > > Phone +86 15652957083 > > > > Office +86 10 84767195 > > [email protected] > > www.ericsson.com > > > > > > > > [image: http://www.ericsson.com/current_campaign] > > <http://www.ericsson.com/current_campaign> > > > > > > > > Legal entity: CBC/XIT, registered office in RndP. This Communication is > > Confidential. We only send and receive email on the basis of the terms set > > out at www.ericsson.com/email_disclaimer --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
