I'm using:
- Eclipse 3.5.0
- Maven 2.2.1
- Clover 2.5.1

To compile EasyMock in Eclipse:
- In the base directory do "mvn eclipse:eclipse -DdownloadSources=true"
- Import the newly created Eclipse project to your Eclipse workspace
- For the project to compile, you need to have a classpath variable named M2_REPO set to you maven repository directory.
  Two ways to set it:
  - Manually (Windows->Preferences->Classpath variables)
  - Calling "mvn eclipse:configure-workspace -Declipse.workspace=path/to/your/eclipse/workspace" (Eclipse must be closed)

To build EasyMock with Maven:
- Tests are ran over JDK 1.5. You need to add something like this in your settings.xml

    <profile>
      <id>easymock</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <jdk1_5.jvm>C:\Program Files\Java\jdk1.5.0_17\bin\java.exe</jdk1_5.jvm>
      </properties>
    </profile

- The clover.license file must be in the easymock directory
- Then "mvn verify" or "mvn install"

To bundle EasyMock:
- "mvn clean verify assembly:single"

To deploy to the EasyMock maven repository:
- A shell might be needed so just do something like 'plink source_forge_login,easymock@shell.sf.net create'

- You will first need to add something like this to your settings.xml

  <servers>
    <server>
      <id>easymock-release</id>
      <username>source_forge_login,easymock</username>
      <configuration>
        <sshExecutable>C:\putty\plink</sshExecutable>
        <scpExecutable>C:\putty\pscp</scpExecutable>
      </configuration>
    </server>
    <server>
      <id>easymock-snapshot</id>
      <username>source_forge_login,easymock</username>
      <configuration>
        <sshExecutable>C:\putty\plink</sshExecutable>
        <scpExecutable>C:\putty\pscp</scpExecutable>
      </configuration>
    </server>    
  </servers>

- Then just type 'mvn deploy -Dmaven.test.skip=true -Dmaven.clover.skip=true'

To build the maven site (with findbugs, checkstyle, jdepends and JavaNCSS reports):
- You will to give enough memory to maven with 'set MAVEN_OPTS=-Xmx512m' (or setting it as environment variable)
- Then type 'mvn site'

To check-in:
- easymock/trunk/svn-config.txt should be used to handle mime types correctly

To release to SourceForge:
- Update the Website
  - Update index.html to announce the new version
  - Update Download.html to add the new package
  - Update Documentation.html to add the new documentation pages
  - Copy the javadoc to website/api
  - Copy Documentation.html and Documentation_fr.html from the zip bundle to the website (rename them)
  - Check-in everything
  - Log to the shell and launch refresh-website.sh

- Upload the bundle
  - Connect to frs.sourceforge.net 
  - Go to "/home/pfs/project/e/ea/easymock/EasyMock/EasyMock"
  - Create a directory named "EasyMock 2.x"
  - Upload the bundle in the newly created directory
  - Add a file named "Release notes.txt" containing the release notes
  - On www.sf.net, go to the file manager
  - Click on "Release notes.txt" and specify it's a release note
  - Client on the zip and select the release notes file
  
- DON'T FORGET: Tag in SVN!
