Skip to content

Commit

Permalink
fix missing pictures in pdf guide
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Apr 7, 2021
1 parent 2b9ce00 commit 05b9157
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion user_guides/jakartaee/pom.xml
Original file line number Diff line number Diff line change
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 05b9157

Please sign in to comment.