Re: Maven 3 Plugin Development with Repository Queries

2014-08-05 Thread Dan Tran
h Maven 3.2.2. Fortunately, we can all use the same version in > our dev team. So once we decide to upgrade to Maven 3.2.2, we do not need > Maven 3.0.5 support anymore. > > Kind regards, > Johannes > > > > > Gesendet: Montag, 28. Juli 2014 um 20:49 Uhr > >

Re: Maven 3 Plugin Development with Repository Queries

2014-08-05 Thread Johannes Schneider
> Von: "Dan Tran" > An: "Maven Users List" > Betreff: Re: Maven 3 Plugin Development with Repository Queries > > I am interested on the query capability. However, I ended up to use > maven-dependency-tree and maven-compat to resolve artifacts. Take a look at >

Re: Maven 3 Plugin Development with Repository Queries

2014-07-28 Thread Dan Tran
I am interested on the query capability. However, I ended up to use maven-dependency-tree and maven-compat to resolve artifacts. Take a look at maven-dependency-plugin, maven-report-info-plugin, license-maven-plugin for various sample code. However, those are not directly deal with aether -D O

Maven 3 Plugin Development with Repository Queries

2014-07-28 Thread Johannes Schneider
Hi,   I am developing a plugin that needs to query the repositories. I'm using the Aether API because I thought that's the Maven 3 way to do it (cf. http://blog.sonatype.com/2011/01/how-to-use-aether-in-maven-plugins/) and because many of the Maven 2 methods are marked as deprecated. With Maven

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-15 Thread S. Ali Tokmen
Hi Anders Great, sounds good. I've opened https://jira.codehaus.org/browse/MNG-5563 for it. Have a great day S. Ali Tokmen http://ali.tokmen.com/ My IM, GSM, PGP and other contact details are on http://contact.ali.tokmen.com On 15/01/14 20:48, Anders Hammar wrote: > It doesn't work with the wa

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-15 Thread Alejandro . Endo
If you do open a ticket, please let me/us know. I will +1 it. I am also interested in this feature Alejandro Endo | Software Designer/Concepteur de logiciels From: Anders Hammar To: Maven Users List , Date: 2014-01-15 02:47 PM Subject:Re: Maven2/Maven3 plugin development

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-15 Thread Anders Hammar
It doesn't work with the way Maven plugins currently are configured. But there will soon be discussions around a new version of the pom, so you could file a ticket to get this wish on the board. /Anders (mobile) Den 15 jan 2014 19:22 skrev "S. Ali Tokmen" : > Hi Andreas > > You are right - this m

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-15 Thread S. Ali Tokmen
Hi Andreas You are right - this makes a lot of sense. Shall I still raise a JIRA entry for this functionality; or is this close to impossible to implement? Thank you S. Ali Tokmen http://ali.tokmen.com/ My IM, GSM, PGP and other contact details are on http://contact.ali.tokmen.com On 14/01/14

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-14 Thread Anders Hammar
Don't think that's doable as the user could configure the params for different goals in the same configuration section (on plugin level, not execution level). /Anders On Tue, Jan 14, 2014 at 7:38 PM, S. Ali Tokmen wrote: > Hi Baptiste, Thomas > > I guess you all got a point :) The reason why I

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-14 Thread S. Ali Tokmen
Hi Baptiste, Thomas I guess you all got a point :) The reason why I want to check the configuration is indeed something that would have to be done in each goal. My remaining question would be whether there is a way to read the XML definition from the MOJO - I could then manually implement such a

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-14 Thread Thomas Broyer
Isn't that simply because the is shared by all goals? (or all goals of the parent ) On Tue, Jan 7, 2014 at 7:38 PM, S. Ali Tokmen wrote: > Dear Maven users > > I am one of the owners of Codehaus CARGO, which has a Maven2/Maven3 > plugin; and would have a question with regards to how parameters

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-14 Thread Baptiste Mathus
Hi, Stephen already answered along those lines. What are you missing? Cheers 2014/1/9 S. Ali Tokmen > Hi Anders > > Thanks for your reply - and happy new year :) > > Is there any way I can inject / read the whole plugin configuration from > the plugin? > > Best regards > > S. Ali Tokmen > http:

Re: During plugin development, what is the context classloader set to?

2014-01-14 Thread Baptiste Mathus
Hi, ClassWorlds is your friend if you need to do classloader fine-tuning. For example (taken in an old poc, so this should be adapted to use annotations etc.), something along the following would create a classpath with test scope elements. ... public class SomeMojo extends AbstractMojo {

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-09 Thread S. Ali Tokmen
Hi Anders Thanks for your reply - and happy new year :) Is there any way I can inject / read the whole plugin configuration from the plugin? Best regards S. Ali Tokmen http://ali.tokmen.com/ My IM, GSM, PGP and other contact details are on http://contact.ali.tokmen.com On 08/01/14 20:00, Ande

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-08 Thread Stephen Connolly
There are valid reasons why a configuration having "invalid" elements may be "valid". Consider the case where xpath:/project/build/pluginManagement/plugins/plugin/version specifies the *default* version and xpath:/project/build/plugins/plugin/version is absent... In this case xpath:/project/build/

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-08 Thread Anders Hammar
AFAIK there is no support for this. If you think there should be, please file a ticket [1]. /Anders [1] http://jira.codehaus.org/browse/MNG/ On Tue, Jan 7, 2014 at 7:38 PM, S. Ali Tokmen wrote: > Dear Maven users > > I am one of the owners of Codehaus CARGO, which has a Maven2/Maven3 > plugin;

During plugin development, what is the context classloader set to?

2014-01-08 Thread Laird Nelson
I have a plugin that I'm writing that needs to do two things during the course of its execution: Load a resource from the current project's classpath Load a resource from its own guts This is a fallback kind of thing: if the plugin can't find anything appropriate on the project classpath, then and

Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-07 Thread S. Ali Tokmen
Dear Maven users I am one of the owners of Codehaus CARGO, which has a Maven2/Maven3 plugin; and would have a question with regards to how parameters are managed. We defined our MOJOs with parameters (you can see http://svn.codehaus.org/cargo/extensions/trunk/maven2/plugin/src/main/java/org/codeh

Re: Custom Maven Plugin Development Archiving Files

2013-02-14 Thread Wayne Fay
> I am developing my own custom Maven plugin and I want to archive the files. I > followd that example: > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html > and could archive the elements with zip format. However I want to use other > formats too(user will i

Re: Custom Maven Plugin Development Archiving Files

2013-02-14 Thread Barrie Treloar
On 15 February 2013 11:38, kamaci wrote: > I am developing my own custom Maven plugin and I want to archive the files. I > followd that example: > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html > and could archive the elements with zip format. However I w

Custom Maven Plugin Development Archiving Files

2013-02-14 Thread kamaci
, includes, excludes ); zipArchiver.setDestFile( new File( baseDirectory, "output.zip" ) ); zipArchiver.createArchive(); -- View this message in context: http://maven.40175.n5.nabble.com/Custom-Maven-Plugin-Development-Archiving-Files-tp5747036.html Sent from the Maven - Users mai

RE: Using ant-contrib in ant based plugin development

2012-07-30 Thread Lyons, Roy
Users List Subject: RE: Using ant-contrib in ant based plugin development Excellent! That explains why I had so much trouble with the 'for' task. I will give this method a try with the xml instead. I very much appreciate your reply on this. -Original Message- From: Aurélien

RE: Using ant-contrib in ant based plugin development

2012-07-30 Thread Lyons, Roy
2012 8:26 AM To: Maven Users List; manf...@mosabuam.com Subject: Re: Using ant-contrib in ant based plugin development Hi Roy, I use ant-contrib in a Ant-based Mojo and it works fine for me. Here is my ant-contrib declaration in my build.xml:

Re: Using ant-contrib in ant based plugin development

2012-07-28 Thread Aurélien Girardeau
ill interested in possibilities of using ant in its pure form, so > > any responses to this thread are still welcome. > > > > Thanks, > > > > Roy > > ________ > > From: Lyons, Roy > > Sent: Friday, July 27, 2012 12:16 PM >

RE: Using ant-contrib in ant based plugin development

2012-07-27 Thread Manfred Moser
responses to this thread are still welcome. > > Thanks, > > Roy > > From: Lyons, Roy > Sent: Friday, July 27, 2012 12:16 PM > To: Maven Users List > Subject: RE: Using ant-contrib in ant based plugin development > > my webmail made me

RE: Using ant-contrib in ant based plugin development

2012-07-27 Thread Lyons, Roy
PM To: Maven Users List Subject: Using ant-contrib in ant based plugin development Maven User List, I waited in sending to this list until after I had exhausted my other resources, including google searching, documentation, and experimentation of my own. As such, I hope that your collective mind

RE: Using ant-contrib in ant based plugin development

2012-07-27 Thread Lyons, Roy
I had the most luck so far with From: Lyons, Roy Sent: Friday, July 27, 2012 12:15 PM To: Maven Users List Subject: Using ant-contrib in ant based plugin development Maven User List, I waited in sending to this list until after I had exhausted my other resourc

Using ant-contrib in ant based plugin development

2012-07-27 Thread Lyons, Roy
Maven User List, I waited in sending to this list until after I had exhausted my other resources, including google searching, documentation, and experimentation of my own. As such, I hope that your collective minds can take on this challenge. So here is the problem: [INFO]task-segment: [

RE: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-30 Thread Singh, Harsimranjit (NSN - IN/Bangalore)
Any Help on maven 2 I am not able to use pde-maven-plugin in my existing PDE project? -Original Message- From: Singh, Harsimranjit (NSN - IN/Bangalore) Sent: Monday, January 30, 2012 11:38 AM To: Maven Users List Subject: RE: Maven Setup for Existing Plugin Development Project(Eclipse

Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-30 Thread Barrie Treloar
On Mon, Jan 30, 2012 at 4:38 PM, Singh, Harsimranjit (NSN - IN/Bangalore) wrote: > Hi > > I have to use maven and that maven 2 only so option left Why Maven 2 only? Maven 3 should be backwards compatible for your needs. > 1) Upgrade to latest version of Eclipse PDE: > Can you explain about this

RE: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Singh, Harsimranjit (NSN - IN/Bangalore)
Message- From: ext Barrie Treloar [mailto:baerr...@gmail.com] Sent: Monday, January 30, 2012 11:26 AM To: Maven Users List Subject: Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin) On Mon, Jan 30, 2012 at 3:46 PM, Singh, Harsimranjit (NSN - IN/Bangalore) wrote: >

Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Barrie Treloar
On Mon, Jan 30, 2012 at 3:46 PM, Singh, Harsimranjit (NSN - IN/Bangalore) wrote: > Hi > > Thanks for reply . I am using Maven 2.2.1 > > Is sonatype support maven 2? > > Also I found: > http://mojo.codehaus.org/pde-maven-plugin/ > > > So which one I should use? pde-maven-plugin is dead, but usable

RE: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Singh, Harsimranjit (NSN - IN/Bangalore)
Users List Subject: Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin) lookup tycho-maven-plugin from sonatype -D On Sun, Jan 29, 2012 at 7:31 PM, Singh, Harsimranjit (NSN - IN/Bangalore) wrote: > Hi > > I have Old Project for Eclipse plug-in Development.I want to  b

Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Dan Tran
lookup tycho-maven-plugin from sonatype -D On Sun, Jan 29, 2012 at 7:31 PM, Singh, Harsimranjit (NSN - IN/Bangalore) wrote: > Hi > > I have Old Project for Eclipse plug-in Development.I want to  bring that > in maven but not helping. > > Is this possible? > > I searched lot but not find much det

Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Singh, Harsimranjit (NSN - IN/Bangalore)
Hi I have Old Project for Eclipse plug-in Development.I want to bring that in maven but not helping. Is this possible? I searched lot but not find much details\help.Please provide help me or provide some reference link. Thanks Harsimran

Re: Plugin development using Guice?

2011-07-11 Thread Mark Struberg
nes Schneider wrote: > From: Johannes Schneider > Subject: Plugin development using Guice? > To: "Maven Users List" > Date: Friday, July 8, 2011, 8:36 AM > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi guys, > > > is it possible to use Guice

