Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
modified the book site build to reference global template
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrien committed May 31, 2011
1 parent 4f7b43c commit 862bc18
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 558 deletions.
20 changes: 19 additions & 1 deletion mcookbook-site/pom.xml
Expand Up @@ -18,6 +18,23 @@
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-template</id>
<phase>site</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.sonatype.book</groupId>
<artifactId>book-site</artifactId>
<version>0.1-SNAPSHOT</version>
</artifactItem>
</artifactItems>
<outputDirectory>${basedir}/target/book-site</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-html</id>
<phase>site</phase>
Expand Down Expand Up @@ -87,7 +104,8 @@
<goal>mesh-velocity</goal>
</goals>
<configuration>
<velocityTemplate>${src.main.resources}/vm/book-template.html</velocityTemplate>
<bookTitle>The Maven Cookbook</bookTitle>
<velocityTemplate>${basedir}/target/book-site/vm/book-template.html</velocityTemplate>
</configuration>
</execution>
</executions>
Expand Down
261 changes: 0 additions & 261 deletions mcookbook-site/src/main/resources/vm/book-template.html

This file was deleted.

0 comments on commit 862bc18

Please sign in to comment.