Hi Dave, you should be able to run the build without any special permissions (that is, the files generated by the build should be under ./target/whatever), would you mind filing a JIRA so this doesn't get lost?
thanks, juan pablo On Tue, Jun 23, 2015 at 9:58 AM, Dave Koelmeyer < [email protected]> wrote: > Hi All, > > On 23/06/15 18:32, Juan Pablo Santos Rodríguez wrote: > > > > I'll look closely into it this afternoon, but currently our CI build is > > passing [#1], so it seems somehow related to the build environment? > > > > The offending test is trying to create a wiki page dir under > > $java.io.tmpir/non-existent-directory, which is the reason of the failing > > test. Dave, would you mind confirming that your user is able to create > > files/folders inside that directory? In anycase, I'll switch the test > this > > afternoon so it creates the temporary folder inside ./target, in order to > > avoid file-access permissions problems. > > My bad, running mvn pacakge as the superuser gives me a successful build > (sorry, I should have tried this before posting). Curiously, assuming my > login account is a non-root user, and is called "dkoe123", a new > directory is created as a byproduct of running sudo mvn package, called > "dkoe", and located at /home. Several directories deep, it contains > these folders (and is otherwise empty): > > /home/dkoe/Desktop/jspwiki/jspwiki-war/target > > Anyway thanks for the pointer :) > > Cheers, > Dave > > > > > juan pablo > > > > > > [#1]: https://builds.apache.org/job/JSPWiki/ > > > > On Tue, Jun 23, 2015 at 8:11 AM, Florian Holeczek <[email protected]> > > wrote: > > > >> Hi Dave and Juan Pablo, > >> > >>> I'm attempting to build JSPWiki from source at the moment and Maven is > >>> failing with this error: > >> > >> seems to have been introduced with Juan Pablo's little commit: > >> > >> URL: http://svn.apache.org/r1684742 > >> Log: > >> change sample keys so they match with the ones at at > >> org.apache.wiki.attachment.AttachmentManager > >> > >> I didn't have a look at the details though, just confirming. > >> > >> Regards > >> Florian > >
