jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-651) Convert JSPWiki to a Maven project
Date Sun, 16 Dec 2012 20:58:12 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533513#comment-13533513

Glen Mazza commented on JSPWIKI-651:

Yes, for code modularization, an excellent first step is to forget about Maven but still use
the Maven standard directory format (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
and then update the Ant build.xml to work with that new structure.  At least with src/main/java,
test/man/java, src/main/resources, test/main/resources (and for anything under the WEB-INF
folder, src/main/webapp).  This will make JSPWiki look like just about every other Mavenized
project, making it easier for new people to jump in, knowing where everything is and realizing
they can use the same Maven commands they use on other projects without needing to study a
big build.xml file anymore.

As for all those submodules, sure, sounds good!  But you might wish to keep it simple right
now with one pom.xml until we're off Ant (because others have to be brought up to speed with
Maven), then put in submodules after that.  Or do a hybrid...  You understand the JWPWiki
code a lot more than I do so you might be more comfortable jumping to submodules more quickly
than I.  The Apache CXF pom.xml has about as many bells and whistles as you can find, but
you might want to take a look at the Apache Roller pom.xml & folder structure (http://svn.apache.org/viewvc/roller/trunk/),
as it is also a Java web app like JSPWiki and was created by several skilled developers.
> Convert JSPWiki to a Maven project
> ----------------------------------
>                 Key: JSPWIKI-651
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-651
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Daniel Johansson
>            Priority: Trivial
>              Labels: ant, build, ivy, maven
>         Attachments: pom.xml
> Hello there, I was hoping to maybe one day contribute to the JSPWiki project and after
having checked out the trunk code and played around somewhat I was thinking it would be very
nice if this project used Maven.
> I'm sure most of you are familiar with Maven in one way or another, you might even have
a really good reason for not doing this to JSPWiki.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message