This repository helps contributors to create SSCCE : Short, Self Contained, Correct (Compilable), Example.
- Fork this repository on GitHub and clone the forked repository to your machine. Please see the GitHub guide for the details.
$ git clone [email protected]:YOUR_ACCOUNT/mybatis-issues.git
- 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.
- Make changes so that the project can reproduce your problem.
- Commit your changes and push them to your forked repository.
$ git add -A
$ git commit -m "Some commit message"
$ git push
- Let us know the URL of your repository.
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.