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


Reply via email to