[
https://issues.apache.org/jira/browse/DIRSTUDIO-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624187#comment-16624187
]
Emmanuel Lecharny commented on DIRSTUDIO-1194:
----------------------------------------------
I suspect this part of the {{p2repositories/pom.xml}} file :
{code:xml}
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<inherited>true</inherited>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../..</directory>
...
{code}
Not sure why we go down 2 parents here. Can you give it a try with
{{<directory>${basedir}/..</directory>}} instead ?
> build looks outside of repo (extra "..")
> ----------------------------------------
>
> Key: DIRSTUDIO-1194
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1194
> Project: Directory Studio
> Issue Type: Bug
> Environment: Debian, mvn 3.3.9, jdk 1.8.0_181
> Reporter: David Turner
> Priority: Major
>
> I noticed that build.sh was taking a long time, so I ran strace on one of the
> Java processes. To my surprise, it was reading files from various places in
> my home directory (I had cloned directory-studio to ~/directory-studio).
> stat("/home/novalis/directory-studio/p2repositories/../../my-secret-project/very-private-stuff",
> ...).
> I moved the repo to ~/foo/directory-studio and re-ran build.sh (after a git
> clean), and the build completed much more quickly. So I think there must be
> an extra ".." somewhere in the build
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)