Skip to content

Commit

Permalink
This POM.xml change is from @lukasj (PR #705) and fixes the issue I n…
Browse files Browse the repository at this point in the history
…oticed with images not being included with the PDF. Thank you @lukasj

Signed-off-by: Ed Bratt <ed.bratt@oracle.com>
  • Loading branch information
edbratt committed Apr 7, 2021
1 parent 1edba6f commit 38a3c8c
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion user_guides/jakartaee/pom.xml
Expand Up @@ -133,6 +133,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<!-- copy imgs so pdf processor can find them -->
<phase>process-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/book</outputDirectory>
<resources>
<resource>
<directory>src/main/jbake/assets</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
Expand Down Expand Up @@ -189,7 +211,7 @@
</execution>
</executions>
</plugin>
</plugins>
</plugins>

<pluginManagement>
<plugins>
Expand All @@ -198,6 +220,11 @@
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.glassfish.doc</groupId>
<artifactId>glassfish-doc-maven-plugin</artifactId>
Expand Down

0 comments on commit 38a3c8c

Please sign in to comment.