Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Anchor
The sais-moves-web Maven Project Reconfiguration
The sais-moves-web Maven Project Reconfiguration

Step 2: The sais-moves-web Maven Project Reconfiguration

  1. Check-out the maven project for the sais-moves-web.  The SVN repository is:
    Code Block
    svn+ssh://svn.mit.edu/sais-sis-common/sais-moves-web/trunk
    
  2. Open the sais-moves-web maven project in your IDE.
    1. Open the sais-moves-web project pom.xml for editing.
    2. In the <dependencies> section, add the following dependency:
      Code Block
      <dependency>
          <groupId>edu.mit.maven.plugins</groupId>
          <artifactId>mit-release-plugin</artifactId>
          <version>2.0.21</version>
      </dependency>
      
      Change the <version>, in the above, to the mit-release-plugin version that you selected in Section 1.
      The above dependency makes the source code for the mit-release-plugin available to the IDE's debugger.
    3. In the <dependencies> section, add the following dependency:
      Code Block
      <dependency>
          <groupId>edu.mit.maven.plugins</groupId>
          <artifactId>mit-release-plugin-common</artifactId>
          <version>[0.0.0,999.999.999)</version>
      </dependency>
      
      Change the <version>, in the above, to the mit-release-plugin version that you selected in Section 1.
    4. In the <plugins> section of the pom.xml, find the following plugin with the following groupId and artifactId:
      NOTE  The version number may be differ from 2.0.21.
      Code Block
      <plugin>
          <groupId>edu.mit.maven.plugins</groupId>
          <artifactId>mit-release-plugin</artifactId>
          <version>2.0.21</version>
          .
          .
      </plugin>
      
      Change the <version> for the above plugin to the mit-release-plugin version that you selected in Section 1.
    5. Open the log4j.xml (located in the resources folder) for editing and add the following <logger>:
      Code Block
      <logger name="edu.mit.moves.shell.logging">
          <level value="INFO" />
      </logger>
      
      Tip
      titleOPTIONAL

      If you are only interested in debugging the mit-release-plugin, you might want to changed the <level> of all the other <logger>s to FATAL.  If you do this, all output to the system console will be surpress except for the output from the mit-release-plugin.

When you are satisfied that everything is correct, save the changes that you made.

The sais-moves-web Maven Project Reconfiguration is now complete

...