Plugin development using Guice?

2011-07-08 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, is it possible to use Guice for new plugins? Since Maven is build on top of Guice, this should be possible, does it? A link to an existing plugin using Guice would be great, if there existed one. Thanks, Johannes - -- Johannes Schneide

AW: Plugin-Development: Best way to reuse a Mojo from another plugin? [Virus checked]

2010-04-06 Thread Schrecker, Wolfgang
Hello here is the source of an example how we (my friend and Apple-Fan Michael and myself) did do it some months ago last year. The purpose was to collect log4j configuration from various locations into one file. The idea is to include the dtd and the xsl script in the jar, to be automatically

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-06 Thread Stephen Connolly
On 6 April 2010 08:46, Jörg Schaible wrote: > Wayne Fay wrote at Montag, 5. April 2010 22:54: > > >> could you please elaborate a bit on these "few reasons"? > > > > Stolen from an email by Jorg Schaible in Nov 2009... > > > > In short: Don't do it, it is not supported by the Maven classloader. >

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-06 Thread Jörg Schaible
Wayne Fay wrote at Montag, 5. April 2010 22:54: >> could you please elaborate a bit on these "few reasons"? > > Stolen from an email by Jorg Schaible in Nov 2009... > > In short: Don't do it, it is not supported by the Maven classloader. > > Long version: Maven loads every plugin/Mojo only once

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-06 Thread Stefan Prange
eneric xslt-processing solution. Bye, Stefan -- View this message in context: http://old.nabble.com/Plugin-Development%3A-Best-way-to-reuse-a-Mojo-from-another-plugin--tp28137687p28148187.html Sent from the Maven - Users mailing list archive at Nabble.com. ---

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-05 Thread Wayne Fay
> could you please elaborate a bit on these "few reasons"? Stolen from an email by Jorg Schaible in Nov 2009... In short: Don't do it, it is not supported by the Maven classloader. Long version: Maven loads every plugin/Mojo only once either because it is used in the POM by the user or because s

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-05 Thread Stefan Prange
Wayne Fay wrote: > >> 2. possibilty: >> I could simply copy all Mojo code and that of classes it's depending on >> from >> xml-maven-plugin into my plugin. This would only be a good idea if direct >> Mojo reusage is a discouraged practice in Maven pl

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-05 Thread Justin Edelson
On 4/5/10 11:26 AM, Wayne Fay wrote: >> 2. possibilty: >> I could simply copy all Mojo code and that of classes it's depending on from >> xml-maven-plugin into my plugin. This would only be a good idea if direct >> Mojo reusage is a discouraged practice in Maven plugi

Re: Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-05 Thread Wayne Fay
> 2. possibilty: > I could simply copy all Mojo code and that of classes it's depending on from > xml-maven-plugin into my plugin. This would only be a good idea if direct > Mojo reusage is a discouraged practice in Maven plugin development. This, for a fe

Plugin-Development: Best way to reuse a Mojo from another plugin?

2010-04-05 Thread Stefan Prange
age is a discouraged practice in Maven plugin development. So, what's the best approach? Is there any form of "political correctness" in plugin reusage that I should be aware of? TIA. Bye, Stefan -- View this message in context: http://old.nabble.com/Plugin-Development%3A-Best-way-

Plugin Development: how to make a multi value parameter available via command line args

2010-02-23 Thread Kai Hackemesser
Hi there, Does anybody know an example of how to annotate / evaluate a multivalue parameter exposed via command line and plugin configuration? I haven't found a general syntax for that. Cheers, Kai

plugin development - map properties

2009-06-16 Thread goliat mesh
Hello! Is it possible, that the value-elements of a map-property, are Objects, not only Strings? I tried the scenario described below, but the value Elements of the MAP are always null... My context: I have a property with the Type ToolChain: ... /** * @optional * @parameter */ private ToolChain

[Plugin-Development] Why is my plugin not executed?

2009-02-23 Thread Markus KARG
I have developed an empty plugin, that does nothing, just to learn how to do it. It works well directly but is not executed in the default @phase?! The mojo echos a message to the user, and it is annotated as "@phase generate-resources" which seems to be done correctly as the resulting plugin.x

