You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by VJ Thinker <vj...@yahoo.com> on 2007/02/16 23:57:08 UTC

Help with compile classpath used by mvn

Hi All,
   
      As we are continuing to build the JetSpeed-2 portal, using mvn (i.e. maven2), we have run into the following compilation issue:
  ...
  [INFO] [compiler:compile]
[INFO] Compiling 23 source files to /home/vijay/workspace/jetspeed-2/components/cm/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
  /home/vijay/workspace/jetspeed-2/components/cm/src/java/org/apache/jetspeed/mocks/ResourceLocatingServletContext.java:[38,27] package org.apache.oro.text does not exist
....
   
       Upon checking the local ~/.m2/repository folder, we do find the "oro.text" package located at "/home/vijay/.m2/repository/oro/oro/2.0.7".  Question is how is maven picking up the classpath for compilation?
   
       Any quick pointers greatly appreciated.  Best regards,
   
  VIjay
   

 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

Re: Help with compile classpath used by mvn

Posted by dee factorial <de...@gmail.com>.
the mvn build now works.
Thanks, David

On 2/16/07, VJ Thinker <vj...@yahoo.com> wrote:
>
> Hi All,
>
>       As we are continuing to build the JetSpeed-2 portal, using mvn (i.e.
> maven2), we have run into the following compilation issue:
>   ...
>   [INFO] [compiler:compile]
> [INFO] Compiling 23 source files to
> /home/vijay/workspace/jetspeed-2/components/cm/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>   /home/vijay/workspace/jetspeed-2/components/cm/src/java/org/apache/jetspeed/mocks/ResourceLocatingServletContext.java:[38,27]
> package org.apache.oro.text does not exist
> ....
>
>        Upon checking the local ~/.m2/repository folder, we do find the "
> oro.text" package located at
> "/home/vijay/.m2/repository/oro/oro/2.0.7".  Question is how is maven
> picking up the classpath for compilation?
>
>        Any quick pointers greatly appreciated.  Best regards,
>
>   VIjay
>
>
>
> ---------------------------------
> Food fight? Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.