Differences between revisions 6 and 7
Revision 6 as of 2006-01-17 16:09:03
Size: 9047
Editor: schof
Comment:
Revision 7 as of 2009-09-20 23:01:26
Size: 9047
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Current Tasks (List of steps for the Maven Migration)

POM's

  • TODO get unit tests working (and enable them in maven build) [DONE]

  • Change StateUtils test case to use mocked version --> bommel [DONE]

  • Move/copy message resources for MessageUtilsTest --> schof [DONE]

  • TODO discussion about the artifact names [DONE]

  • TODO clean up pom's [DONE]

  • TODO generate javadoc and tlddoc for site and as attached artifact

Assembly

  • Get binary assembly working
    • Core
    • Tomahawk
  • Add src assembly (Need to get multiple descriptors working - maybe we can submit a patch?)

Nightly Builds

  • Install Continuum on the MyFaces Zone --> schof [DONE]

  • Setup snapshot repository maybe we can use the apache snapshot repository http://cvs.apache.org/maven-snapshot-repository --> schof [DONE]

  • Get continuum running as a service
  • Have continuum build all of the modules (no website or assembly stuff yet)
  • Set up continuum to run assembly and publish to nightly dir

Website

  • Have continuum publish website to Bernd or Sean's homepage (temporarily)
  • Have community review website and start accepting/applying patches
  • Set up continuum to publish new mavenized website (replace old website)

Cleanup

  • Add <relocation> tags to old released poms open an issue at jira.codehaus.org for MEV

SVN Reorg

  • Backup current repository layout to http://svn.apache.org/repos/asf/myfaces/legacy/tags/before_maven_reorg/ [DONE]

  • Remove the core, current and tomahawk-only externals. (Current will be restored when reorg is complete) [DONE]

  • Rename 'share' subproject to 'commons' [DONE]

  • Remove unecessary files from build/src/trunk (if we need anything from there it can be restored from legacy) [DONE]

  • Remove build.properties and cactus.properties from each of the subprojects (some of the stuff in there may need to be moved to maven scripts eventually) [DONE]

  • Create a 'main' directory under each 'src' directory for the subprojects. [DONE]

  • Move the contents of 'src/java' into 'main/java' [DONE]

  • Add a new 'current' external which includes: api, build, commons, impl, sandbox, tomahawk (NOTE: Forrest is skipped for now) [DONE]

  • Add the POM's for each of the subprojects [DONE]

  • Add the POM for the top level build dir (this POM can build all subprojects) [DONE]

  • Add new 'src/main/resources' for each of the subprojects [DONE]

  • Move the contents of 'impl/tld', 'tomahawk/tld', 'sandbox/tld' to 'impl/src/main/tld', 'sandbox/src/main/tld' and 'tomahawk/src/main/tld' [DONE]

  • Setup resources for impl subproject [DONE]

    • svn mkdir https://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/resources/META-INF \
                -m "creating META-INF dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/resources/org \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/resources/org/apache/ \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/impl/src/main/resources/org/apache/myfaces \
                -m "creating resource dir"
      
      svn move https://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/java/org/apache/myfaces/resource \
               https://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/resources/org/apache/myfaces \
               -m "moving impl resources"
  • Since there are a ton of tomahawk and sandbox resources use svn to copy the entire source code branch and then remove

