You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Russell <ch...@oracle.com> on 2007/06/27 18:17:02 UTC
Error running 'mvn deploy'
Hi,
I just about have Maven configured so it can deploy my application. I am
getting one error on the "mvn deploy" step:
[INFO] Executing tasks
[java] 07/06/26 19:05:53 Notification ==>Application Deployer for
ML3 STARTS.
[java] 07/06/26 19:05:53 Notification ==>Copy the archive to
/app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ML3.ear
[java] 07/06/26 19:05:53 Notification ==>Operation failed with error:
[java] /home/maven/metalink3/Deploy/target/Deploy-1.0.ear
(Permission denied)
[java] Deploy error: Deploy error: Operation failed with error:
[java] /home/maven/metalink3/Deploy/target/Deploy-1.0.ear
(Permission denied)
[java] Java Result: 1
So I tried:
[maven@wd2045 metalink3]$ cp
/home/maven/metalink3/Deploy/target/Deploy-1.0.ear
/app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ML3.ear
cp: cannot create regular file
`/app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ML3.ear':
Permission denied
It looks like Maven is trying to copy a file into a directory owned by
'oracle' and it can't do it.
Can someone confirm that this is the issue.
Thanks,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error running 'mvn deploy'
Posted by Alex Mayorga Adame <al...@yahoo.com>.
Chris,
Looks like you need to check the permissions of
/app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ in your file
system. Verify that the credentials that run m2 have write permissions on
it.
It doesn't look like a Maven "fault" to me
My 2ยข,
Alex
Chris Russell-4 wrote:
>
> Hi,
>
> I just about have Maven configured so it can deploy my application. I am
> getting one error on the "mvn deploy" step:
>
> [INFO] Executing tasks
> [java] 07/06/26 19:05:53 Notification ==>Application Deployer for
> ML3 STARTS.
>
> ...
>
> So I tried:
> [maven@wd2045 metalink3]$ cp
> /home/maven/metalink3/Deploy/target/Deploy-1.0.ear
> /app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ML3.ear
> cp: cannot create regular file
> `/app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ML3.ear':
> Permission denied
>
>
> It looks like Maven is trying to copy a file into a directory owned by
> 'oracle' and it can't do it.
>
> Can someone confirm that this is the issue.
>
> Thanks,
> Chris
>
>
--
View this message in context: http://www.nabble.com/Error-running-%27mvn-deploy%27-tf3989372s177.html#a11329737
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org