Hi all and a happy new year,

after having „threatened“ you all on the list for several times, I just took 
the time to update the versions to the latest versions of all tools again and 
to merge my feature branch back to master.
After all you had about one quarter of a year to review my changes … so I guess 
everyone had a chance ;-)

Now let me explain a little what has changed with this.

First of all instead of copying a template project and building your 
presentations, now there is an archetype which will setup a new presentation 
with examples for you.

Simply with this command you’ll be able to create a new presentation:


mvn archetype:generate -DarchetypeGroupId=org.apache.training 
-DarchetypeArtifactId=content-archetype -DarchetypeVersion=1.0.0-SNAPSHOT

Second the pom of this is extremely simplified as it uses a newly created 
parent pom which defines all the complicated stuff … a new presentation pom now 
looks like this:

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.training</groupId>
        <artifactId>content-master-pom</artifactId>
        <version>1.0.0-SNAPSHOT</version>

        <!-- Required in our case as per 
http://maven.apache.org/ref/3.0.3/maven-model/maven.html#class_parent -->
    </parent>

    <artifactId>hurz</artifactId>

    <groupId>hurz</groupId>
    <version>1.0-SNAPSHOT</version>
    <packaging>war</packaging>

    <name>Training: Tools: Slide Template: Asciidoc to reveal.js Maven 
hurz</name>
    <description>An hurz project that demonstrates how to integrate convert 
Asciidoc to a reveal.js presentation with the Asciidoctor Maven 
plugin.</description>

</project>

Also have I created a third artifact: content-master-resources which contains 
all shared static resources we need to build presentations.

I think with these changes building presentations will become a lot simpler.

Hope you like it.

Chris


Reply via email to