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 wrote: > On Mon, Aug 15, 2011 at 4:55 PM, Kasun Gajasinghe wrote: >> Hi, >> We're very close to have the results. >> maven-{clean,resources,compile}-plugin works as expected. Now, I'm at >> [surefire:test {exe

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

2011-08-15 Thread Kasun Gajasinghe
s.classworlds.Launcher.launchEnhanced(Launcher.java:315) 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

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

2011-08-13 Thread Kasun Gajasinghe
since that is there for a reason! Any insights?                   org.apache.maven.toolchain.ToolchainManager           toolchainManager          [3] http://pastebin.com/yWyGAG2G --Kasun On Sat, Aug 13, 2011 at 3:07 PM, Kasun Gajasinghe wrote: > > Mark, > > On Sat, Aug 13, 2011

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

2011-08-13 Thread Kasun Gajasinghe
to > > be in-place. No idea why it fails. > > > > A mojo with 'compile' ' is available in the plugin.xml at the > location > > you said. The file is available to look at [3] in case you think more > > details are needed. > > And, `mvn clean` worked f

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 wrote: > > > From: Kasun Gajasinghe > > Subject: Issue in m-compiler-p probably related to

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

2011-08-12 Thread Kasun Gajasinghe
7;t need to be concerned with this. But any help to figure this out 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

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 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 : > >> Hi, >> I was recently looking

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

2011-08-02 Thread Kasun Gajasinghe
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 o

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 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 >> defaul

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 > 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 with an updated secti

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

2011-07-25 Thread Kasun Gajasinghe
given solutions, I like this most because this gives 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

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

2011-07-25 Thread Kasun Gajasinghe
lementation details. To give my two cents, I 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 > >

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

2011-07-25 Thread Kasun Gajasinghe
t; Damian > > On Mon, Jul 25, 2011 at 11:30 AM, Kasun Gajasinghe wrote: > >> On Mon, Jul 25, 2011 at 5:34 PM, Damian Bradicich >> wrote: >> > err...pluginManagement section even ;) >> > >> > Damian >> > >> > On Mon, Jul 25, 2011 at 8:02 AM

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

2011-07-25 Thread Kasun Gajasinghe
;> >> Damian >> >> >> On Mon, Jul 25, 2011 at 7:43 AM, Benson Margulies >> wrote: >> >>> I don't know about plugin-registry.xml, but you can distribute a >>> settings.xml for use with -gs that has an active-by-default profile >>> with

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

2011-07-25 Thread Kasun Gajasinghe
efore 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 of

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

2011-07-25 Thread Kasun Gajasinghe
s/introduction/introduction-to-plugin-registry.html [2] http://pastebin.com/yprQU2D2 [3] http://pastebin.com/Y375dwMg Thanks, --Kasun -- ~~~***'''''''''''''

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

2011-07-04 Thread Kasun Gajasinghe
clue-hats and treated bytecode as the source form then > > they might quickly have one of the best development environments for > > the bytecode languages... > I too kind of agree to this since the point being the built jars are platform independent. If anybody like to know t

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

2011-07-04 Thread Kasun Gajasinghe
ng official maven build! To answer your question; at system-level, maven should be run completely offline (even at first time!). 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 interes

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 wrote: > 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 > Log4j as well as Logback

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

2011-07-03 Thread Kasun Gajasinghe
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 >wrote: > > > >> I'm not sure that the operation you are asking for is

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

2011-07-03 Thread Kasun Gajasinghe
et me know the changes 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. > >> >

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

2011-07-03 Thread Kasun Gajasinghe
t me know the changes 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 > wrote: > > Hi,

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

2011-07-03 Thread Kasun Gajasinghe
like 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 -- ~~~***''''''''''''

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

2011-07-03 Thread Kasun Gajasinghe
nks, --Kasun > > Regards, > > Hervé > > [2] http://maven.apache.org/ref/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é B

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

2011-07-03 Thread Kasun Gajasinghe
ittle issue with hidden classes in the uber jar. It suits for a new thread i guess. --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-02 Thread Kasun Gajasinghe
bus factor. Now is the time to get this right! --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-02 Thread Kasun Gajasinghe
mail > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > From: kasu...@gmail.com > > Date: Sun, 3 Jul 2011 05:44:37 +0530 > > Subject: Re: [Gentoo-Maven-Intg] plexus-velocity missing - >

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

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

2011-07-02 Thread Kasun Gajasinghe
-Kasun > > On Sat, Jul 2, 2011 at 3:22 PM, Ralph Goers > 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 > &g

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 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 abi

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

2011-07-02 Thread Kasun Gajasinghe
patible. So, this is the step we take to have a custom maven build 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 > wrote: > > >

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

2011-07-02 Thread Kasun Gajasinghe
http://maven.apache.org/ref/2.2.1/maven-artifact-manager > > [2] http://maven.apache.org/ref/2.2.1/maven-core > > Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : > > On Sat, Jul 2, 2011 at 2:03 PM, Hervé BOUTEMY > wrote: > > > remember that Maven is a core engine

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

2011-07-02 Thread Kasun Gajasinghe
er jar. Packager's aspect is a little different, and doesn't need to be worried, right now! Thanks, --Kasun > Regards, > > Hervé > > [1] http://maven.apache.org/ref/2.2.1/apache-maven/dependencies.html > > [2] http://maven.apache.org/plugins/maven-remote-resources- >

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

2011-07-02 Thread Kasun Gajasinghe
by classworlds when launching 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 Gajasingh

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

2011-06-20 Thread Kasun Gajasinghe
is at http://pastebin.com/EK01GFRf This is just what I noticed, and there's high chance that I didn't correctly understand the debug logs. :-) Thanks, --Kasun > > Kristian > > > > Den 20.06.2011 07:52, skrev Kasun Gajasinghe: > > Hi Brett, >> >>

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

2011-06-19 Thread Kasun Gajasinghe
would simplify things for you. > Since we have 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/2

maven-core tests fail when invoked via ant.

2011-06-18 Thread Kasun Gajasinghe
asf/maven/maven-2/tags/maven-2.2.1/maven-core/ [2] http://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