RE: Release plugin development.

2009-01-28 Thread Nord, James
he.den...@capgemini.com] > Sent: 28 January 2009 13:02 > To: Maven Users List > Subject: RE : Release plugin development. > > As explain in the settings references, env variable are used > with the prefix "env", otherwise it's considered as a > property. F

RE : Release plugin development.

2009-01-28 Thread Deneux, Christophe
_ Please consider the environment and do not print this email unless absolutely necessary. Capgemini encourages environmental awareness. De: Nord, James [mailto:jn...@nds.com] Date: mer. 28/01/2009 13:54 À: users@maven.apache.org Objet : R

Release plugin development.

2009-01-28 Thread Nord, James
Is the release plugin development ongoing or is this an orphand plugin. I ask as I and others have a showstopper with it not inheriting the process environment when doing release:perform. http://jira.codehaus.org/browse/MRELEASE-406 Or does anyone have any bright ideas how to work around this

Re: Plugin development : how to get the Model from an Artifact

2008-09-05 Thread Julien Graglia
Le vendredi 05 septembre 2008 à 10:48 +0200, Julien Graglia a écrit : > Hi, I wonder how to get the org.apache.maven.model.Model from an > org.apache.maven.artifact.Artifact ?? > I reply to myself ... I just found how to do that : see http://bensherlock.co.uk/projects/software-engineering/java-w

Plugin development : how to get the Model from an Artifact

