Skip to main content

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

Hi,

I was wondering if someone ever got a "java.io.FileNotFoundException (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:
<plugin>
              <artifactId>maven-antrun-plugin</artifactId>
              <executions>
                <execution>
                  <id>deploy</id>
                  <phase>install</phase>
                  <goals>
                    <goal>run</goal>
                  </goals>
                  <configuration>
                    <tasks>
                      <delete includeemptydirs="false">
                        <fileset
                          dir="/home/data/httpd/download.eclipse.org/jwt/integration-update-site">
                          <include name="**" />
                        </fileset>
                      </delete>
                      <copy includeemptydirs="false"
                        todir="/home/data/httpd/download.eclipse.org/jwt/integration-update-site">
                        <fileset dir="target/checksumFix">
                          <include name="**" />
                        </fileset>
                      </copy>
                    </tasks>
                  </configuration>
                </execution>
              </executions>
            </plugin>

Back to the top