[ 
http://jira.dspace.org/jira/browse/DS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart Lewis updated DS-407:
----------------------------

    Fix Version/s: 1.6.0

> 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

        

------------------------------------------------------------------------------
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

Reply via email to