Hi all,
We are running a customized DSpace 5.10 installation with Mirage2 theme on Linux with Tomcat. I've tried to follow the instructions for hiding dc.description.provenance in DSpace 5.x in the XOAI and DIM feeds using the following: https://jira.lyrasis.org/browse/DS-950 https://github.com/DSpace/DSpace/pull/1113 https://github.com/DSpace/DSpace/commit/8b849559bceeafd923a901f63fc48d8a8639c3c7 However, when I attempt the maven build process, I get the following errors, indicating it's missing various packages (which seem to be available in 6.x). Any suggestions on how to get our 5.10 to work correctly? Cheers, Graham [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dspace-oai: Compilation failure: Compilation failure: [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[28,35] package org.dspace.app.util.factory does not exist [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[29,35] package org.dspace.app.util.service does not exist [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[30,34] package org.dspace.content.factory does not exist [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[31,34] cannot find symbol [ERROR] symbol: class BitstreamService [ERROR] location: package org.dspace.content.service [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[44,26] cannot find symbol [ERROR] symbol: class MetadataExposureService [ERROR] location: class org.dspace.xoai.util.ItemUtils [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[50,26] cannot find symbol [ERROR] symbol: class BitstreamService [ERROR] location: class org.dspace.xoai.util.ItemUtils [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[45,15] cannot find symbol [ERROR] symbol: variable UtilServiceFactory [ERROR] location: class org.dspace.xoai.util.ItemUtils [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[48,15] cannot find symbol [ERROR] symbol: variable ContentServiceFactory [ERROR] location: class org.dspace.xoai.util.ItemUtils [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[51,15] cannot find symbol [ERROR] symbol: variable ContentServiceFactory [ERROR] location: class org.dspace.xoai.util.ItemUtils [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[81,47] cannot find symbol [ERROR] symbol: method getMetadata(org.dspace.content.Item,java.lang.String,java.lang.String,java.lang.String,java.lang.String) [ERROR] location: variable itemService of type org.dspace.content.service.ItemService [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[84,38] cannot find symbol [ERROR] symbol: method getMetadataField() [ERROR] location: variable val of type org.dspace.content.MetadataValue [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[89,30] cannot find symbol [ERROR] symbol: method getMetadataSchema() [ERROR] location: variable field of type org.dspace.content.MetadataField [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[100,69] cannot find symbol [ERROR] symbol: method getMetadataSchema() [ERROR] location: variable field of type org.dspace.content.MetadataField [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[103,38] cannot find symbol [ERROR] symbol: method getMetadataSchema() [ERROR] location: variable field of type org.dspace.content.MetadataField [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[173,33] incompatible types: org.dspace.content.Bundle[] cannot be converted to java.util.List<org.dspace.content.Bundle> [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[183,55] incompatible types: org.dspace.content.Bitstream[] cannot be converted to java.util.List<org.dspace.content.Bitstream> [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[196,53] incompatible types: org.dspace.content.Bundle[] cannot be converted to java.util.List<org.dspace.content.Bundle> [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[199,59] incompatible types: org.dspace.content.Item[] cannot be converted to java.util.List<org.dspace.content.Item> [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[207,47] method getFormat in class org.dspace.content.Bitstream cannot be applied to given types; [ERROR] required: no arguments [ERROR] found: org.dspace.core.Context [ERROR] reason: actual and formal argument lists differ in length [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[239,54] method getFormat in class org.dspace.content.Bitstream cannot be applied to given types; [ERROR] required: no arguments [ERROR] found: org.dspace.core.Context [ERROR] reason: actual and formal argument lists differ in length [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[287,37] cannot find symbol [ERROR] symbol: method getBundles(org.dspace.content.Item,java.lang.String) [ERROR] location: variable itemService of type org.dspace.content.service.ItemService [ERROR] /home/dspace/dspace-source/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java:[291,66] incompatible types: org.dspace.content.Bitstream[] cannot be converted to java.util.List<org.dspace.content.Bitstream> [ERROR] -> [Help 1] [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :dspace-oai ----------------------------------------- Graham Faulkner Web Developer / Programmer Digital Initiatives, Library University of Waterloo Waterloo, Ontario N2L 3G1 CANADA 519-888-4567 x42461 [email protected]<https://connect.uwaterloo.ca/owa/redir.aspx?C=eef851fa6beb444c8cfe374f534157a8&URL=mailto%3agraham.faulkner%40uwaterloo.ca> -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/fb223fce2297478b8faf991906c0e659%40uwaterloo.ca.
