Hi, The following authentication error is coming while trying to install your eclipse plugins. The following command deploying eclipse plugins to the NECLUES Repo/.
How to install eclipse plugins in local repo (.m2 repo)? C:\Documents and Settings\bpra\.m2\SampleProject1>mvn -e eclipse:make-artifacts -DeclipseDir=D:\eclipse -DdeployTo=external_free: :default::scp://NUCLEUS/usr/local/www/default/maven2_repositories/extern al_free + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Simple Demo [INFO] task-segment: [eclipse:make-artifacts] (aggregator-style) [INFO] ------------------------------------------------------------------------ ---- [INFO] [eclipse:make-artifacts] [INFO] Will deploy artifacts to remote repository external_free::default::scp://NUCLEUS/usr/local/www/default/maven2_repos itories /external_free [INFO] Processing file D:\eclipse\plugins\com.atlassw.tools.eclipse.checkstyle_4.3.0 [INFO] Building jar: C:\DOCUME~1\bpra\LOCALS~1\Temp\mvn-eclipse54161.tmp [INFO] Missing version for artifact org.eclipse.core.resources, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.ui, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.jface.text, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.jdt.core, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.core.runtime, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.ui.ide, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.jdt.ui, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.ui.workbench.texteditor, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.ui.editors, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.team.cvs.core, assuming any version > 0 [INFO] Missing version for artifact org.eclipse.team.core, assuming any version > 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to deploy artifact to repository. Embedded error: Error deploying artifact: Authentication failed: Cannot connect. Reason: java.net.UnknownHostException: NUCLEUS [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to deploy artifact to repository. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:224) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to deploy artifact to repository. at org.apache.maven.plugin.eclipse.MakeArtifactsMojo.processSingleFile(Make ArtifactsMojo.java:417) at org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsM ojo.java:211) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Authentication failed: Canno t connect. Reason: java.net.UnknownHostException: NUCLEUS at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:94) at org.apache.maven.plugin.eclipse.MakeArtifactsMojo.processSingleFile(Make ArtifactsMojo.java:406) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Authentication failed: Cannot connect. Reason: java.net.UnknownHostExc eption: NUCLEUS at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa ultWagonManager.java:268) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Defaul tWagonManager.java:153) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:80) ... 20 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: java.net.UnknownHostException: NUCLEUS at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnecti on(AbstractJschWagon.java:186) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa ultWagonManager.java:235) ... 22 more Caused by: com.jcraft.jsch.JSchException: java.net.UnknownHostException: NUCLEUS at com.jcraft.jsch.Util.createSocket(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnecti on(AbstractJschWagon.java:158) ... 24 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Wed Apr 18 11:34:26 IST 2007 [INFO] Final Memory: 3M/7M [INFO] ------------------------------------------------------------------------ Thanks & Regards Ramesh Babu.P -----Original Message----- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 11:18 AM To: Maven Users List Subject: Re: How to Build Eclipse RCP Application using Maven On 4/18/07, Ramesh Babu Pokala - TLS, Chennai <[EMAIL PROTECTED]> wrote: > > > I saw this site already but there is no step by step procedure to > build application. > > Do we need pde-maven-plugin to build RCP? > Can u please give me a complete description about this? Err, you go to the pde-maven-plugin site and follow the examples. You also read the eclipse plugin link and install your eclipse plugins into your local M2 repository. It really is that simple. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]