Skip to content

Commit

Permalink
fix maven-site it test + update enforcer plugin (asciidoctor#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero authored Jul 17, 2018
1 parent bed5744 commit 869aa78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<version>1.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand All @@ -172,7 +172,7 @@
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.4</version>
<version>3.0.5</version>
</requireMavenVersion>
</rules>
</configuration>
Expand Down
10 changes: 10 additions & 0 deletions src/it/maven-site-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@

<build>
<plugins>
<!--
Workaround to prevent `java.lang.ClassNotFoundException: org.apache.maven.doxia.siterenderer.DocumentContent`
with `maven-site-plugin` v3.6 or lower.
This only affects the it tests, normal executions (e.g. in asciidoctor-maven-examples) work fine.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<!-- tag::plugin-decl[] -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 869aa78

Please sign in to comment.