And here the archive of Generated Maven Site : http://dl.free.fr/qY8EaplcB
JY a écrit :
> "Restlet" uses "Ant" to build the entire project and modules. And it
> works pretty well! :-)
>
> It's very difficult for me to compare actual huge and complex Restlet
> Ant build system with a Maven's one because I never use ant for big
> projects like Restlet. And I know too much of Maven to be objective! ;)
> So, let's the community have an opinion.
>
> So, I begin a little migration of project's structure to be more compliant:
> - remove number version on extension project folder
> (ex: org.restlet.ext.atom_1.0 -> org.restlet.ext.atom)
> - Move all Java source from /src to /src/main/java
> - Move all other than Java source from /src to /src/main/resources
> - Create a parent pom.xml to define all common properties
> (specially for the "maven site" generation)
> - Move pom from build/tmpl/poms to their respective project
> - Copy (quick and dirty way) properties to pom.xml
>
> Now, simple command "mvn package" make packaging of each extensions.
> In attachments, you can find an export of modified project (only folder
> "modules" from commit 4070) and the "mvn site" will generate
> automatically from sources ("mvn site") :
> - Global JavaDoc
> - Code coverage (Cobertura)
> - Static analysis of code (PDM)
> - HTML cross reference sources
> - Global Dashboard of results
> - Etc …
>
> Other works can be performed:
> - Use of Maven Tycho
> (http://docs.codehaus.org/display/M2ECLIPSE/Tycho+user+docs) :
> * Automatic build of OSGi bundle
> * No need of dependency declarations in pom.xml
> (MANIFEST.MF is enough)
> - Move Unit tests under each modules
> - Finish moving no-Java files to: src/resources
> - Continuous integration (ex: Continuum, Cruise Control or Hudson?)
>
>
>
>
>
>
> Merry Christmas!!! :)
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=991625
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=991701