[ http://jira.dspace.org/jira/browse/DS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Lewis reassigned DS-407: ------------------------------- Assignee: Jeffrey Trimble stuartlewis: http://jira.dspace.org/jira/browse/DS-407 Install or Upgrade on existing server throws errors for "mvn package" [09:21am] stuartlewis: Does Tim's advice of using mvn -U package sound right? (it does to me) [09:21am] jtrimble: Yes, but should that be a default behavior for a fresh install?? [09:21am] richardrodgers: so it's a doc issue? [09:21am] jtrimble: Well, maybe... [09:21am] stuartlewis: This is for upgrades [09:22am] jtrimble: Upgrades it makes sense to make sure you get the freshest software [09:22am] stuartlewis: OK - so assign to jtrimble for doc update? [09:23am] mdiggory: my apologies, I have to lurk ATM [09:23am] kshepherd: i think it needs to be recommended in doc [09:23am] jtrimble: My question is the install.... shouldn't maven look for the matching package out there? I just did a fresh install with 1.5.2 and didn't need the -U [09:23am] jtrimble: The ticket say for INSTALL or UPGRADE [09:23am] jtrimble: Doc is already updated. [09:23am] stuartlewis: I guess it depends if it is the first time you have run fresh_install on that particular server. [09:23am] jtrimble: So, now with 1.6 we need the -U for the install? [09:24am] jtrimble: OH gotcha....that could really catch someone off gard. [09:24am] jtrimble: guard [09:24am] stuartlewis: No harm in specifying the -U I suppose? [09:24am] jtrimble: Not IMHO. Everyone else with using mvn -U fresh_install? (Can you do that with the -U flag??) [09:24am] jtrimble: else = else ok [09:25am] stuartlewis: +1 [09:25am] kshepherd: +1 [09:25am] lcs: +1 [09:25am] caryn: +1 [09:25am] jtrimble: Okay all docs will be updated over the weekend to reflect the change. [09:25am] stuartlewis: Carried: 5x +1, assigned to jtrimble [09:25am] stuartlewis: Thanks Jeff. [09:25am] mdiggory: mvn -U clean upgrade [09:25am] jtrimble: I'll test a fresh install for 1.6 to make it works. [09:25am] richardrodgers: +1 could be better I agree, bit we can live with this > 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 > > (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 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel