mybatis-issues

This repository helps contributors to create SSCCE : Short, Self Contained, Correct (Compilable), Example.

Create a new project using gradle

  1. Fork this repository on GitHub and clone the forked repository to your machine. Please see the GitHub guide for the details.
$ git clone git@github.com:YOUR_ACCOUNT/mybatis-issues.git
  1. In the cloned repository, execute gradle command to create a new project. If you don't have gradle installed, it can be done manually. See the bottom.
$ gradle -PprojectName=gh-123 -Ptemplate=_simple
  • projectName : The name of the new project. Required.
  • template : The name of the template directory. The default is '_simple'.
    • _simple : A simple MyBatis project.
    • _spring : A basic MyBatis-Spring project.
    • _spring-boot : A basic MyBatis-Spring-Boot project.
  1. Make changes so that the project can reproduce your problem.
  2. Commit your changes and push them to your forked repository.
$ git add -A
$ git commit -m "Some commit message"
$ git push
  1. Let us know the URL of your repository.

Create a new project manually

Only the step 2 is different from the previous section.

  • Copy and rename one of the template directories.
  • Open pom.xml in editor and replace ${projectName} with the name of the new project.