Hi Carlos, It looks like we have a typo in our Upgrade instructions. Apologies.
When upgrading, the "mvn -U clean package" command MUST be run from the [dspace-source] directory (NOT from [dspace-source]/dspace/). Running the command from [dspace-source] ensures that *all* DSpace modules are recompiled/rebuilt for DSpace 4.0. (Whereas, running the build from [dspace-source]/dspace/ performs a "quick build", which does NOT recompile all modules.) I've corrected the upgrade documentation at: https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0 Feel free to email us again on this list if you encounter any other issues. - Tim On 12/17/2013 1:44 PM, Carlos Walter Blandon Alvarez wrote: > Hi all. > > We trying to update to DSPACE 4.0 but at moment to execute "mvn -U clean > package" command we get this error: > > main: > [INFO] Executed tasks > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xmlui > --- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] DSpace Addon Modules .............................. SUCCESS [1.427s] > [INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [3.159s] > [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... FAILURE [1.349s] > [INFO] DSpace LNI :: Local Customizations ................ SKIPPED > [INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED > [INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations SKIPPED > [INFO] DSpace SWORD :: Local Customizations .............. SKIPPED > [INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED > [INFO] DSpace SOLR :: Local Customizations ............... SKIPPED > [INFO] DSpace OAI 2.0 :: Local Customizations ............ SKIPPED > [INFO] DSpace Assembly and Configuration ................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6.695s > [INFO] Finished at: Tue Dec 17 14:35:48 COT 2013 > [INFO] Final Memory: 17M/310M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin:2.6:resources > (default-resources) on project xmlui: Error loading property file > '/usr/java/dspace-4.0-src-release/dspace/modules/xmlui/../../../target/build.properties' > -> [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :xmlui > > We have Linux Fedora and apache maven version: 3.1.1, update two days ago. > > > Thanks. > > Walter Blandón > Gestión Tecnológica y Proyectos > Centro Cultural Biblioteca Luis Echavarría Villegas > Universidad EAFIT, Medellín, Colombia > Carrera 49 No. 7 Sur-50, Av. Las Vegas > Tel: (57)(4)2619500 ext. 9365 > http://www.eafit.edu.co/biblioteca > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ 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