Skip to content

Instantly share code, notes, and snippets.

@metade
Created December 14, 2009 17:14
Show Gist options
  • Save metade/256219 to your computer and use it in GitHub Desktop.
Save metade/256219 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<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>bbc.introducing</groupId>
<artifactId>peel</artifactId>
<packaging>war</packaging>
<version>1.0.0-SNAPSHOT</version>
<url>https://dev.bbc.co.uk/maven/sites/peel</url>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby</artifactId>
<version>1.4.0</version>
</dependency>
</dependencies>
<build>
<finalName>peel</finalName>
<plugins>
<plugin>
<groupId>org.jruby.plugins</groupId>
<artifactId>jruby-rake-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>build-war</id>
<phase>compile</phase>
<goals>
<goal>rake</goal>
</goals>
<configuration>
<launchDirectory>${basedir}/peel2</launchDirectory>
<args>war:clean war</args>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webappDirectory>${basedir}/peel2/tmp</webappDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment