Thanks Tim!

I'll upgrade:

dspace $ mvn -version
Maven version: 2.0.9

regards,
Kristian

On 6. mai 2011, at 17:24, Tim Donohue <[email protected]> wrote:

> Hi Kristian,
> 
> It sounds like you might be compiling DSpace with an unsupported version of 
> Maven.  Try running 'mvn -version' to see what version you are using. There 
> are known problems when using Maven 2.0.
> 
> Currently, we recommend using Maven 2.2.x when building DSpace. For more 
> information see our Installation Pre-requisites:
> https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29
> 
> Good luck,
> 
> - Tim
> 
> On 5/6/2011 9:17 AM, Kristian Roberto Salcedo wrote:
>> Hi all,
>> 
>> I have a problem during compilation of version 1.7.1:
>> 
>> When I run a maven build:
>> 
>> cd /www/tmp/dspace-1.7.1-src-release/dspace/
>> mvn clean package
>> 
>> the folder structure in the webapps-directory
>> 
>> /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/webapps/
>> 
>> is not being built correctly.
>> 
>> 
>> Maven throws everything into the webapps folder:
>> 
>> duo-prod01 /# ls -al
>> /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/webapps/
>> total 276
>> drwxr-xr-x 27 resin resin  4096 May  6 15:05 .
>> drwxr-xr-x  9 resin resin  4096 May  6 15:05 ..
>> drwxr-xr-x  3 resin resin  4096 May  6 15:05 META-INF
>> drwxr-xr-x  6 resin resin  4096 May  6 15:05 WEB-INF
>> drwxr-xr-x  3 resin resin  4096 May  6 15:05 admin
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 aspects
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 browse
>> -rw-r--r--  1 resin resin 13639 May  6 15:05 collection-home.jsp
>> -rw-r--r--  1 resin resin 14860 May  6 15:05 community-home.jsp
>> -rw-r--r--  1 resin resin  7894 May  6 15:05 community-list.jsp
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 components
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 controlledvocabulary
>> -rw-r--r--  1 resin resin  8733 May  6 15:05 display-item.jsp
>> -rw-r--r--  1 resin resin  4859 May  6 15:05 display-statistics.jsp
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 dspace-admin
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 error
>> -rw-r--r--  1 resin resin  7235 May  6 15:05 exception2html.xslt
>> -rw-r--r--  1 resin resin   318 May  6 15:05 favicon.ico
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 feedback
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 help
>> -rw-r--r--  1 resin resin  5210 May  6 15:05 home.jsp
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 i18n
>> drwxr-xr-x  6 resin resin  4096 May  6 15:05 image
>> -rw-r--r--  1 resin resin  2431 May  6 15:05 index.jsp
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 layout
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 login
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 mydspace
>> -rw-r--r--  1 resin resin   400 May  6 15:05 print.css
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 register
>> -rw-r--r--  1 resin resin   401 May  6 15:05 robots.txt
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 search
>> -rw-r--r--  1 resin resin 40518 May  6 15:05 sitemap.xmap
>> drwxr-xr-x  4 resin resin  4096 May  6 15:05 static
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 statistics
>> -rw-r--r--  1 resin resin 22870 May  6 15:05 styles.css
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 submit
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 suggest
>> drwxr-xr-x  9 resin resin  4096 May  6 15:05 themes
>> -rw-r--r--  1 resin resin   863 May  6 15:05 tombstone.jsp
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 tools
>> -rw-r--r--  1 resin resin  6909 May  6 15:05 utils.js
>> drwxr-xr-x  2 resin resin  4096 May  6 15:05 workspace
>> 
>> instead of creating the correct folder structure, like
>> the one for version 1.6.2:
>> 
>> duo-prod01 /# ls -al
>> /www/tmp/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir/webapps/
>> total 32
>> drwxr-xr-x  8 resin resin 4096 May  3 14:36 .
>> drwxr-xr-x  9 resin resin 4096 May  3 14:36 ..
>> drwxr-xr-x 23 resin resin 4096 May  3 14:36 jspui
>> drwxr-xr-x  4 resin resin 4096 May  3 14:36 lni
>> drwxr-xr-x  4 resin resin 4096 May  3 14:36 oai
>> drwxr-xr-x  5 resin resin 4096 May  3 14:36 solr
>> drwxr-xr-x  4 resin resin 4096 May  3 14:36 sword
>> drwxr-xr-x  8 resin resin 4096 May  3 14:36 xmlui
>> 
>> 
>> This of course leads to the same chaotic folder structure in
>> the installation directory, when I run an ant update:
>> 
>> cd /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/
>> ant update
>> 
>> 
>> There is probably an obvious solution to this, but I'm afraid it is beyond 
>> me...
>> 
>> regards
>> Kristian Salcedo
>> University of Oslo Library
>> 
>> 
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to