hello JY, this is a good effort and i'm willing to help in the migration if the project maintainers are willing to make the switch.
On Thursday 25 December 2008 03:04:11 JY wrote: > Here a exemple of Restlet Maven Site generated: > http://jycronier.free.fr/tmp/restlet-maven-site/ > > > - Global JavaDoc > > http://jycronier.free.fr/tmp/restlet-maven-site/apidocs/index.html > > > - Code coverage (Cobertura) > > Example with org.restlet Core API: > http://jycronier.free.fr/tmp/restlet-maven-site/org.restlet/cobertura/ind >ex.html (This report isn't representative because Unit Tests aren't move > in their respective projects) > > > - Static analysis of code (PDM) > > Example with org.restlet Core API: > http://jycronier.free.fr/tmp/restlet-maven-site/org.restlet/pmd.html > > > - HTML cross reference sources > > http://jycronier.free.fr/tmp/restlet-maven-site/xref/index.html > > > - Global Dashboard of results > > http://jycronier.free.fr/tmp/restlet-maven-site/dashboard-report.html > (This report isn't representative because Unit Tests aren't move in > their respective projects) > > > I will remove these pages in very few months > > 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=99 >1696 -- cheers; rsn ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=994219
signature.asc
Description: This is a digitally signed message part.

