ClassCastException in m-surefire-p in custom-built maven!

2011-08-15 Thread Kasun Gajasinghe
) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University

Re: ClassCastException in m-surefire-p in custom-built maven!

2011-08-15 Thread Kasun Gajasinghe
On Mon, Aug 15, 2011 at 1:05 PM, Barrie Treloar baerr...@gmail.com wrote: On Mon, Aug 15, 2011 at 4:55 PM, Kasun Gajasinghe kasu...@gmail.com wrote: Hi, We're very close to have the results. maven-{clean,resources,compile}-plugin works as expected. Now, I'm at [surefire:test {execution

Issue in m-compiler-p probably related to maven-toolchain

2011-08-13 Thread Kasun Gajasinghe
is much appreciated! [1] http://pastebin.com/e6E0VtW6 [2] http://svn.apache.org/viewvc/maven/plugins/tags/maven-compiler-plugin-2.3.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?view=markup Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University

Re: Issue in m-compiler-p probably related to maven-toolchain

2011-08-13 Thread Kasun Gajasinghe
/yWyGAG2G Thanks for your response! --Kasun LieGrue, strub --- On Sat, 8/13/11, Kasun Gajasinghe kasu...@gmail.com wrote: From: Kasun Gajasinghe kasu...@gmail.com Subject: Issue in m-compiler-p probably related to maven-toolchain To: Maven Developers List dev@maven.apache.org Cc: kiorky

Re: Issue in m-compiler-p probably related to maven-toolchain

2011-08-13 Thread Kasun Gajasinghe
` worked flawlessly, as well as the job of maven-resources-plugin. I guess we need to go in to second step? [3] http://pastebin.com/yWyGAG2G Thanks for your response! --Kasun LieGrue, strub --- On Sat, 8/13/11, Kasun Gajasinghe kasu...@gmail.com wrote: From

Re: Issue in m-compiler-p probably related to maven-toolchain

2011-08-13 Thread Kasun Gajasinghe
guess we need to go in to second step?  [3] http://pastebin.com/yWyGAG2G Thanks for your response! --Kasun LieGrue, strub --- On Sat, 8/13/11, Kasun Gajasinghe kasu...@gmail.com wrote: From: Kasun Gajasinghe kasu...@gmail.com Subject: Issue in m-compiler-p probably related

surefire-api not relocating the classes of commons-lang though it's in m-shade-p config

2011-08-02 Thread Kasun Gajasinghe
execution is at [1]. There isn't any word about commons-lang either! I'm using the official build maven-2.2.1 [1] http://paste.pocoo.org/show/451244/ Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http

Re: surefire-api not relocating the classes of commons-lang though it's in m-shade-p config

2011-08-02 Thread Kasun Gajasinghe
On Tue, Aug 2, 2011 at 7:52 PM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: It's not used and obsolete as of now. This may change in the future. Ok, thanks... --Kasun Kristian Den 2. aug. 2011 kl. 16:16 skrev Kasun Gajasinghe kasu...@gmail.com: Hi, I was recently looking

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-27 Thread Kasun Gajasinghe
On Wed, Jul 27, 2011 at 10:05 PM, Ansgar Konermann ansgar.konerm...@googlemail.com wrote: Am 27.07.2011 08:16, schrieb Kasun Gajasinghe: We don't allow downloading of different versions of same plugin which in most cases does the 'same' job! So, we need the ability to set a default plugin

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-26 Thread Kasun Gajasinghe
On 27 Jul 2011, at 01:27, Ansgar Konermann ansgar.konerm...@googlemail.com wrote: Am 26.07.2011 00:56, schrieb Kasun Gajasinghe: So, doesn't having an intermediary layer that will point to newer set of plugins is justified? Sure. Simplest solution that will work: use your own parent pom

Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
-registry.html [2] http://pastebin.com/yprQU2D2 [3] http://pastebin.com/Y375dwMg Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
. therefore the plugin-packages can't update the settings.xml file later on about the newly installed files. That comes in OS world I guess. Thanks, Kasun Ps: Excuse for spelling mistakes, I'm sending this mail via mobile. Facts were not verified. ~~**~~ Kasun Gajasinghe, University

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
. [1] http://maven.apache.org/guides/introduction/introduction-to-plugin-registry.html [2] http://pastebin.com/yprQU2D2 [3] http://pastebin.com/Y375dwMg Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
at 11:30 AM, Kasun Gajasinghe kasu...@gmail.comwrote: On Mon, Jul 25, 2011 at 5:34 PM, Damian Bradicich dbradic...@sonatype.com wrote: err...pluginManagement section even ;) Damian On Mon, Jul 25, 2011 at 8:02 AM, Damian Bradicich dbradic...@sonatype.comwrote: Why not define

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
think the docs need an update especially since maven came to 3.0 era. (Yes, I understand the time constraints. Just expressing my thoughts.) [1] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Super_POM Thanks, --Kasun On Mon, Jul 25, 2011 at 5:26 PM, Kasun Gajasinghe

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Kasun Gajasinghe
the needed control to some extent. But I (like maven) can't force you into anything, just guide you to the best solution  ;-) I know, and I respect that. :) Thanks, --Kasun Damian On Mon, Jul 25, 2011 at 5:26 PM, Kasun Gajasinghe kasu...@gmail.com wrote: On Mon, Jul 25, 2011 at 9:46 PM, Damian

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-04 Thread Kasun Gajasinghe
On Mon, Jul 4, 2011 at 11:31 AM, Ralph Goers ralph.go...@dslextreme.comwrote: The point I am making is that if you have all those jars together something is not going to work correctly. SLF4J only allows one logging implementation. If you have all of SLF4J's jars, including the binding for

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-04 Thread Kasun Gajasinghe
!). We have mechanisms in place to take care of the deps via DEPEND in ebuilds, which I'm not going to explain. Read about Gentoo if you got spare time. It'll be interesting! :) --Kasun Ralph On Jul 4, 2011, at 6:11 AM, Kasun Gajasinghe wrote: On Mon, Jul 4, 2011 at 11:31 AM, Ralph Goers

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-04 Thread Kasun Gajasinghe
to know the points for it - http://www.gentoo.org/proj/en/java/why-build-from-source.xml I'm not going to discuss why building from source is good or bad any further and is off-topic! ;) Regards, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-03 Thread Kasun Gajasinghe
! --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-03 Thread Kasun Gajasinghe
. --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-03 Thread Kasun Gajasinghe
/2.2.1/apache-maven/dependencies.html [3] http://jira.codehaus.org/browse/DOXIA-147 Le dimanche 3 juillet 2011, Kasun Gajasinghe a écrit : On Sun, Jul 3, 2011 at 1:28 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Yes, 3.0.3 looks cleaner. Well, I answered the points for choosing 2.2.1

[Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-03 Thread Kasun Gajasinghe
hidden.org.codehaus.plexus.util.*. So, like to know whether it's possible to have those .java files. Any complications involved? [1] http://maven.apache.org/ref/2.2.1/apache-maven/dependencies.html Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-03 Thread Kasun Gajasinghe
required to get this done? Thanks, --Kasun If you just want the original source, the plugin doesn't get into that business either, that would be a whole 'nother plugin. On Sun, Jul 3, 2011 at 6:39 AM, Kasun Gajasinghe kasu...@gmail.com wrote: Hi, Is it possible to have the .java source files

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-03 Thread Kasun Gajasinghe
-- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org

Re: [Gentoo-maven-intg] Intermediary shaded source files generated by maven-shade-plugin

2011-07-03 Thread Kasun Gajasinghe
to core maven? I haven't seen these as dependencies! --Kasun Ralph On Jul 3, 2011, at 9:57 AM, Kasun Gajasinghe wrote: On Sun, Jul 3, 2011 at 6:30 PM, Benson Margulies bimargul...@gmail.com wrote: I'm not sure that the operation you are asking for is well-defined. Shade combines

[Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
mvn. It brought me here where I got stuck: http://pastebin.com/WvLSsupa Any help please? We are much close to the finish-line. Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
/ref/2.2.1/apache-maven/dependencies.html [2] http://maven.apache.org/plugins/maven-remote-resources- plugin/dependencies.html Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : Hi, First of all, the good news. We were able to integrate maven successfully to Gentoo. Now, it was able

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : On Sat, Jul 2, 2011 at 2:03 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: remember that Maven is a core engine to run plugins. Maven core does not depend on plexus-velocity [1], but maven-remote-resources- plugin does [2] Maven

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
tailored to Gentoo system satisfying all the constraints. --Kasun Ralph On Jul 2, 2011, at 3:59 AM, Kasun Gajasinghe wrote: On Sat, Jul 2, 2011 at 2:03 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: remember that Maven is a core engine to run plugins. Maven core does not depend

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
On Sun, Jul 3, 2011 at 12:30 AM, Hervé BOUTEMY herve.bout...@free.frwrote: Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : No, you are not discouraging me in anyway. This stage is just the first step of a much wider task. The ultimate goal of this work is to provide the ability

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
ralph.go...@dslextreme.com wrote: On Jul 2, 2011, at 8:38 AM, Kasun Gajasinghe wrote: Ralph, No, you are not discouraging me in anyway. This stage is just the first step of a much wider task. The ultimate goal of this work is to provide the ability to package maven-based builds

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
On Sun, Jul 3, 2011 at 3:46 AM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: lø., 02.07.2011 kl. 12.22 -0700, skrev Ralph Goers: On Jul 2, 2011, at 8:38 AM, Kasun Gajasinghe wrote: Ralph, No, you are not discouraging me in anyway. This stage is just the first step

Re: [Gentoo-Maven-Intg] plexus-velocity missing - maven-remote-resources-plugin fails with a ClassNotFoundException

2011-07-02 Thread Kasun Gajasinghe
AM, Hervé BOUTEMY herve.bout...@free.fr wrote: Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : No, you are not discouraging me in anyway. This stage is just the first step of a much wider task. The ultimate goal of this work is to provide the ability to package maven-based

Re: maven-core tests fail when invoked via ant.

2011-06-20 Thread Kasun Gajasinghe
didn't correctly understand the debug logs. :-) Thanks, --Kasun Kristian Den 20.06.2011 07:52, skrev Kasun Gajasinghe: Hi Brett, On Mon, Jun 20, 2011 at 5:41 AM, Brett Porterbr...@apache.org wrote: The problem you're seeing is probably related to an incorrect definition of a META

maven-core tests fail when invoked via ant.

2011-06-19 Thread Kasun Gajasinghe
://pastebin.com/9eWM0xjN [3] http://pastebin.com/vRC6qVa8 Thanks, --Kasun -- ~~~***'***~~~ Kasun Gajasinghe, University of Moratuwa Blog: http://kasunbg.blogspot.com Twitter: http://twitter.com/kasunbg

Re: maven-core tests fail when invoked via ant.

2011-06-19 Thread Kasun Gajasinghe
to package the sub-modules separately, we can't use the provided build.xml. Building via mvn ant:ant too isn't a much of a problem. But these test failures is a concern. Thanks for the help! --Kasun - Brett On 19/06/2011, at 4:34 PM, Kasun Gajasinghe wrote: Hi, We are in the process