- This project generates step-by-step descriptions of how to stub out each method of each class in a given project.
- Because this dependency is hosted on a private server, not MavenCentral, the
pom.xml
must be configured to search in the proper repository.
<repositories>
<repository>
<id>git-leon-utils</id>
<url>https://packagecloud.io/git-leon/utils/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
- To use this project, add the dependency to your
pom.xml
<dependency>
<groupId>com.github.git-leon</groupId>
<artifactId>project-assembly-generator</artifactId>
<version>1.1</version>
</dependency>
- Instantiate a
ReadMeGenerator
which takes an argument of aString
representative of the top level package-name. - Invoke the
writeToReadMe()
method on the instance. - Open the newly generated
README.md
from the top level directory of the project.
public static void main(String[] args) {
new ReadMeGenerator("com.mydomain").writeToReadMe();
}
- Given a sample project whose structure is as follows:
- Using the 3 step process above will generate a
README.md
with content like: