Hi,

> [ERROR]   The project org.dspace:dspace-parent:CRIS-5.3.1-SNAPSHOT
> (/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/pom.xml) has 1 error
> [ERROR]     'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-
> plugin].dependencies.dependency.systemPath' for com.sun:tools:jar must
> specify an absolute path but is ${toolsjar} @ line 199, column 28

> Does anyone have any ideas what my issue might be? Have I missed a step, or
> just done something stupid?

OK, just for the archives, after a fair amount of head scratching (and some 
help from Google) and I have now resolved this.

Turns out there were 2 problems:

Firstly, JAVA_HOME was not set correctly for the user I was installing under 
(tomcat8) - it was set, and with a value that appeared to work for some things 
Tomcat was doing, but it wasn't actually the preferred value to use on the 
Debian system I'm playing with - a little help from my friendly local sys-admin 
sorted that out.

Secondly, the "tools.jar" that the POM file was pointing to didn't exist on my 
system:

          <properties>
            <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
          </properties>

- google helped with this and indicated that I also need to install the OpenJDK 
Developer tools. Once that was done, Maven was much happier and, as I type, is 
busy downloading all the required dependencies :-)

Cheers,

Mike

Michael White
Research Systems Developer
Information Services

T: (01786) 466877
E: michael.wh...@stir.ac.uk
A: S8, Library, University of Stirling, Stirling, FK9 4LA 


> -----Original Message-----
> From: Michael White
> Sent: 18 January 2016 16:36
> To: dspace-tech@googlegroups.com
> Subject: DSpace-CRIS installation error?
> 
> Hi,
> 
> I hope it is OK to ask this here - I couldn't find a DSpace-CRIS specific 
> list, but
> please feel free to point me in the right direction if there is one I should 
> be
> using instead! :-)
> 
> I'm trying to install the DSpace-CRIS application from scratch using these
> instructions:
> 
> https://cineca.github.io/dspace-cris/installation-stepbystep-dspacecris-5.html
> 
> I downloaded the zipped up source (from
> https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) and plopped it on
> my server (inside dspace-parent as that seemed to be what the instructions
> suggested(?)), setup postgres etc and set the initial "build.properties",
> however, when I try and run Maven ("mvn package"), I'm getting the
> following:
> 
> tomcat8@cris:/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent$ mvn
> package [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
> [ERROR]   The project org.dspace:dspace-parent:CRIS-5.3.1-SNAPSHOT
> (/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/pom.xml) has 1 error
> [ERROR]     'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-
> plugin].dependencies.dependency.systemPath' for com.sun:tools:jar must
> specify an absolute path but is ${toolsjar} @ line 199, column 28
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> 
> Does anyone have any ideas what my issue might be? Have I missed a step, or
> just done something stupid?
> 
> I'm currently scratching my head and am at a bit of loss, so if anyone has any
> insights, they would be most welcome! :-)
> 
> Cheers,
> 
> Mike
> 
> Michael White
> Research Systems Developer
> Information Services
> 
> T: (01786) 466877
> E: michael.wh...@stir.ac.uk
> A: S8, Library, University of Stirling, Stirling, FK9 4LA
> 


-- 
The University is ranked in the QS World Rankings of the top 5% of universities 
in the world (QS World University Rankings, 2014)
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to