On 15-Feb-09, at 9:13 PM, Ram Mohan wrote:

Hi Jason,

Its working fine on command line. How can i use that for Eclipse.
I tried updating the m2eclipse with latest updates. Still, the problem exists .
Any pointers in this regard would be helpful.


Select the Run As / Maven Build...
http://screencast.com/t/qcdmxeRG

Add an external Maven installation
http://screencast.com/t/P3y2rXieX

Then you can use the Maven installation to execute your Maven builds
http://screencast.com/t/Ky8m31C6

-Ram

On Sun, Feb 15, 2009 at 2:07 AM, Jason van Zyl <[email protected]> wrote: I would recommend using an external installation of Maven and try what you want from the command line. If it works on the command line with 2.0.9 then use that inside Eclipse as well. The version of Maven used by default is over 4 months old. We're working on syncing this up to Maven trunk but we're not there yet.


On 13-Feb-09, at 8:59 PM, Ram Mohan wrote:

Hi,

I am facing an issue with exec plugin involving <classpath> . the classpath gets properly generated but gets appended to the command at an incorrect location
In my case, the use of exec plugin looks like this

                       <configuration>
                           <executable>java</executable>
                           <classpathScope>test</classpathScope>
                           <arguments>
                               <argument>-classpath</argument>
                               <classpath>
<dependency>RulesEngine:RulesEngine</dependency>
                               </classpath>
<argument>com.cxps.rulesengine.utils.RulesPkgBuilder</argument>
                           </arguments>
                       </configuration>

This is generating a command "java -classpath com.cxps.rulesengine.utils.RulesPkgBuilder class_path_location_string" Here, class_path_location_string gets appended at the end rather than next to -classpath.

Please let me know if you are aware of this issue and also any workaround/solution.

Thanks in advance,
Ram

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email




Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha

Reply via email to