Hi Tim.
That was exactly the problem. It was solved weeks ago.
Sorry for the delay on giving feedbkack!!

Thank you very much.

bender



2014-09-09 12:54 GMT-03:00 Tim Donohue <tdono...@duraspace.org>:

> Hi Bender,
>
> It sounds like you might be running on Windows. With Windows, whenever
> you pass in "-D[whatever]" properties to Maven, you need to surround
> them with quotes.
>
> For example:
>
> mvn install:install-file "-Dfile=[path]" "-DgroupId=com.sun.media" ...
>
> So, try surrounding any of your properties passed to Maven with double
> quotes, and it should work.
>
> - Tim
>
> On 9/7/2014 6:59 PM, bender wrote:
> > Hi,
> >
> > I'm having almost the same problem to install jar libraries. But the
> > error message is a little different. It says:
> >
> > Unknown lifecycle phase ".sun.media"
> >
> > I wonder if Amruta Patil or anybody else have resolved this issue. Any
> > help would be appreciated.
> >
> > Regards,
> >
> > Bender
> >
> >
> >
> >
> >
> > 2014-03-25 2:42 GMT-04:00 Amruta Patil <amrutapatil198...@gmail.com
> > <mailto:amrutapatil198...@gmail.com>>:
> >
> >     Dear All,
> >
> >     I am getting error while try to install 3rd party jar for xpdf in
> dsapce
> >
> >     #mvn install:install-file
> >     -Dfile=/jai_imageio-1_1/lib/jai_imageio.jar
> >     -DpomFile=/home/dspace4/dspace-4.1-src-release/dspace/pom.xml
> >     -DgroupId=com.sun.media \ -DartifactId=jai_imageio \
> >     -Dversion=1.0_01 \ -Dpackaging=jar \ -DgeneratePom=true
> >
> >     [INFO] Scanning for projects...
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] Reactor Build Order:
> >     [INFO]
> >     [INFO] DSpace Addon Modules
> >     [INFO] DSpace Kernel :: Additions and Local Customizations
> >     [INFO] DSpace XML-UI (Manakin) :: Local Customizations
> >     [INFO] DSpace LNI :: Local Customizations
> >     [INFO] DSpace JSP-UI :: Local Customizations
> >     [INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations
> >     [INFO] DSpace SWORD :: Local Customizations
> >     [INFO] DSpace SWORD v2 :: Local Customizations
> >     [INFO] DSpace SOLR :: Local Customizations
> >     [INFO] DSpace OAI 2.0 :: Local Customizations
> >     [INFO] DSpace Assembly and Configuration
> >     [INFO]
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] Building DSpace Assembly and Configuration 4.1
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO]
> >     [INFO] --- maven-install-plugin:2.3:install-file (default-cli) @
> >     dspace ---
> >     [INFO] Installing /jai_imageio-1_1/lib/jai_imageio.jar to
> >     /root/.m2/repository/com/sun/media/dspace/4.1/dspace-4.1.pom
> >     [INFO]
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] Building DSpace Addon Modules 4.1
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] Reactor Summary:
> >     [INFO]
> >     [INFO] DSpace Addon Modules .............................. FAILURE
> >     [0.001s]
> >     [INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
> >     [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
> >     [INFO] DSpace LNI :: Local Customizations ................ SKIPPED
> >     [INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
> >     [INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations
> SKIPPED
> >     [INFO] DSpace SWORD :: Local Customizations .............. SKIPPED
> >     [INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED
> >     [INFO] DSpace SOLR :: Local Customizations ............... SKIPPED
> >     [INFO] DSpace OAI 2.0 :: Local Customizations ............ SKIPPED
> >     [INFO] DSpace Assembly and Configuration ................. SUCCESS
> >     [0.433s]
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] BUILD FAILURE
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [INFO] Total time: 1.268s
> >     [INFO] Finished at: Tue Mar 25 11:52:11 IST 2014
> >     [INFO] Final Memory: 6M/15M
> >     [INFO]
> >
>  ------------------------------------------------------------------------
> >     [ERROR] Unknown lifecycle phase " -DartifactId=jai_imageio". 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>.
> >     Available lifecycle phases are: validate, initialize,
> >     generate-sources, process-sources, generate-resources,
> >     process-resources, compile, process-classes, generate-test-sources,
> >     process-test-sources, generate-test-resources,
> >     process-test-resources, test-compile, process-test-classes, test,
> >     prepare-package, package, pre-integration-test, integration-test,
> >     post-integration-test, verify, install, deploy, pre-site, site,
> >     post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]
> >     [ERROR]
> >     [ERROR] To see the full stack trace of the errors, re-run Maven with
> >     the -e switch.
> >     [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
> >
> >
> >
>  
> ------------------------------------------------------------------------------
> >     Learn Graph Databases - Download FREE O'Reilly Book
> >     "Graph Databases" is the definitive new guide to graph databases and
> >     their
> >     applications. Written by three acclaimed leaders in the field,
> >     this first edition is now available. Download your free book today!
> >     http://p.sf.net/sfu/13534_NeoTech
> >     _______________________________________________
> >     DSpace-tech mailing list
> >     DSpace-tech@lists.sourceforge.net
> >     <mailto:DSpace-tech@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >     List Etiquette:
> >     https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Slashdot TV.
> > Video for Nerds.  Stuff that matters.
> > http://tv.slashdot.org/
> >
> >
> >
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce.
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to