[jira] Subscription: Design & Best Practices

2008-11-06 Thread jira
Issue Subscription Filter: Design & Best Practices (28 issues) Subscriber: mavendevlist Key Summary MNG-2184Possible problem with @aggregator and forked lifecycles http://jira.codehaus.org/browse/MNG-2184 MNG-612 implement conflict resolution techniques htt

Re: maven-artifact: DefaultWagonManagerTest: suffers windows timestamp resolution issues

2008-11-06 Thread Barrie Treloar
On Fri, Nov 7, 2008 at 4:26 AM, Brett Porter <[EMAIL PROTECTED]> wrote: > Thread.sleep shouldn't be needed - usually you can set it to a time in the > past, then read it back so that you know exactly the right value. Usually > you need to use a low precision (whole seconds, at least) to get an accu

Re: maven-artifact: DefaultWagonManagerTest: suffers windows timestamp resolution issues

2008-11-06 Thread Brett Porter
Thread.sleep shouldn't be needed - usually you can set it to a time in the past, then read it back so that you know exactly the right value. Usually you need to use a low precision (whole seconds, at least) to get an accurate time. The less you can use it, the better. I don't know of any li

Re: m2eclipse checkstyle support

2008-11-06 Thread Eugene Kuleshov
nicolas de loof-3 wrote: > > I can build the plugin artifact :Artifact pluginArtifact = > embedder.createArtifact( plugin.getGroupId(), > plugin.getArtifactId(), plugin.getVersion(), > Artifact.SCOPE_RUNTIME, "maven-plugin" ); > > then get the declare

Re: m2eclipse checkstyle support

2008-11-06 Thread nicolas de loof
I can build the plugin artifact :Artifact pluginArtifact = embedder.createArtifact( plugin.getGroupId(), plugin.getArtifactId(), plugin.getVersion(), Artifact.SCOPE_RUNTIME, "maven-plugin" ); then get the declared dependencies : List dependencies = plugi

Re: m2eclipse checkstyle support

2008-11-06 Thread Eugene Kuleshov
nicolas de loof-3 wrote: > >> I suppose you could get resolved dependencies from MavenProject >> instance >> passed to you from configurator, so you could create your own >> URLClassLoader >> from those jars. > > I need to get the PLUGIN dependencies, not the project one. AFAIK the > MavenPro

Re: m2eclipse checkstyle support

2008-11-06 Thread nicolas de loof
Maybe I could use the embedder to prepare a "mvn checkstyle: checkstyle" execution and then get the configured ClassLoader ? I'm not used with maven embedder so have no idea if this is possible and how ... 2008/11/6 nicolas de loof <[EMAIL PROTECTED]> > >> I suppose you could get resolved depen

Re: m2eclipse checkstyle support

2008-11-06 Thread nicolas de loof
> > > I suppose you could get resolved dependencies from MavenProject instance > passed to you from configurator, so you could create your own > URLClassLoader > from those jars. I need to get the PLUGIN dependencies, not the project one. AFAIK the MavenProject API doesn't give me access to plu

Re: m2eclipse checkstyle support

2008-11-06 Thread nicolas de loof
This one was my code sample to bootsrap my plugin (as I have no experience in eclipse development). Thanks for the link anyway ;) I'll announce here any significant progress. > > I suppose you could get resolved dependencies from MavenProject instance > passed to you from configurator, so you

Re: m2eclipse checkstyle support

2008-11-06 Thread Eugene Kuleshov
nicolas de loof-3 wrote: > > I'm trying to contribute the checkstyle eclipse plugin to support > m2eclipse > configuration. > https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk > That sounds cool. Please keep us posted. nicolas de loof-3 wrote: > > As a proof of

m2eclipse checkstyle support

2008-11-06 Thread nicolas de loof
Hi, I'm trying to contribute the checkstyle eclipse plugin to support m2eclipse configuration. ( https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk ) As a proof of concept, I'd like to support as a basic configuration the simplier use case : org.apache.ma