You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@training.apache.org by GitBox <gi...@apache.org> on 2019/12/04 15:40:40 UTC

[GitHub] [incubator-training] chrisdutz commented on a change in pull request #43: Refactored the template configuration to a common parent and introduced Maven archetype

chrisdutz commented on a change in pull request #43: Refactored the template configuration to a common parent and introduced Maven archetype
URL: https://github.com/apache/incubator-training/pull/43#discussion_r353817872
 
 

 ##########
 File path: tools/content-parent-pom/pom.xml
 ##########
 @@ -196,16 +196,76 @@
                                     <filtering>true</filtering>
                                     <targetPath>${project.slides.directory}/reveal.js-${revealjs.version}/css/theme</targetPath>
                                 </resource>
-                                <!-- Patch one of the "slim" files as the 'docinfo' integration doesn't seem to work -->
-                                <resource>
-                                    <directory>libs/docinfo-hack</directory>
-                                    <targetPath>${project.build.directory}/asciidoctor-reveal.js-${asciidoctor-revealjs.version}/templates</targetPath>
-                                </resource>
                             </resources>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>3.1.1</version>
+                <executions>
+                    <execution>
+                        <id>copy-training-asciidoc-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.training</groupId>
 
 Review comment:
   Ok ... today I took some time to update this PR and @RyanSkraba you were right ... I added a provided scoped dependency to the pom ... now it should be built before the pom.
   
   Now I would again wait about a day and merge if there are no objections (As there were none before, I guess this is ok)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services