You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yura Ivanov <iv...@offshorecreations.com.ua> on 2005/04/11 17:17:34 UTC
[M2] plugins language?
Hi, I have a question
Why will maven 2.0 use only java for writing plugins?
I used maven 1.x enough long time, and always there were no enough
documentation about using it and many useful thing I was looking in plugins
scr. So it was very good place to dig if I had questions.
My opinion that it could be not very comfortable for users of maven to look
sorce code of plugins if they would be compiled, but I have never like
jelly as scripting language.
My suggestion is to use some java compatible scripting language for writing
plugins, like BeanShell project or Groovy.
Thanks
Yuriy.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Brett Porter <br...@gmail.com>.
> Will that factory need to be included in the Maven code or could it sit,
> say, in the groovy code itself and M2 be easily configured to use it? I
> believe it's a plexus component and it needs to be registered in plexus.
Yes, it could be in groovy, or a groovy library. There is already an
example in plexus-component-factories.
> Will m2 users be able to change the plexus configuration files?
In alpha-1, it must be in plexus.xml inside the maven-core JAR. Once a
correction is made to the plexus container, it can be defined in the
groovy JAR, and you'd simply need to drop it into maven2/lib (it may
even be possible to load it on demand - I'm not entirely sure).
> In other words, could it be maintained outside of Maven?
Absolutely.
There is another aspect to it - parsing the goal and parameter
definitions out of the script. Marmalade (XML) and Java (QDOX) both
define it inside the source file. We could have a generic external
descriptor includer so this would be optional - but it is handy to be
able to extract it from the source files.
Cheers,
Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: [M2] plugins language?
Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: lundi 11 avril 2005 17:53
> To: Maven Users List; siegfried.goeschl@it20one.at
> Subject: Re: [M2] plugins language?
>
> We will allow the use of Groovy - and virtually any other scripting
> language someone can commit a small amount of time to implementing a
> factory for, if there is demand.
Will that factory need to be included in the Maven code or could it sit,
say, in the groovy code itself and M2 be easily configured to use it? I
believe it's a plexus component and it needs to be registered in plexus.
Will m2 users be able to change the plexus configuration files?
In other words, could it be maintained outside of Maven?
[snip]
Thanks
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Brett Porter <br...@gmail.com>.
We will allow the use of Groovy - and virtually any other scripting
language someone can commit a small amount of time to implementing a
factory for, if there is demand.
We would recommend waiting for Groovy to have a 1.0 release so the API
(and language!) is stable. What we will not be doing is actively
supporting it (in terms of answering questions about how to use it)
like we currently do for Jelly in Maven 1.x.
Beanshell is more mature, and we want a language that users will find
answers for when they look, and that when they find bugs, it is
clearly defined where they actually are.
Hope this helps...
- Brett
On Apr 12, 2005 1:43 AM, Siegfried Goeschl <si...@it20one.at> wrote:
> Hi Brett,
>
> I think Jason van Zyl wrote "he would touch Groovy not even with a
> polestick"
>
> Is there any Groovy support planned? I use Beanshell and Groovy but
> Groovy is much more powerful in doing things quickly while Beanshell is
> easier to grasp
>
> Cheers,
>
> Siegfried Goeschl
>
> Brett Porter wrote:
>
> >While marmalade is our preferred option for those wanting to port m1
> >plugins or use ant tasks, java and beanshell will be the preferred
> >options otherwise. Beanshell support is scheduled for alpha-2.
> >
> >/me goes to write a FAQ entry.
> >
> >Cheers,
> >Brett
> >
> >On Apr 12, 2005 1:25 AM, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> >
> >>Yura Ivanov said:
> >>
> >>
> >>>Hi, I have a question
> >>>Why will maven 2.0 use only java for writing plugins?
> >>>I used maven 1.x enough long time, and always there were no enough
> >>>documentation about using it and many useful thing I was looking in
> >>>plugins
> >>>scr. So it was very good place to dig if I had questions.
> >>>My opinion that it could be not very comfortable for users of maven to
> >>>look
> >>>sorce code of plugins if they would be compiled, but I have never like
> >>>jelly as scripting language.
> >>>My suggestion is to use some java compatible scripting language for
> >>>writing
> >>>plugins, like BeanShell project or Groovy.
> >>>
> >>>
> >>You can use scripting langage for writing plugins. For this, you use
> >>marmalade.
> >>See at hello plugin.
> >>http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
> >>
> >>Emmanuel
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Brett,
I think Jason van Zyl wrote "he would touch Groovy not even with a
polestick"
Is there any Groovy support planned? I use Beanshell and Groovy but
Groovy is much more powerful in doing things quickly while Beanshell is
easier to grasp
Cheers,
Siegfried Goeschl
Brett Porter wrote:
>While marmalade is our preferred option for those wanting to port m1
>plugins or use ant tasks, java and beanshell will be the preferred
>options otherwise. Beanshell support is scheduled for alpha-2.
>
>/me goes to write a FAQ entry.
>
>Cheers,
>Brett
>
>On Apr 12, 2005 1:25 AM, Emmanuel Venisse <em...@venisse.net> wrote:
>
>
>>Yura Ivanov said:
>>
>>
>>>Hi, I have a question
>>>Why will maven 2.0 use only java for writing plugins?
>>>I used maven 1.x enough long time, and always there were no enough
>>>documentation about using it and many useful thing I was looking in
>>>plugins
>>>scr. So it was very good place to dig if I had questions.
>>>My opinion that it could be not very comfortable for users of maven to
>>>look
>>>sorce code of plugins if they would be compiled, but I have never like
>>>jelly as scripting language.
>>>My suggestion is to use some java compatible scripting language for
>>>writing
>>>plugins, like BeanShell project or Groovy.
>>>
>>>
>>You can use scripting langage for writing plugins. For this, you use
>>marmalade.
>>See at hello plugin.
>>http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
>>
>>Emmanuel
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
Re: [M2] plugins language?
Posted by Brett Porter <br...@gmail.com>.
While marmalade is our preferred option for those wanting to port m1
plugins or use ant tasks, java and beanshell will be the preferred
options otherwise. Beanshell support is scheduled for alpha-2.
/me goes to write a FAQ entry.
Cheers,
Brett
On Apr 12, 2005 1:25 AM, Emmanuel Venisse <em...@venisse.net> wrote:
> Yura Ivanov said:
> > Hi, I have a question
> > Why will maven 2.0 use only java for writing plugins?
> > I used maven 1.x enough long time, and always there were no enough
> > documentation about using it and many useful thing I was looking in
> > plugins
> > scr. So it was very good place to dig if I had questions.
> > My opinion that it could be not very comfortable for users of maven to
> > look
> > sorce code of plugins if they would be compiled, but I have never like
> > jelly as scripting language.
> > My suggestion is to use some java compatible scripting language for
> > writing
> > plugins, like BeanShell project or Groovy.
>
> You can use scripting langage for writing plugins. For this, you use
> marmalade.
> See at hello plugin.
> http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
>
> Emmanuel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Brett Porter <br...@gmail.com>.
It's in CVS, but only for a short time. I'll make sure the site stays
up to date this time :)
Cheers,
Brett
On Apr 12, 2005 4:42 AM, Mark Lowe <me...@gmail.com> wrote:
> On Apr 11, 2005 6:04 PM, Brett Porter <br...@gmail.com> wrote:
> > Java.
>
> Thats my sort of talk.. Talk of beanshell and groovy makes me nauseous.
>
> The instructions to check out the source code give the cvs details, is
> this the head version or is there a svn repository? I'm not fussy
> which I've just been caught out before on other projects that moved to
> svn before the docs caught up.
>
> Mark
>
> >
> > On Apr 12, 2005 2:02 AM, Yuriy Ivanov <iv...@offshorecreations.com.ua> wrote:
> > > but What lang will be used for core plugins?
> > >
> > > ----- Original Message -----
> > > From: "Emmanuel Venisse" <em...@venisse.net>
> > > To: "Maven Users List" <us...@maven.apache.org>
> > > Sent: Monday, April 11, 2005 6:25 PM
> > > Subject: Re: [M2] plugins language?
> > >
> > > > Yura Ivanov said:
> > > > > Hi, I have a question
> > > > > Why will maven 2.0 use only java for writing plugins?
> > > > > I used maven 1.x enough long time, and always there were no enough
> > > > > documentation about using it and many useful thing I was looking in
> > > > > plugins
> > > > > scr. So it was very good place to dig if I had questions.
> > > > > My opinion that it could be not very comfortable for users of maven to
> > > > > look
> > > > > sorce code of plugins if they would be compiled, but I have never like
> > > > > jelly as scripting language.
> > > > > My suggestion is to use some java compatible scripting language for
> > > > > writing
> > > > > plugins, like BeanShell project or Groovy.
> > > >
> > > > You can use scripting langage for writing plugins. For this, you use
> > > > marmalade.
> > > > See at hello plugin.
> > > > http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
> > > >
> > > > Emmanuel
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Mark Lowe <me...@gmail.com>.
On Apr 11, 2005 6:04 PM, Brett Porter <br...@gmail.com> wrote:
> Java.
Thats my sort of talk.. Talk of beanshell and groovy makes me nauseous.
The instructions to check out the source code give the cvs details, is
this the head version or is there a svn repository? I'm not fussy
which I've just been caught out before on other projects that moved to
svn before the docs caught up.
Mark
>
> On Apr 12, 2005 2:02 AM, Yuriy Ivanov <iv...@offshorecreations.com.ua> wrote:
> > but What lang will be used for core plugins?
> >
> > ----- Original Message -----
> > From: "Emmanuel Venisse" <em...@venisse.net>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Monday, April 11, 2005 6:25 PM
> > Subject: Re: [M2] plugins language?
> >
> > > Yura Ivanov said:
> > > > Hi, I have a question
> > > > Why will maven 2.0 use only java for writing plugins?
> > > > I used maven 1.x enough long time, and always there were no enough
> > > > documentation about using it and many useful thing I was looking in
> > > > plugins
> > > > scr. So it was very good place to dig if I had questions.
> > > > My opinion that it could be not very comfortable for users of maven to
> > > > look
> > > > sorce code of plugins if they would be compiled, but I have never like
> > > > jelly as scripting language.
> > > > My suggestion is to use some java compatible scripting language for
> > > > writing
> > > > plugins, like BeanShell project or Groovy.
> > >
> > > You can use scripting langage for writing plugins. For this, you use
> > > marmalade.
> > > See at hello plugin.
> > > http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
> > >
> > > Emmanuel
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Brett Porter <br...@gmail.com>.
Java.
On Apr 12, 2005 2:02 AM, Yuriy Ivanov <iv...@offshorecreations.com.ua> wrote:
> but What lang will be used for core plugins?
>
> ----- Original Message -----
> From: "Emmanuel Venisse" <em...@venisse.net>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Monday, April 11, 2005 6:25 PM
> Subject: Re: [M2] plugins language?
>
> > Yura Ivanov said:
> > > Hi, I have a question
> > > Why will maven 2.0 use only java for writing plugins?
> > > I used maven 1.x enough long time, and always there were no enough
> > > documentation about using it and many useful thing I was looking in
> > > plugins
> > > scr. So it was very good place to dig if I had questions.
> > > My opinion that it could be not very comfortable for users of maven to
> > > look
> > > sorce code of plugins if they would be compiled, but I have never like
> > > jelly as scripting language.
> > > My suggestion is to use some java compatible scripting language for
> > > writing
> > > plugins, like BeanShell project or Groovy.
> >
> > You can use scripting langage for writing plugins. For this, you use
> > marmalade.
> > See at hello plugin.
> > http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
> >
> > Emmanuel
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Yuriy Ivanov <iv...@offshorecreations.com.ua>.
but What lang will be used for core plugins?
----- Original Message -----
From: "Emmanuel Venisse" <em...@venisse.net>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, April 11, 2005 6:25 PM
Subject: Re: [M2] plugins language?
> Yura Ivanov said:
> > Hi, I have a question
> > Why will maven 2.0 use only java for writing plugins?
> > I used maven 1.x enough long time, and always there were no enough
> > documentation about using it and many useful thing I was looking in
> > plugins
> > scr. So it was very good place to dig if I had questions.
> > My opinion that it could be not very comfortable for users of maven to
> > look
> > sorce code of plugins if they would be compiled, but I have never like
> > jelly as scripting language.
> > My suggestion is to use some java compatible scripting language for
> > writing
> > plugins, like BeanShell project or Groovy.
>
> You can use scripting langage for writing plugins. For this, you use
> marmalade.
> See at hello plugin.
> http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
>
> Emmanuel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] plugins language?
Posted by Emmanuel Venisse <em...@venisse.net>.
Yura Ivanov said:
> Hi, I have a question
> Why will maven 2.0 use only java for writing plugins?
> I used maven 1.x enough long time, and always there were no enough
> documentation about using it and many useful thing I was looking in
> plugins
> scr. So it was very good place to dig if I had questions.
> My opinion that it could be not very comfortable for users of maven to
> look
> sorce code of plugins if they would be compiled, but I have never like
> jelly as scripting language.
> My suggestion is to use some java compatible scripting language for
> writing
> plugins, like BeanShell project or Groovy.
You can use scripting langage for writing plugins. For this, you use
marmalade.
See at hello plugin.
http://maven.apache.org/maven2/developing-plugins-with-marmalade.html
Emmanuel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org