Skip to content

Commit

Permalink
Issue #72 - Add notes to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Aug 12, 2018
1 parent 393a51d commit babeeb6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 19 deletions.
55 changes: 36 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.

<dependencyManagement>
<dependencies>
<dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-api</artifactId>
<version>2.8.2</version>
Expand All @@ -100,7 +100,7 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand All @@ -125,7 +125,7 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.
<artifactId>plexus-utils</artifactId>
<version>3.0.15</version>
</dependency>
<dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-api</artifactId>
</dependency>
Expand All @@ -147,22 +147,6 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.

</dependencies>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</reporting>

<build>

<plugins>
Expand Down Expand Up @@ -219,8 +203,40 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.
<version>3.4</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-exec</artifactId>
<version>1.2</version>
</dependency>

<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.6</version>
</dependency>

</dependencies>
<configuration>
<reportPlugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>

<configuration>
<!-- @see https://www.mkyong.com/maven/maven-site-build-is-very-slow-dependency-report/ -->
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
</reportPlugins>
</configuration>
</plugin>

Expand All @@ -236,6 +252,7 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.
</extensions>
-->


</build>

<profiles>
Expand Down
8 changes: 8 additions & 0 deletions src/site/markdown/qa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Questions & Answers


### Multiple executions of plugin

Referring to issue [72](https://github.com/bsorrentino/maven-annotation-plugin/issues/72), apparently the default configuration of the sources plugin doesn't play nice with plugins bound to the `generate-sources` phase.

In the case you having this issue please refer to: [How to prevent generate-sources phase executing twice](http://blog.peterlynch.ca/2010/05/maven-how-to-prevent-generate-sources.html)
1 change: 1 addition & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<item name="Summary" href="project-summary.html"/>
<item name="Goals" href="plugin-info.html"/>
<item name="Usage" href="usage.html"/>
<item name="Q&amp;A" href="qa.html"/>

</menu>

Expand Down

0 comments on commit babeeb6

Please sign in to comment.