the *.java stuff [DONE]

  • svn copy https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/src/main/java/org \
             https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/src/main/resources/
              -m "copying potential tomahawk resources"
    
    
    svn copy https://svn.apache.org/repos/asf/myfaces/sandbox/trunk/src/main/java/org \
             https://svn.apache.org/repos/asf/myfaces/sandbox/trunk/src/main/resources/
              -m "copying potential sandbox resources"
  • Additional tomahawk resource configuration [DONE]

    • svn mkdir https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/src/main/resources/META-INF \
                -m "creating META-INF dir"
      
      svn move https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/conf/faces-config.xml \
               https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/src/main/resources/META-INF \
               -m "moving tomahawk resources"
      
      svn remove https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/conf/ \
               -m "removing conf dir"
  • Additional sandbox resource configuration [DONE]

    • svn mkdir https://svn.apache.org/repos/asf/myfaces/sandbox/trunk/src/main/resources/META-INF \
                -m "creating META-INF dir"
      
      svn move https://svn.apache.org/repos/asf/myfaces/sandbox/trunk/conf/faces-config.xml \
               https://svn.apache.org/repos/asf/myfaces/sandbox/trunk/src/main/resources/META-INF \
               -m "moving sandbox resources"
      
      svn remove https://svn.apache.org/repos/asf/myfaces/sandbox/conf/ \
               -m "removing conf dir"
  • Add an ignore for the TLD's that the build creates in resources/META-INF for impl, sandbox and tomahawk (so we don't accidentally check them in) [DONE]

  • Copy LICENSE.TXT and NOTICE.TXT into each of the resources directories. [DONE]

  • Remove build directory from each of the subprojects [DONE]

Examples

  • Create a 'main' directory under each 'src' directory for the examples. [DONE]

  • Move the 'src/java' directory into 'src/main/java' for each of the examples. [DONE]

  • Copy the contents of the examples into a new 'webapp' dir (do this for all of the examples) [DONE]

    • svn copy https://svn.apache.org/repos/asf/myfaces/examples/trunk/blank \
               https://svn.apache.org/repos/asf/myfaces/examples/trunk/blank/src/main/webapp \
               -m "maven reorg"
  • Remove the src directory since its a byproduct of the copy [DONE]

    • svn remove https://svn.apache.org/repos/asf/myfaces/examples/trunk/blank/src/main/webapp/src \
                 -m "maven reorg"
  • Delete top level stuff (except for source dir) for each of the webapps [DONE]

  • Add the pom.xml to the examples directory and to the webapps directories [DONE]

Simple Example
  • Create a 'resources' directory under the 'src' directory. [DONE]

  • Move the resources to the new resources dir [DONE]

    • svn mkdir https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources/org \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources/org/apache \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources/org/apache/myfaces \
                -m "creating resource dir"
      
      svn mkdir https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources/org/apache/myfaces/examples \
                -m "creating resource dir"
      
      svn move https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/java/org/apache/myfaces/examples/resource \
               https://svn.apache.org/repos/asf/myfaces/examples/trunk/simple/src/main/resources/org/apache/myfaces/examples/resource \
                -m "moving resources"

Sandbox Example
  • No resources to move. [DONE]

Blank and Tiles Examples
  • No resources to move. [DONE]

  • Copy web.xml to src/main/webapp/WEB-INF/ [DONE]

    •     svn copy -m "copy web.xml" 
              https://svn.apache.org/repos/asf/myfaces/examples/trunk/conf/basic-web.xml 
              https://svn.apache.org/repos/asf/myfaces/examples/trunk/blank/src/main/webapp/WEB-INF/web.xml
          svn copy -m "copy web.xml" 
              https://svn.apache.org/repos/asf/myfaces/examples/trunk/conf/basic-web.xml 
              https://svn.apache.org/repos/asf/myfaces/examples/trunk/tiles/src/main/webapp/WEB-INF/web.xml

Building multiple modules and assembling the distro bundles
  • Add the build/pom.xml from the test repos to build dir in the real repos [DONE]

  • Remove the build dirs from each of the subprojects (they are currently svn:externals and they don't need to be replaced) [DONE]

  • Create the following dirs in the build dir: src/main/assembly, src/main/resources [DONE]

  • Add the dep.xml from the test repos to src/main/assembly [DONE]

  • Copy the LICENSE and NOTICE (from any of the subprojects) to src/main/resources [DONE]

Maven2_Migration (last edited 2009-09-20 23:01:26 by localhost)