You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Colin Chalmers <co...@xs4all.nl> on 2005/10/25 17:26:41 UTC

Maven build script

Hi,

Following the recent discussions concerning commons-lang & my own thread 
concerning the build procedure I put together the start of a maven build 
script.

It's basically (currently) a multi-project build for three jars: 
MyFaces-api-impl, MyFaces-impl & Tomahawk. Pending the outcome of the 
discussion concerning the shared code jar I've incorporated it into the 
MyFaces-impl jar for_the_time_being. Everything seems to build as 
expected so that's a good start :-)

In the code I see sections of generated code, is this still valid or was 
it a one off?

Towards the end of the week I'd like to share what I have with others 
who also have Maven running locally & get some feedback as to how it works.

In the meantime if others have ideas/concerns I should know about 
(concerning the build) plz shout up.

/Colin

BTW very interesting to see the code quality reports such as checkstyle 
& PMD , there's definately some work there.

Re: Maven build script

Posted by Sean Schofield <se...@gmail.com>.
Also you may want to contact James Mitchell.  He has offered to help
with a Maven script in the past if there was sufficient interest.

sean

On 10/25/05, Martin Marinschek <ma...@gmail.com> wrote:
> Can you post it to this mailing list? Or even better, open a
> jira-issue, so that we don't loose track of it?
>
> We could now add these files as an optional build process, and get
> accustomated with it.
>
> When we feel confident enough, we might switch to Maven.
>
> regards,
>
> Martin
>
> On 10/25/05, Colin Chalmers <co...@xs4all.nl> wrote:
> > Hi,
> >
> > Following the recent discussions concerning commons-lang & my own thread
> > concerning the build procedure I put together the start of a maven build
> > script.
> >
> > It's basically (currently) a multi-project build for three jars:
> > MyFaces-api-impl, MyFaces-impl & Tomahawk. Pending the outcome of the
> > discussion concerning the shared code jar I've incorporated it into the
> > MyFaces-impl jar for_the_time_being. Everything seems to build as
> > expected so that's a good start :-)
> >
> > In the code I see sections of generated code, is this still valid or was
> > it a one off?
> >
> > Towards the end of the week I'd like to share what I have with others
> > who also have Maven running locally & get some feedback as to how it works.
> >
> > In the meantime if others have ideas/concerns I should know about
> > (concerning the build) plz shout up.
> >
> > /Colin
> >
> > BTW very interesting to see the code quality reports such as checkstyle
> > & PMD , there's definately some work there.
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>

Re: Maven build script

Posted by Martin Marinschek <ma...@gmail.com>.
Can you post it to this mailing list? Or even better, open a
jira-issue, so that we don't loose track of it?

We could now add these files as an optional build process, and get
accustomated with it.

When we feel confident enough, we might switch to Maven.

regards,

Martin

On 10/25/05, Colin Chalmers <co...@xs4all.nl> wrote:
> Hi,
>
> Following the recent discussions concerning commons-lang & my own thread
> concerning the build procedure I put together the start of a maven build
> script.
>
> It's basically (currently) a multi-project build for three jars:
> MyFaces-api-impl, MyFaces-impl & Tomahawk. Pending the outcome of the
> discussion concerning the shared code jar I've incorporated it into the
> MyFaces-impl jar for_the_time_being. Everything seems to build as
> expected so that's a good start :-)
>
> In the code I see sections of generated code, is this still valid or was
> it a one off?
>
> Towards the end of the week I'd like to share what I have with others
> who also have Maven running locally & get some feedback as to how it works.
>
> In the meantime if others have ideas/concerns I should know about
> (concerning the build) plz shout up.
>
> /Colin
>
> BTW very interesting to see the code quality reports such as checkstyle
> & PMD , there's definately some work there.
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Re: Maven build script

Posted by Colin Chalmers <co...@xs4all.nl>.
Wendy,

The original script was based on Maven-1.0.2, however I am now looking 
into Maven-2.0 to see how this changes things. This may set me back a 
little but shouldn't be too bad (fingers crossed). I too have the 
feeling that the end result will be worth the time I now invest. My only 
worry is that most of the plugins are in a alpha or Beta release but 
since we're not doing anything exotic it should be OK.

One point to note to those not too familiar with Maven is that it is 
based on a specific structure for src/info & target (compile) resources. 
This is what makes it so easy to work with but does mean that if the 
script & maven is accepted we need to change the structure of the 
project to accomodate this & utilise Maven to it's fullest. We'll cross 
that bridge once we have a script working.

/Colin

Wendy Smoak wrote:

> From: "Colin Chalmers" <co...@xs4all.nl>
>
>> Following the recent discussions concerning commons-lang & my own 
>> thread concerning the build procedure I put together the start of a 
>> maven build script.
>
> ...
>
>> Towards the end of the week I'd like to share what I have with others 
>> who also have Maven running locally & get some feedback as to how it 
>> works.
>
>
> I will have time to look at it this weekend and can help if you need 
> it. But James would be the better choice. :)
>
> Are you working with Maven 1 or 2?  So far I'm finding m2 *much* 
> easier to deal with for the Shale build.
>


Re: Maven build script

Posted by Sean Schofield <se...@gmail.com>.
My vote would also be for m2 but I am not doing the work so I will
leave it up to you.

sean

On 10/25/05, Wendy Smoak <ws...@apache.org> wrote:
> From: "Colin Chalmers" <co...@xs4all.nl>
>
> > Following the recent discussions concerning commons-lang & my own thread
> > concerning the build procedure I put together the start of a maven build
> > script.
> ...
> > Towards the end of the week I'd like to share what I have with others who
> > also have Maven running locally & get some feedback as to how it works.
>
> I will have time to look at it this weekend and can help if you need it.
> But James would be the better choice. :)
>
> Are you working with Maven 1 or 2?  So far I'm finding m2 *much* easier to
> deal with for the Shale build.
>
> --
> Wendy Smoak
>
>

Re: Maven build script

Posted by Wendy Smoak <ws...@apache.org>.
From: "Colin Chalmers" <co...@xs4all.nl>

> Following the recent discussions concerning commons-lang & my own thread 
> concerning the build procedure I put together the start of a maven build 
> script.
...
> Towards the end of the week I'd like to share what I have with others who 
> also have Maven running locally & get some feedback as to how it works.

I will have time to look at it this weekend and can help if you need it. 
But James would be the better choice. :)

Are you working with Maven 1 or 2?  So far I'm finding m2 *much* easier to 
deal with for the Shale build.

-- 
Wendy Smoak