[ http://jira.dspace.org/jira/browse/DS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Trimble closed DS-407. ------------------------------ Documentation Status: Complete or Committed (was: Needed) Resolution: Fixed For the upgrade section we've added mvn -U clean package as the new way. > Install or Upgrade on existing server throws errors for "mvn package" > --------------------------------------------------------------------- > > Key: DS-407 > URL: http://jira.dspace.org/jira/browse/DS-407 > Project: DSpace 1.x > Issue Type: Improvement > Components: Documentation > Affects Versions: 1.6.0 > Environment: Any > Reporter: Tim Donohue > Assignee: Jeffrey Trimble > Fix For: 1.6.0 > > > (1) Login to a server where DSpace 1.5.x has been previously installed (and > therefore all the DSpace maven modules will have been cached in your ~/.m2/ > local repository) > (2) Do a fresh install or an upgrade. In both cases, it recommends to run > "mvn package" > However, running "mvn package" will give an error similar to: > Couldn't find a version in [1.5.0.0, 1.5.2.0, 1.5.2.1] to match range > [1.6.0.0,1.7.0.0) org.dspace:dspace-api-lang:jar:null . > The problem seems to be that Maven by default doesn't go out to the web to > look for the latest version of "dspace-api-lang" or "dspace-xmlui-lang". > Instead, it looks only in your ~/.m2/ directory, and only finds 1.5.x > versions there. > The fix seems to be to recommend running "mvn -U package". The -U option > forces Maven to check for updates out on the web. > Does anyone have a better/cleaner solution, or should we change our > Install/Upgrade docs to say "mvn -U pcakge"? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel