I've tried various slash combinations, but the error report talks about
the classes directory?

In other POMs I use file:///Y:/... And that works.

Regards,
John
 

> -----Original Message-----
> From: Dan Tran [mailto:[EMAIL PROTECTED] 
> Sent: 04 January 2008 00:31
> To: Maven Users List
> Subject: Re: Deploy fails
> 
> this looks bad
> 
>   file:///\\\\Y:/sienabuild/m2.builds/snapshots
> 
> should it be
> 
> file://Y:/sienabuild/m2.builds/snapshots
> 
> ??
> 
> 
> 
> On Jan 3, 2008 1:02 PM, Ruchir Talwar 
> <[EMAIL PROTECTED]> wrote:
> > Caused by:
> > 
> org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error 
> > deploying artifact: 
> > Z:\jcoleman\projects\eTraderII\trunk\target\classes
> > (Access is denied)
> >       at
> > 
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defa
> > ul
> > tArtifactDeployer.java:95)
> >       at
> > 
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
> >       ... 13 more
> > Caused by: java.io.FileNotFoundException:
> > Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access 
> is denied)
> >
> >
> > Could the words in bold have something to do with it?
> >
> >
> >
> > On 03/01/2008, John Coleman 
> <[EMAIL PROTECTED]> wrote:
> > >
> > > Anyone have any ideas why this deployment is failing please?
> > >
> > > I have no idea why the classes directory is even part of the 
> > > deployment which should simply involve copying a jar and 
> zip file to 
> > > a directory on a remote windows server via a drive map.
> > >
> > > Happy new year!
> > > John
> > >
> > >
> > > [DEBUG]Configuring mojo
> > > 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --> 
> > > [DEBUG]  (f) artifact = com.eurobase:eTraderII:war:1.7-SNAPSHOT
> > > [DEBUG]  (f) attachedArtifacts =
> > > [com.eurobase:eTraderII:war:JC-1.7-SNAPSHOT-r1208:1.7-SNAPSHOT,
> > > com.eurobase:eTraderII:zip:bin:1.7-SNAPSHOT]
> > > [DEBUG]  (f) deploymentRepository = [repo] -> 
> > > file:///\\\\Y:/sienabuild/m2.builds/snapshots
> > > [DEBUG]  (s) localRepository = [local] -> file://C:\Documents and 
> > > Settings\jcoleman\.m2\repository [DEBUG]  (f) packaging = war 
> > > [DEBUG]  (f) pomFile = 
> Z:\jcoleman\projects\eTraderII\trunk\pom.xml
> > > [DEBUG]  (f) updateReleaseInfo = false
> > > [DEBUG]-- end configuration --
> > > [deploy:deploy]
> > > altDeploymentRepository = null
> > > Retrieving previous build number from repo [DEBUG]repository 
> > > metadata for: 'snapshot 
> com.eurobase:eTraderII:1.7-SNAPSHOT' could 
> > > not be found on repository:
> > > repo
> > > 
> --------------------------------------------------------------------
> > > ----
> > > [ERROR]BUILD ERROR
> > > 
> --------------------------------------------------------------------
> > > ----
> > > Error deploying artifact:
> > > Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is 
> > > denied)
> > > 
> --------------------------------------------------------------------
> > > ----
> > > [DEBUG]Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Error 
> > > deploying
> > > artifact: 
> Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is
> > > denied)         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
> > > ault
> > > LifecycleExecutor.java:635)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
> > > ifec
> > > ycle(DefaultLifecycleExecutor.java:551)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
> > > ultL
> > > ifecycleExecutor.java:530)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
> > > ndle
> > > Failures(DefaultLifecycleExecutor.java:309)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
> > > nts(
> > > DefaultLifecycleExecutor.java:276)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
> > > ifec
> > > ycleExecutor.java:143)
> > >         at
> > > 
> org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.exe
> > > cute
> > > (MyLifecycleExecutor.java:92)
> > >         at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
> > >         at 
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
> > >         at
> > > 
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.
> java:760)
> > >         at
> > > 
> org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJa
> > > vaEx
> > > ecutor.java:196)
> > >         at
> > > 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:1
> > > 51) Caused by: 
> org.apache.maven.plugin.MojoExecutionException: Error 
> > > deploying artifact: 
> > > Z:\jcoleman\projects\eTraderII\trunk\target\classes
> > > (Access is denied)
> > >         at
> > > 
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
> > >         at
> > > 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug
> > > inMa
> > > nager.java:417)
> > >         at
> > > 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
> > > ault
> > > LifecycleExecutor.java:610)
> > >         ... 11 more
> > > Caused by:
> > > org.apache.maven.artifact.deployer.ArtifactDeploymentException: 
> > > Error deploying artifact: 
> > > Z:\jcoleman\projects\eTraderII\trunk\target\classes
> > > (Access is denied)
> > >         at
> > > 
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(De
> > > faul
> > > tArtifactDeployer.java:95)
> > >         at
> > > 
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
> > >         ... 13 more
> > > Caused by: java.io.FileNotFoundException:
> > > Z:\jcoleman\projects\eTraderII\trunk\target\classes 
> (Access is denied)
> > >         at java.io.FileInputStream.open(Native Method)
> > >         at 
> java.io.FileInputStream.<init>(FileInputStream.java:106)
> > >         at
> > > org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:820)
> > >         at
> > > 
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(De
> > > faul
> > > tArtifactDeployer.java:74)
> > >         ... 14 more
> > > 
> --------------------------------------------------------------------
> > > ----
> > > Total time: 3 minutes
> > > Finished at: Thu Jan 03 12:34:56 GMT 2008 Final Memory: 55M/135M
> > > 
> --------------------------------------------------------------------
> > > ----
> > >
> > > Eurobase International Limited and its subsidiaries 
> (Eurobase) are 
> > > unable to exercise control over the content of information in 
> > > E-Mails. Any views and opinions expressed may be personal to the 
> > > sender and are not necessarily those of Eurobase. 
> Eurobase will not 
> > > enter into any contractual obligations in respect of any 
> part of its business in any E-mail.
> > >
> > > Privileged / confidential information may be contained in this 
> > > message and /or any attachments. This E-mail is intended 
> for the use 
> > > of the addressee(s) only and may contain confidential 
> information. 
> > > If you are not the / an intended recipient, you are 
> hereby notified 
> > > that any use or dissemination of this communication is strictly 
> > > prohibited.  If you receive this transmission in error, 
> please notify us immediately, and then delete this E-mail.
> > >
> > > Neither the sender nor Eurobase accepts any liability 
> whatsoever for 
> > > any defects of any kind either in or arising from this 
> E-mail transmission.
> > > E-Mail transmission cannot be guaranteed to be secure or 
> error-free, 
> > > as messages can be intercepted, lost, corrupted, 
> destroyed, contain 
> > > viruses, or arrive late or incomplete. Eurobase does not 
> accept any 
> > > responsibility for viruses and it is your responsibility 
> to scan any attachments.
> > >
> > > Eurobase Systems Limited is the main trading company in 
> the Eurobase 
> > > International Group; registered in England and Wales as company 
> > > number 02251162; registered address: Essex House, 2 County Place, 
> > > Chelmsford, Essex
> > > CM2 0RE, UK.
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to