Fetch releases from github repo to generate a blog post. The search is between 2 dates.

Coordinates

<plugin>
  <groupId>io.yupiik.maven</groupId>
  <artifactId>yupiik-tools-maven-plugin</artifactId>
  <version>1.2.4-SNAPSHOT</version>
</plugin>

To call this goal from the command line execute: mvn yupiik-tools:generate-blog-post-releases.

To bind this goal in the build you can use:

<plugin>
  <groupId>io.yupiik.maven</groupId>
  <artifactId>yupiik-tools-maven-plugin</artifactId>
  <version>1.2.4-SNAPSHOT</version>
  <executions>
    <execution>
      <id>my-execution</id>
      <goals>
        <goal>generate-blog-post-releases</goal>
      </goals>
      <configuration>
        <!-- execution specific configuration come there -->
      </configuration>
    </execution>
  </executions>
</plugin>

You can execute this goal particularly with mvn yupiik-tools:generate-blog-post-releases@my-execution command.

Configuration

forceHttpV1 (boolean)

Default value: true. Property: ${yupiik.generate-blog-post-releases.forceHttpV1}.

from (String)

Property: ${yupiik.generate-blog-post-releases.from}.

githubBaseApi (String)

Default value: https://api.github.com/ . Property: ${yupiik.generate-blog-post-releases.githubRepository}.

githubRepositories (List)

Property: ${yupiik.generate-blog-post-releases.githubRepository}.

githubServerId (String)

Default value: github.com. Property: ${yupiik.generate-blog-post-releases.githubServerId}.

threads (int)

Default value: 16. Property: ${yupiik.generate-blog-post-releases.threads}.

to (String)

Property: ${yupiik.generate-blog-post-releases.to}.

useMavenCredentials (boolean)

Default value: true. Property: ${yupiik.generate-blog-post-releases.useMavenCredentials}.

workdir (String)

Default value: ${project.build.directory}/generate-blog-post-releases-workdir. Property: ${yupiik.generate-blog-post-releases.workdir}.