resolved.

In the manual, the instruction is
cd /[dspace-source]/dspace/
maven package

but it should be :
cd /[dspace-source]/
maven package

It is kind of confused especially for me that are new in dspace.

anyway,

posted here so that some other people like me may find it.




於 2010/3/8 下午 04:49, waynelam 提到:
> Dear all,
>
> I am new and start try  installing dspace 1.6.0,
> I followed all the steps and get stuck at the part
>
> "mvn package" part.
>
> I try to run mvn -eX as intructed and i get this error
>
> <--- from mvn -eX -->
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace:dspace:pom:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @ org.dspace:dspace:1.6.0,
> /dspace-source/dspace/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @ org.dspace:dspace:1.6.0,
> /dspace-source/dspace/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @ org.dspace:dspace:1.6.0,
> /dspace-source/dspace/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace:modules:pom:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace:modules:1.6.0, /dspace-source/dspace/modules/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @ org.dspace:modules:1.6.0,
> /dspace-source/dspace/modules/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @ org.dspace:modules:1.6.0,
> /dspace-source/dspace/modules/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:xmlui:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:xmlui:1.6.0, /dspace-source/dspace/modules/xmlui/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:xmlui:1.6.0, /dspace-source/dspace/modules/xmlui/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:xmlui:1.6.0, /dspace-source/dspace/modules/xmlui/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:lni:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:lni:1.6.0, /dspace-source/dspace/modules/lni/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:lni:1.6.0, /dspace-source/dspace/modules/lni/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:lni:1.6.0, /dspace-source/dspace/modules/lni/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:oai:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:oai:1.6.0, /dspace-source/dspace/modules/oai/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:oai:1.6.0, /dspace-source/dspace/modules/oai/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:oai:1.6.0, /dspace-source/dspace/modules/oai/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:jspui:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:jspui:1.6.0, /dspace-source/dspace/modules/jspui/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:jspui:1.6.0, /dspace-source/dspace/modules/jspui/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:jspui:1.6.0, /dspace-source/dspace/modules/jspui/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:sword:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:sword:1.6.0, /dspace-source/dspace/modules/sword/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:sword:1.6.0, /dspace-source/dspace/modules/sword/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:sword:1.6.0, /dspace-source/dspace/modules/sword/pom.xml
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.dspace.modules:solr:war:1.6.0
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-javadoc-plugin @
> org.dspace.modules:solr:1.6.0, /dspace-source/dspace/modules/solr/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-jxr-plugin @
> org.dspace.modules:solr:1.6.0, /dspace-source/dspace/modules/solr/pom.xml
> [WARNING] 'reporting.plugins.plugin.version' is missing for
> org.apache.maven.plugins:maven-site-plugin @
> org.dspace.modules:solr:1.6.0, /dspace-source/dspace/modules/solr/pom.xml
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] DSpace Assembly and Configuration
> [INFO] DSpace Addon Modules
> [INFO] DSpace XML-UI (Manakin) :: Web Application
> [INFO] DSpace LNI :: Web Application
> [INFO] DSpace OAI :: Web Application
> [INFO] DSpace JSP-UI :: Web Application
> [INFO] DSpace SWORD :: Web Application
> [INFO] DSpace SOLR :: Web Application
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building DSpace Assembly and Configuration 1.6.0
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] DSpace Assembly and Configuration ................. FAILURE [0.001s]
> [INFO] DSpace Addon Modules .............................. SKIPPED
> [INFO] DSpace XML-UI (Manakin) :: Web Application ........ SKIPPED
> [INFO] DSpace LNI :: Web Application ..................... SKIPPED
> [INFO] DSpace OAI :: Web Application ..................... SKIPPED
> [INFO] DSpace JSP-UI :: Web Application .................. SKIPPED
> [INFO] DSpace SWORD :: Web Application ................... SKIPPED
> [INFO] DSpace SOLR :: Web Application .................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.381s
> [INFO] Finished at: Mon Mar 08 16:44:18 HKT 2010
> [INFO] Final Memory: 2M/13M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Unknown lifecycle phase "X". You must specify a valid lifecycle
> phase or a goal in the format<plugin-prefix>:<goal>  or
> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>  ->  [Help 1]
> org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown
> lifecycle phase "X". You must specify a valid lifecycle phase or a goal
> in the format<plugin-prefix>:<goal>  or
> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>
>           at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateLifecycleMappings(DefaultLifecycleExecutor.java:1012)
>           at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateExecutionPlan(DefaultLifecycleExecutor.java:765)
>           at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:281)
>           at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
>           at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
>           at org.apache.maven.cli.MavenCli.execute(MavenCli.java:422)
>           at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
>           at org.apache.maven.cli.MavenCli.main(MavenCli.java:122)
>           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>           at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>           at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>           at java.lang.reflect.Method.invoke(Method.java:597)
>           at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>           at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>           at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>           at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
>
> <--- from mvn -eX -->
>
>
> Am i missing something? Where should i look at?
>
>
> Thanks
>
> Wayne
>
>    


-- 
-----------------------------------------
Wayne Lam
Assistant Library Officer I
Systems Development&  Support
Fong Sum Wood Library
Lingnan University
8 Castle Peak Road
Tuen Mun, New Territories
Hong Kong SAR
China
Phone:   +852 26168585
Email:   wayne...@ln.edu.hk
Website: http://www.library.ln.edu.hk



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to