Created
September 24, 2013 17:37
-
-
Save mkristian/6688432 to your computer and use it in GitHub Desktop.
sample pom.xml to pack a rails app as wer with maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<groupId>rails</groupId> | |
<artifactId>dhammapada</artifactId> | |
<version>0.0.0</version> | |
<packaging>war</packaging> | |
<repositories> | |
<repository> | |
<id>rubygems-releases</id> | |
<url>http://rubygems-proxy.torquebox.org/releases</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-aggregates</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-core</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>addressable</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-migrations</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-validations</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-timestamps</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>pony</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>mail</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>mime-types</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>treetop</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>polyglot</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>virtus</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>backports</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>descendants_tracker</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-babel</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-audit</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>slf4r</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-error-handler</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-guard</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-remote</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rest-client</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-configuration</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-optimistic</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>cuba-api</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>cuba</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>multi_json</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>safe_yaml</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack-jsonp</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack-protection</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack_csrf</artifactId> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>org.jruby.rack</groupId> | |
<artifactId>jruby-rack</artifactId> | |
<version>1.1.13.1</version> | |
<type>jar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.jruby</groupId> | |
<artifactId>jruby-core</artifactId> | |
<version>${jruby.version}</version> | |
<type>jar</type> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-user</artifactId> | |
<version>${gwt.version}</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>de.mkristian.gwt</groupId> | |
<artifactId>rails-gwt</artifactId> | |
<version>0.8.0-SNAPSHOT</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.fusesource.restygwt</groupId> | |
<artifactId>restygwt</artifactId> | |
<version>1.3-SNAPSHOT</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.ws.rs</groupId> | |
<artifactId>jsr311-api</artifactId> | |
<version>1.1</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt.inject</groupId> | |
<artifactId>gin</artifactId> | |
<version>1.5.0</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>1.0.0.GA</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>1.0.0.GA</version> | |
<type>jar</type> | |
<scope>provided</scope> | |
<classifier>sources</classifier> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>bundler</artifactId> | |
<type>gem</type> | |
</dependency> | |
</dependencies> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>addressable</artifactId> | |
<version>2.3.5</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>backports</artifactId> | |
<version>3.3.4</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>charlock_holmes</artifactId> | |
<version>0.6.9.4</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>copyright-header</artifactId> | |
<version>1.0.11</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>github-linguist</artifactId> | |
<version>2.6.7</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>escape_utils</artifactId> | |
<version>0.3.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>mime-types</artifactId> | |
<version>1.25</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>pygments.rb</artifactId> | |
<version>0.4.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>posix-spawn</artifactId> | |
<version>0.3.6</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>yajl-ruby</artifactId> | |
<version>1.1.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>cuba</artifactId> | |
<version>3.1.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack</artifactId> | |
<version>1.5.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>cuba-api</artifactId> | |
<version>0.5.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-babel</artifactId> | |
<version>0.4.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>multi_json</artifactId> | |
<version>1.8.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>safe_yaml</artifactId> | |
<version>0.9.7</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>daemons</artifactId> | |
<version>1.1.9</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>data_objects</artifactId> | |
<version>0.10.13</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>descendants_tracker</artifactId> | |
<version>0.0.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-aggregates</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-core</artifactId> | |
<version>1.2.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-do-adapter</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-migrations</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-postgres-adapter</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>do_postgres</artifactId> | |
<version>0.10.13</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>do_jdbc</artifactId> | |
<version>0.10.13</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>jdbc-postgres</artifactId> | |
<version>9.2.1002.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-sqlite-adapter</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>do_sqlite3</artifactId> | |
<version>0.10.13</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>jdbc-sqlite3</artifactId> | |
<version>3.7.2.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-timestamps</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>dm-validations</artifactId> | |
<version>1.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>eventmachine</artifactId> | |
<version>1.0.3</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-audit</artifactId> | |
<version>0.4.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>slf4r</artifactId> | |
<version>0.4.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-configuration</artifactId> | |
<version>0.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-error-handler</artifactId> | |
<version>0.4.2</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-guard</artifactId> | |
<version>0.9.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>virtus</artifactId> | |
<version>0.5.5</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-optimistic</artifactId> | |
<version>0.2.3</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>ixtlan-remote</artifactId> | |
<version>0.2.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rest-client</artifactId> | |
<version>1.6.7</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>mail</artifactId> | |
<version>2.5.4</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>treetop</artifactId> | |
<version>1.4.15</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>polyglot</artifactId> | |
<version>0.3.3</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>pony</artifactId> | |
<version>1.5.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack-jsonp</artifactId> | |
<version>1.3.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack-protection</artifactId> | |
<version>1.5.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>rack_csrf</artifactId> | |
<version>2.4.0</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>shotgun</artifactId> | |
<version>0.9</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>thin</artifactId> | |
<version>1.5.1</version> | |
<type>gem</type> | |
</dependency> | |
<dependency> | |
<groupId>rubygems</groupId> | |
<artifactId>bundler</artifactId> | |
<version>1.3.5</version> | |
<type>gem</type> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<properties> | |
<jruby.version>1.7.4</jruby.version> | |
<gem.includeRubygemsInTestResources>false</gem.includeRubygemsInTestResources> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<gem.home>${project.build.directory}/rubygems</gem.home> | |
<gem.path>${project.build.directory}/rubygems</gem.path> | |
<jruby.plugins.version>1.0.0.rc2</jruby.plugins.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.2</version> | |
<configuration> | |
<webResources> | |
<resource> | |
<directory>public</directory> | |
</resource> | |
<resource> | |
<directory>.</directory> | |
<targetPath>WEB-INF</targetPath> | |
<includes> | |
<include>app/**</include> | |
<include>config/**</include> | |
<include>lib/**</include> | |
<include>vendor/**</include> | |
<include>Gemfile</include> | |
</includes> | |
</resource> | |
<resource> | |
<directory>${gem.path}</directory> | |
<targetPath>WEB-INF/gems</targetPath> | |
<includes> | |
<include>gems/**</include> | |
<include>specifications/**</include> | |
</includes> | |
</resource> | |
</webResources> | |
<webXml>config/web.xml</webXml> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment