Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Exception while deploying through maven

On Fri, Apr 19, 2013 at 9:32 PM, Ahmed Wafa <ahmed.samir.wafa@xxxxxxxxx> wrote:

I was wondering if someone ever got a " (permission denied)" exception while trying to deploy a p2 update site created by a maven tycho build through Hudson. 
After I sign my jars, I added a plugin in the "pom.xml" of the update site project for deploying but I get this exception although I have write access and can deploy manually through ssh outside of Hudson. The problem seems to be that, through Hudson, I don't have enough write access or something. After I did some googling, I discovered that it might be a bug with Hudson. Is this possible? Here's the plugin I added followed by the exception:

Plugin to "pom.xml" of p2updatesite project:
                      <delete includeemptydirs="false">
                          <include name="**" />
                      <copy includeemptydirs="false"
                        <fileset dir="target/checksumFix">
                          <include name="**" />

cross-project-issues-dev mailing list

this probably means that Hudson doesn't have write access on these folders.
You could try to deploy from Hudson to Nexus [1] instead and run a cron job 
under your user account to download the p2 repository from Nexus to the 
download folder.


Back to the top