Re: looking at the maven site via continuum

2006-02-01 Thread Emmanuel Venisse



Johnson, Jonathan a écrit :

I agree.  When I first though about using Continuum over CruiseControl I
read the statement that Continuums integrates well with the maven
architecture.  A strong feature of Maven is the site generation, yet in
Continuum there is no way to see the site.  Moreover the default
Continuum build ('clean install') does not build the site.

Even if you add 'site' as a build goal and then navigate to the Working
Copy then to the target/site directory you cannot open the HTML files in
continuum.  Continuum lists the html as text.


you can see the generated site if you deploy it in a server with site:deploy
Site generation isn't added by default because the basic of a continuous integration tool is to 
build a project.




Two things Continuum needs

1.  Schedule builds based on scm commit activity (rather than fixed
scedules).  CruiseControl has ability to launch builds soon after files
are commited to a repository and also has nice reporting facilities to
see the scm activity.  (This feature is on future features list for
Continuum, I just want to put my vote in).


How CruiseControl do it?
For scm activity, we already have a report like changelog report



2. Provide support for Continuum to build and view the module site.


You can already do it with a site deploy.

Emmanuel




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jettro Coenradie
Sent: Wednesday, February 01, 2006 6:31 AM
To: continuum-users@maven.apache.org
Subject: looking at the maven site via continuum

Hi all,
I have another question. Is it possible to present the site generated by
maven next to the build? It would be nice to be able to check the site
from
the continuum website.

greetz Jettro

LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this e-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents or any action taken (or not taken) in reliance on it is 
unauthorized and may be unlawful. If you are not an addressee, please inform 
the sender immediately.









Re: multi-module maven 2 project

2006-02-01 Thread Emmanuel Venisse



Johnson, Jonathan a écrit :

Emmanuel,

I was hoping that Continuum would preserve the parent-child relationship of a 
parent and child poms.  It would be nice to force a build on either a child or 
the parent.  Forcing a build on the parent pom would build its child modules.


Building dependant projects is a planned feature.



As it stands now I can use the parent pom.xml to load all the sub-modules in 
Continuum, then I can remove the parent project since it is not necessary.  
This is confusing.  As it stands now if you try to run the parent project it 
just reports a success without doing anything.  I would expect an error saying 
it can't build the sub-modules or it builds the sub-modules.

If you are saying that the parent pom.xml is not needed then shouldn't 
Continuum just add the child modules and not the parent.


Why it isn't needed?
You need it for submodule, at least to install it in local repo because 
sub-modules depends on it.



Also, What if you add three parent pom.xml to Continuum.  The flat list of 
modules looses the project groupings.

Perhaps adding a tree or grouping concept for the Continuum Projects list would 
be a helpful addition.


Project grouping is a planned features for 1.1

Emmanuel



- Jonathan


-Original Message-
From: Stevenson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 01, 2006 6:27 AM

To: 'continuum-users@maven.apache.org'
Subject: RE: multi-module maven 2 project

Thanks for your responses gents. 


I was under wrong the impression that continuum didn't support multi module
builds. Now I know it does I will definitely be using them more.

Cheers,

Chris

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2006 08:46

To: continuum-users@maven.apache.org
Subject: Re: multi-module maven 2 project

a command line project is a Shell project.

If you want to build all sub-modules when you  build the parent, you have
several solution.

1- You want all projects are independant in Continuum, so you add a Maven
project. The default goal of a maven parent project isclean install with -N
parameter that means that mvn doesn't run recursivly in all modules. You can
remove -N parameter in build definition but all your submodules will be
built twice (with parent pom and with independant project)

2- You don't need independant projects for submodules in Continuum. Add a
Shell project instead of Maven project and set up the command line to run.

Emmanuel

Johnson, Jonathan a écrit :


I submitted the parent pom to continuum.  Its very nicely found all the


sub-modules and set those up as well.  I did not have to set up a command
line project (not sure what that is either).


One thing that could be enhanced for continuum is a tree structure instead


of a flat list.  The tree structure would indicate while module is the
parent module.  Currently there is not indicator which is you parent module.
Of course that begs the question of a hierarchical, multi-project tree in
maven and continuum.


The other thing I noticed is forcing a build on the parent module in


continuum does not execute the build on the all children.  For me it quickly
executes with a success yet the sub-module builds are not invoked.  


This is the build report on the parent module named Java Modules.


[INFO] Scanning for projects...
[INFO] 
--

--
[INFO] Building Java Modules
[INFO]task-segment: [clean, install]
[INFO] 
--

--
[INFO] [clean:clean]
[INFO] Skipping missing optional mojo: 
org.apache.maven.plugins:maven-site-plugin:attach-descriptor

[INFO] [install:install]
[INFO] Installing /home/builder/454/AppJava/modules/66/pom.xml to 
/home/builder/.m2/repository/com/fourfivefour/AppJavaModules/1.0/AppJa
vaModules-1.0.pom [INFO] 
--

--
[INFO] BUILD SUCCESSFUL
[INFO] 
--

--
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jan 30 14:02:38 EST 2006 [INFO] Final Memory: 
2M/5M [INFO] 
--

--

-Original Message-
From: Stevenson, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 1:04 PM
To: 'continuum-users@maven.apache.org'
Subject: RE: multi-module maven 2 project

Gents,

Can I just check, did you setup your mvn multi module project by 
submitting the parent pom and continuum working it out? Or did you 
have to create a command line project?


I remember a while back that continuum couldn't build multi module 
projects, except as a command line project. Or am I going nuts..


Chris

-Original Message-
From: Johnson, Jonathan [mailto:[EMAIL PROTECTED]
Sent: 27 January 2006 15:26
To: continuum-users@maven.apache.org
Subject: RE: multi-module