You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/01/02 14:44:00 UTC
mvn install compilation
hello ,
i am using following command to compile the smx-bean ,
mvn -o -e install
onMessageExchange() method , I am using some third party jar files like
xmlbeans etc, Where do i add classpath setting for me to compile this source
using above maven command.
xmlbean jars are already in servicemix lib directory, but i am getting
compilation error as classnot found etc.,
thanks
Brijesh N K
--
View this message in context: http://www.nabble.com/mvn-install-compilation-tp21251559p21251559.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: mvn install compilation
Posted by brijesh <br...@gmail.com>.
thanks ashwin for the response, i understand now,
regards
Brijesh N K
Ashwin Karpe wrote:
>
> Hi Brijesh,
>
> You need to refer to all the xmlbeans jar files as a dependency in your
> POM file. You may also need to load the xmlbeans jar files into your Maven
> repository.
>
> Cheers,
>
> Ashwin...
>
> P.S: Maven does not need explicit classpath settings due to its ability to
> resove depndencies via the repository and artifact directory structure.
>
>
> brijesh wrote:
>>
>> hello ,
>>
>> i am using following command to compile the smx-bean ,
>>
>> mvn -o -e install
>>
>> onMessageExchange() method , I am using some third party jar files like
>> xmlbeans etc, Where do i add classpath setting for me to compile this
>> source using above maven command.
>>
>> xmlbean jars are already in servicemix lib directory, but i am getting
>> compilation error as classnot found etc.,
>>
>>
>>
>> thanks
>> Brijesh N K
>>
>
>
--
View this message in context: http://www.nabble.com/mvn-install-compilation-tp21251559p21274020.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: mvn install compilation
Posted by Ashwin Karpe <as...@progress.com>.
Hi Brijesh,
You need to refer to all the xmlbeans jar files as a dependency in your POM
file. You may also need to load the xmlbeans jar files into your Maven
repository.
Cheers,
Ashwin...
P.S: Maven does not need explicit classpath settings due to its ability to
resove depndencies via the repository and artifact directory structure.
brijesh wrote:
>
> hello ,
>
> i am using following command to compile the smx-bean ,
>
> mvn -o -e install
>
> onMessageExchange() method , I am using some third party jar files like
> xmlbeans etc, Where do i add classpath setting for me to compile this
> source using above maven command.
>
> xmlbean jars are already in servicemix lib directory, but i am getting
> compilation error as classnot found etc.,
>
>
>
> thanks
> Brijesh N K
>
-----
---
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
---
+1-972-304-9084 (Office)
+1-972-971-1700 (Mobile)
----
Blog: http://opensourceknowledge.blogspot.com/
--
View this message in context: http://www.nabble.com/mvn-install-compilation-tp21251559p21266066.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.