Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Feb 26, 2021
1 parent 30b7ba6 commit 832d7bf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![Version](https://img.shields.io/badge/Version-1.0.0-blue)](https://github.com/tamada/fritter/releases/tag/v1.0.0)

[![Docker](https://img.shields.io/badge/Docker-ghcr.io%2Ftamada%2Ffritter%3A1.0.0-green?logo=docker)](https://github.com/users/tamada/packages/container/package/fritter)
[![Homebrew](https://img.shields.io/badage/Homebrew-tamada/brew/fritter?logo=homebrew)](https://github.com/tamada/homebrew-brew)
[![Homebrew](https://img.shields.io/badage/Homebrew-tamada/brew/fritter-green?logo=homebrew)](https://github.com/tamada/homebrew-brew)

[![Discussion](https://img.shields.io/badge/GitHub-Discussion-orange?logo=github)](https://github.com/tamada/fritter/discussions)

Expand Down
24 changes: 22 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</execution>
<execution>
<id>jacoco-report</id>
<phase>prepare-package</phase>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
Expand All @@ -154,6 +154,9 @@
<version>3.1.3</version>
</dependency>
</dependencies>
<configuration>
<addSourceDirs>src/main/java</addSourceDirs>
</configuration>
</plugin>

<plugin>
Expand Down Expand Up @@ -253,7 +256,7 @@
</execution>
<execution><!-- Run our version calculation script -->
<id>generate_site</id>
<phase>verify</phase>
<phase>prepare-package</phase>
<goals>
<goal>exec</goal>
</goals>
Expand All @@ -269,4 +272,21 @@
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<outputDirectory>${project.build.directory}/site/apidocs</outputDirectory>
<charset>utf-8</charset>
<encoding>utf-8</encoding>
<locale>en</locale>
<sourcepath>src/main/java</sourcepath>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
1 change: 1 addition & 0 deletions src/site/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ build: ${DEST}/index.html
rm ${DEST}/favicon* ${DEST}/apple-touch-icon.png

${DEST}/index.html:
git worktree prune
git worktree add ${DEST} gh-pages

start:
Expand Down

0 comments on commit 832d7bf

Please sign in to comment.