Hi everyone
I am tryin' to install a customized version of dspace on my pc.
but I got an error.
I printed the error here.
Can anyone say what may be the problem?
D:\dspace-src\dspace>mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] DSpace XML-UI (Manakin)
[INFO] DSpace XML-UI (Manakin) :: Wing-Framework
[INFO] DSpace Kernel :: API and Implementation
[INFO] DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO] DSpace XML-UI (Manakin) :: Web Application Resources
[INFO] DSpace Addon Modules
[INFO] DSpace XML-UI (Manakin) :: Web Application
[INFO] DSpace LNI
[INFO] DSpace LNI :: Core Implementation
[INFO] DSpace LNI :: Web Application Resources
[INFO] DSpace LNI :: Web Application
[INFO] DSpace OAI
[INFO] DSpace OAI :: API and Implementation
[INFO] DSpace OAI :: Web Application Resources
[INFO] DSpace OAI :: Web Application
[INFO] DSpace JSP-UI
[INFO] DSpace JSP-UI :: API and Implementation
[INFO] DSpace JSP-UI :: Web Application Resources
[INFO] DSpace JSP-UI :: Web Application
[INFO] DSpace SWORD
[INFO] DSpace SWORD :: API and Implementation
[INFO] DSpace SWORD :: Web Application Resources
[INFO] DSpace SWORD :: Web Application
[INFO] DSpace LNI :: CLI Client Application
[INFO] DSpace Assembly and Configuration
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin)
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-xmlui\dspace-xml
ui-wing\src\main\resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-xmlui\dspace-xml
ui-wing\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace Kernel :: API and Implementation
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 3 resources
Downloading:
http://repo1.maven.org/maven2/info/farsiweb/dspace-persian/0.0.1/ds
pace-persian-0.0.1.pom
Downloading:
http://repo1.maven.org/maven2/calendarConverter/calendarConverter/1
.0.0/calendarConverter-1.0.0.pom
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-api\src\test\res
ources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 10 resources
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from
central
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-xmlui\dspace-xml
ui-api\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Web Application Resources
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-xmlui\dspace-xml
ui-webapp\src\main\resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace-xmlui\dspace-xml
ui-webapp\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[dspace-xmlui-webapp] in
[D:\dspace-src\dspace-xmlui\dsp
ace-xmlui-webapp\target\dspace-xmlui-webapp-1.5.0]
[INFO] Dependency[Dependency {groupId=org.dspace,
artifactId=dspace-xmlui-api, v
ersion=1.5.0, type=jar}] has changed (was Dependency {groupId=org.dspace,
artifa
ctId=dspace-xmlui-api, version=1.5.0, type=jar}).
[INFO] Dependency[Dependency {groupId=postgresql, artifactId=postgresql,
version
=8.1-404.jdbc3, type=jar}] has changed (was Dependency {groupId=postgresql,
arti
factId=postgresql, version=8.1-404.jdbc3, type=jar}).
[INFO] Processing war project
[INFO] Copying webapp
webResources[D:\dspace-src\dspace-xmlui\dspace-xmlui-webap
p/src/main/webapp]
to[D:\dspace-src\dspace-xmlui\dspace-xmlui-webapp\target\dspa
ce-xmlui-webapp-1.5.0]
[INFO] Copying webapp
resources[D:\dspace-src\dspace-xmlui\dspace-xmlui-webapp\s
rc\main\webapp]
[INFO] Webapp assembled in[735 msecs]
[INFO] Building war:
D:\dspace-src\dspace-xmlui\dspace-xmlui-webapp\target\dspac
e-xmlui-webapp-1.5.0.war
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Web Application
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace\modules\xmlui\sr
c\main\resources
[INFO] artifact org.dspace:dspace-xmlui-lang: checking for updates from
central
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\dspace-src\dspace\modules\xmlui\sr
c\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[xmlui] in
[D:\dspace-src\dspace\modules\xmlui\target\xm
lui-1.5.0]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.war.util.WebappStructure.getDependencies(Weba
ppStructure.java:109)
at
org.apache.maven.plugin.war.util.WebappStructure.analyseDependencies(
WebappStructure.java:288)
at
org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTa
sk.performPackaging(DependenciesAnalysisPackagingTask.java:46)
at
org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMo
jo.java:439)
at
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(Abstr
actWarMojo.java:375)
at
org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181
)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:453)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:500)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:479)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:331)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:292)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 43 seconds
[INFO] Finished at: Wed Sep 23 15:40:19 IRST 2009
[INFO] Final Memory: 20M/36M
[INFO]
------------------------------------------------------------------------
D:\dspace-src\dspace>
--
Sina Khankhajeh
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech