Hi Tim, I am running Ubuntu OS version : Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
Java version : java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode) Maven : Apache Maven 3.0.5 Maven home: /usr/share/maven Java version: 1.7.0_75, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_ZA, platform encoding: UTF-8 OS name: "linux", version: "3.13.0-46-generic", arch: "amd64", family: "unix" Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014 Tomcat version : apache-tomcat-8.0.20 Database : PostgreSQL 9.3 database server Regards, Lewatle -----Original Message----- From: Tim Donohue [mailto:tdono...@duraspace.org] Sent: 05 March 2015 11:40 PM To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] maven error Hi Lewatle, We likely need more information here on your environment. What OS are you using? What version of Java? The ${toolsjar} setting is supposed to be auto-determined by our Maven POM based on your JAVA_HOME..and it's different based on your operating system. Here's the relevant part of the Maven POM which seems to be having issues: https://github.com/DSpace/DSpace/blob/master/pom.xml#L447 - Tim On 3/4/2015 4:06 AM, Lewatle Phaladi wrote: > Hi, > > I am getting the following error, any idea what am I doing wrongly > > dspace@lcstest:~/dspace-5.0-src-release$ mvn package > > [INFO] Scanning for projects... > > [ERROR] The build could not read 1 project -> [Help 1] > > [ERROR] > > [ERROR] The project org.dspace:dspace-parent:5.0 > (/home/dspace/dspace-5.0-src-release/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 176, 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/ProjectBuildingExcept > ion > > Regards, > > Lewatle > > This communication is intended for the addressee only. It is > confidential. If you have received this communication in error, please > notify us immediately and destroy the original message. You may not > copy or disseminate this communication without the permission of the > University. Only authorised signatories are competent to enter into > agreements on behalf of the University and recipients are thus advised > that the content of this message may not be legally binding on the > University and may contain the personal views and opinions of the > author, which are not necessarily the views and opinions of The > University of the Witwatersrand, Johannesburg. All agreements between > the University and outsiders are subject to South African Law unless > the University agrees in writing to the contrary. > > > > > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > > > > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > > <table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;"> <tr> <td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. </span></font></td> </tr> </table ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette