Skip to content

Instantly share code, notes, and snippets.

@aldrinleal
Created February 25, 2014 11:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aldrinleal/9206941 to your computer and use it in GitHub Desktop.
Save aldrinleal/9206941 to your computer and use it in GitHub Desktop.
Bootstrap pom for JBake Stuff
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.tasafo</groupId>
<artifactId>yoursite</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<properties>
<hostname>yoursite.com</hostname>
</properties>
<build>
<finalName>${hostname}</finalName>
<extensions>
<extension>
<groupId>org.kuali.maven.wagons</groupId>
<artifactId>maven-s3-wagon</artifactId>
<version>1.2.1</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.6</version>
<executions>
<execution>
<id>default-generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>upload</goal>
</goals>
</execution>
</executions>
<configuration>
<fromDir>${project.build.directory}/${project.build.finalName}</fromDir>
<includes>**/*</includes>
<url>s3://${project.build.finalName}</url>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment