Skip to content

Commit

Permalink
- Added some more documentation
Browse files Browse the repository at this point in the history
- Fixed Maven Site
  • Loading branch information
funfried committed Apr 11, 2024
1 parent 79b8a8a commit 3d8bbf3
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,16 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down Expand Up @@ -556,6 +566,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ public class StartEmbeddedPostgresMojo extends AbstractMojo {
@Parameter(defaultValue = "${reactorProjects}", readonly = true, required = true)
private List<MavenProject> reactorProjects;

/**
* Starts the embedded postgres database.
*
* @throws MojoExecutionException if an error occurs
*/
@Override
public void execute() throws MojoExecutionException {
EmbeddedPostgres pg;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ public class StopEmbeddedPostgresMojo extends AbstractMojo {
@Parameter(defaultValue = "${project}", required = true, readonly = true)
private MavenProject project;

/**
* Stops the embedded postgres database.
*
* @throws MojoExecutionException if an error occurs
*/
@Override
public void execute() throws MojoExecutionException {
Object obj = project.getProperties().get("zonky");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package de.funfried.maven.plugin.zonky.utils;

/**
* Enum to define all options of the already started state.
*
* @author fbahle
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import io.zonky.test.db.postgres.embedded.EmbeddedPostgres;

/**
* Zonky utility class.
*
* @author fbahle
*/
Expand Down
1 change: 1 addition & 0 deletions src/main/site/site.xml → src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@

<menu name="Overview">
<item name="Introduction" href="index.html"/>
<item name="Goals" href="plugin-info.html"/>
<item name="Usage" href="usage.html"/>
<item name="Known Issues" href="known_issues.html"/>
<item name="Downloads" href="downloads.html"/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3d8bbf3

Please sign in to comment.