2008-09-05 Thread Julien Graglia
Hi, I wonder how to get the org.apache.maven.model.Model from an org.apache.maven.artifact.Artifact ?? getLog().info("Project : getArtifacts: " + project.getArtifacts().size()); for (final Artifact artifact : (Set) project.getArtifacts()) { getLog().info("" + artifact + ", " + artifa

Plugin Development

2008-06-24 Thread Clifton
lugin? -- View this message in context: http://www.nabble.com/Plugin-Development-tp18094618p18094618.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

[maven2 plugin development] classpath management

2007-10-02 Thread Guillaume Boucherie
Hi all, Is it possible to access and modify the classpath of a maven2 plugin at runtime ? In fact I'm trying to develop a plugin and I need to have the class files, generated in the compile phase, in the classpath for my plugin to work correctly. How can I do that ? Thanks in advance. -- CletteB

Problem during Ant Plugin development

2007-07-10 Thread Anton Ananich
Dear All! I'm investigating this manual about Developing Ant Plugins for Maven 2.x: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html I try to create the easiest HelloWorld plugin. As described in this manual: 1) I create Ant script 2) I create mojo 3) I create pom 4) I bui

Documentation incorrect?: guide-ant-plugin-development --> Advanced Usage --> Forking new LifeCycles

2007-06-28 Thread maarten roosendaal
Hi, I'm trying to fork a new Lifecycle when calling my custom plugin. I've followed the instructions sited in the documentation on http://maven.apache.org/guides/plugin/guide-ant-development.html --> Forking new Lifecycles, but when running mvn install the tag execute or lifecycle are not reco

[M2] Plugin development

2007-06-04 Thread Orford, Ian
Hi, I added some functionality to the deploy phase of one of my projects that allowed me to scp the assembly to a target host, and then ssh to the host to run a command that deploys it. This is really useful, but now I'd like to package it up so it can easily be added other projects. In the pom i

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Mark Hobson
Hi Martin, On 04/05/07, Martin Bengl <[EMAIL PROTECTED]> wrote: Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? Mainly from digging around the source code. I do agree writing and publishing some javadoc would

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Martin Bengl
Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? can i get your shared component somewhere before it's submitted and is there already a jira entry to vote for it? greetings Martin Mark Hobson schrieb: On 03/05/0

Re: M2-Plugin Development: Reading POM programmatically

2007-05-03 Thread Mark Hobson
On 03/05/07, Martin Bengl <[EMAIL PROTECTED]> wrote: hello folks, I use following solution (with maven 2.0.4) to create a MavenProject at runtime to extract informations like artifactId and groupid - this could be also done by manually parsing the xml file - but i think its a better way to use t

M2-Plugin Development: Reading POM programmatically

2007-05-03 Thread Martin Bengl
hello folks, I use following solution (with maven 2.0.4) to create a MavenProject at runtime to extract informations like artifactId and groupid - this could be also done by manually parsing the xml file - but i think its a better way to use the maven classes. File pomFile = new File("pom.xm

[maven-eclipse-plugin] and [eclipse-plugin] development

2007-03-16 Thread Guillaume WALLET
Hello, I tried to develop an eclipse plugin using maven 2 and maven-eclipse-plugin. I notice that it does work very fine since the maven-eclipse-plugin 2.3, congratulation for the work done. There's still a problem from the eclipse pde plugin : it can't export deployable plugin with the pom's de

Re: [m2] plugin development question

2007-02-09 Thread Wayne Fay
5 An: Maven Users List Betreff: Re: [m2] plugin development question I have no idea if this is possible with M2 plugins as I haven't done a whole lot in that area yet. The first one should be relatively easy -- make a mojo and assign it to the validate phase. But I'm not sure you can assig

AW: [m2] plugin development question

2007-02-09 Thread Thorsten Vogel
integrated LEDs, which is totally awesome :-D -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Wayne Fay Gesendet: Freitag, 9. Februar 2007 19:15 An: Maven Users List Betreff: Re: [m2] plugin development question I have no idea if this is possible with M2

Re: [m2] plugin development question

2007-02-09 Thread Wayne Fay
I have no idea if this is possible with M2 plugins as I haven't done a whole lot in that area yet. The first one should be relatively easy -- make a mojo and assign it to the validate phase. But I'm not sure you can assign a mojo to the "last" phase when you don't know which one that will be espec

[m2] plugin development question

2007-02-09 Thread Thorsten Vogel
Good day everyone, i want to achieve the following in a m2 plugin but i don't know if it is possible (i am new to m2 but i have used m1 intensively in the past): 1. One plugin/mojo must be executed when the build starts. 2. One plugin/mojo must be executed when the build ends and it needs to de

Re: Eclipse plugin development with Maven 2

2007-02-06 Thread Sebastien Pennec
Hello Stéphane and Dan, Thanks for your links! Cheers, Sébastien Dan Tran wrote: and http://mojo.codehaus.org/pde-maven-plugin/ On 2/6/07, Stéphane Bouchet <[EMAIL PROTECTED]> wrote: Hi, there is some docs on codehaus about it : http://docs.codehaus.org/display/MAVEN/Maven+and+Eclipse

Re: Eclipse plugin development with Maven 2

2007-02-06 Thread Dan Tran
and http://mojo.codehaus.org/pde-maven-plugin/ On 2/6/07, Stéphane Bouchet <[EMAIL PROTECTED]> wrote: Hi, there is some docs on codehaus about it : http://docs.codehaus.org/display/MAVEN/Maven+and+Eclipse http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin http://docs.codehaus.org/

Re: Eclipse plugin development with Maven 2

2007-02-06 Thread Stéphane Bouchet
Hi, there is some docs on codehaus about it : http://docs.codehaus.org/display/MAVEN/Maven+and+Eclipse http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin http://docs.codehaus.org/display/MAVEN/Barriers+to+Building+Eclipse+with+Maven Cheers, Stéphane Sebastien Pennec a écrit : Hi th

Eclipse plugin development with Maven 2

2007-02-06 Thread Sebastien Pennec
Hi there, Anybody in the list has used Maven 2 to develop plugins for Eclipse? Is there any best practice related to this kind of project that I should know about before I start? Any advice appreciated :) Sébastien - To uns

Re: plugin development

2006-09-29 Thread Neeraj Bisht
hi all i am still in puzle why reactor taking the project in sorted order rather than the dependency , can any one guide me where i am wrong or it is bug of reactor to take the project in sorted order (in multiproject env) Regards Neeraj On 9/29/06, Neeraj Bisht <[EMAIL PROTECTED]> w

Re: plugin development

2006-09-28 Thread Neeraj Bisht
hi Geoffrey Thanks for your kind support can you tell me one think also ,actully i am working in maven 1.0.2 but the reactor is not working accordingly i.e it take the building of multiproject in sorted order but not one there dependency and frome googling i came to know that in ma

Re: plugin development

2006-09-28 Thread Geoffrey De Smet
Go to mergere.com and download the free maven2 book. Currently it's the best documentation I know. Neeraj Bisht wrote, On 2006-09-28 2:29 PM: hi all Can any one please tell me or can give some link of tutorial where i can study how i can make plugin in maven 2.0 i study from t

plugin development

2006-09-28 Thread Neeraj Bisht
hi all Can any one please tell me or can give some link of tutorial where i can study how i can make plugin in maven 2.0 i study from the following site http://maven.apache.org/guides/introduction/introduction-to-plugins.html but not able to understand Regards Neeraj Singh Bis

plugin development - how to find which compoments are dependent on given component?

2006-09-20 Thread Leonard Gestrin
Hello, I want to write a plugin that creates a list of modules that depend on given module. The book talks about how to get dependency of given project - I want to do the reverse, and find all the modules that are dependent on given module. This functionality can be handy if I want recursive deploy

RE: Plugin Development Issue

2006-08-25 Thread Marc L. Veary
Many thanks. This is the answer just worked it out - appreciate your time and willingness to help. Kind regards, -- Marc -Original Message- From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: 25 August 2006 08:32 To: Maven Users List Subject: RE: Plugin Development Issue To allow

RE: Plugin Development Issue

2006-08-25 Thread William Ferguson
4:57 PM > To: 'Maven Users' > Subject: Plugin Development Issue > > Hi, > > I have developed a very simple plugin that does nothing. > (code included below). > > The problem is that I cannot seem to pass in a parameter > either on the command line or via a P

RE: Plugin Development Issue

2006-08-25 Thread Marc L. Veary
ivate String verbose; This now works from both POM and command line. Many apologies for any time wasted. Kind regards, -- Marc -Original Message- From: Marc L. Veary [mailto:[EMAIL PROTECTED] Sent: 25 August 2006 07:57 To: 'Maven Users' Subject: Plugin Development Issue Hi,

Plugin Development Issue

2006-08-24 Thread Marc L. Veary
Hi, I have developed a very simple plugin that does nothing. (code included below). The problem is that I cannot seem to pass in a parameter either on the command line or via a POM (in another project that defines this plugin in the section): mvn cleartrust:extract -Dverbose=Testing or

Problem on java plugin development (fail to use dependency classpath)

2006-07-20 Thread Roy Siu
ode" method) (3) but the classloader is different in the plugin project So my question is how to pass the correct maven dependency classloader to the plugin "test" flow? Thanks, RoySiu -- View this message in context: http://www.nabble.com/Problem-on-java-plug

Re: Eclipse Plugin Development with Maven

2006-05-07 Thread vyzivus
tml . I've managed to build a repository of eclipse plugins and a simple pom.xml that supports three profiles: rcp, platform and SDK. I hope you'll find it useful. Sincerely yours, Martin -- View this message in context: http://www.nabble.com/Eclipse-Plugin-Development-with-Maven-t942461.htm

RE: [m2] plugin development for dummies (The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist...)

2006-04-20 Thread Vijay Shanker
: users@maven.apache.org Subject: [m2] plugin development for dummies (The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist...) My first plugIn and nothing as anger ,-) What's wrong? My POM: 4.0.0 webcsc.maven.plugins ReleaseNotes maven-plugin

[m2] plugin development for dummies (The plugin 'org.a pache.maven.plugins:maven-plugin-plugin' does not exis t...)

2006-04-20 Thread Fredy
My first plugIn and nothing as anger ,-) What's wrong? My POM: 4.0.0 webcsc.maven.plugins ReleaseNotes maven-plugin 1.0-SNAPSHOT Release Notes PlugIn org.apache.maven maven-plugin-api 2.0 The Error Log: + Error stacktraces are turned on. [DE

[M2: ant-plugin-development] Is there a description of the basename.mojos.xml file format?

2006-03-28 Thread Michael Meyer
Hi I tried to fork a new lifecycle in my basename.mojos.xml file as described on http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html But I couldn't find out where to put the tag. I always got a parse error. Does anybody know where to put the tag or if there is a documentat

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread dan tran
darn, i missed the talks ;-) On 3/23/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > > On 3/24/06, dan tran <[EMAIL PROTECTED]> wrote: > > I am looking forward to see the M2 plugin. > +1 here. > > There is some talk about maven and eclipse at eclipse con. > > There appears to be enough interest ar

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread Barrie Treloar
On 3/24/06, dan tran <[EMAIL PROTECTED]> wrote: > I am looking forward to see the M2 plugin. +1 here. There is some talk about maven and eclipse at eclipse con. There appears to be enough interest around this area that we should start collaborating and get this sorted out. --

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread dan tran
the M2 headless eclipse plugin also available in some source > > repository? > > > > /Henrik > > > > > > > > > > > > > > > > > > Sachin Patel <[EMAIL PROTECTED]> > > 2006-03-22 16:02 > > > > Please

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread Sachin Patel
espond to "Maven Users List" To "Maven Users List" cc Subject Re: Handling Eclipse plugin development in Maven? I've have built a custom solution for the Geronimo eclipse plugin using M1 and almost done with migrating it over to M2. I wouldn't say the projec

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread henrik . jonsson
This looks very interesting. Thanks! Is the M2 headless eclipse plugin also available in some source repository? /Henrik Sachin Patel <[EMAIL PROTECTED]> 2006-03-22 16:02 Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Handling

Re: Handling Eclipse plugin development in Maven?

2006-03-22 Thread Sachin Patel
clipse application, for example in the Geronimo case, using the EMF headless applications to generate EMF models. - sachin On Mar 22, 2006, at 6:41 AM, [EMAIL PROTECTED] wrote: Hi, Does anyone have any tips or best practices for handling Eclipse plugin development in maven? We are

Handling Eclipse plugin development in Maven?

2006-03-22 Thread henrik . jonsson
Hi, Does anyone have any tips or best practices for handling Eclipse plugin development in maven? We are developing an product in Eclipse consiting of multiple plugins and features. The maven directory structure is not the same as the struture created by Eclipse PDE. I know maven's stru

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-17 Thread Sebastian Himberger
Hi Brett, thanks very much for the link! Although not all modules seem to have javadocs some of them have. Is this page somehow linked from the main page, so was i just too blind to see it? In my opinion it would be great to have the maven project sites (javadocs, dependencies, etc.) linked f

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Brett Porter
Yes, it is standard in the next release of the maven project-info-reports plugin. - Brett On 3/16/06, Konstantin Polyzois <[EMAIL PROTECTED]> wrote: > Brett, I noticed that the projects on the page you pointed out contain a > dependency convergence report. Is this possible with m2? > > /Konstanti

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Konstantin Polyzois
Brett, I noticed that the projects on the page you pointed out contain a dependency convergence report. Is this possible with m2? /Konstantin On 3/15/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > Have you looked at: > http://maven.apache.org/ref/2.0.2/ > ? > > - Brett > > On 3/16/06, Sebastian

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Brett Porter
Have you looked at: http://maven.apache.org/ref/2.0.2/ ? - Brett On 3/16/06, Sebastian Himberger <[EMAIL PROTECTED]> wrote: > Hi, > > thanks very much for the answer! SVN-Checkout and "mvn site" worked. > > Thanks very much! > > best regards > Sebastian > > ---

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Sebastian Himberger
Hi, thanks very much for the answer! SVN-Checkout and "mvn site" worked. Thanks very much! best regards Sebastian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-14 Thread Wayne Fay
To only get maven-core, you need to issue: svn co https://svn.apache.org/repos/asf/maven/trunks maven/maven-core But you might as well pull the whole codebase down, its not that large if you have a good connection to the Internet. svn co https://svn.apache.org/repos/asf/maven/trunks maven Wayne

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sebastian, > I'm a new maven user. Is there a complete maven2 api documentation > online available? AFAIK no. You should download the Maven source code and build Maven by yourself: http://maven.apache.org/guides/development/guide-building-m2.html

  1   2   >