Permalink
Browse files

Add Rails application template to the maven artifacts.

Include rails application template in the -bin distro in a handy location.
  • Loading branch information...
1 parent 41d43f5 commit 72f2a368367a69409ba6a4ca19ff780f6a6c5667 Bob McWhirter committed Sep 30, 2009
Showing with 22 additions and 2 deletions.
  1. +8 −0 torquebox-bin/pom.xml
  2. +12 −0 torquebox-bin/src/main/assembly/bin.xml
  3. +2 −2 torquebox-rails/pom.xml
View
8 torquebox-bin/pom.xml
@@ -71,6 +71,14 @@
<classifier></classifier>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.torquebox</groupId>
+ <artifactId>torquebox-rails</artifactId>
+ <version>${project.version}</version>
+ <type>template.rb</type>
+ <classifier></classifier>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
View
12 torquebox-bin/src/main/assembly/bin.xml
@@ -67,5 +67,17 @@
<include>org.torquebox:torquebox-docs-en_US:pdf</include>
</includes>
</dependencySet>
+ <dependencySet>
+ <outputDirectory>/torquebox-${pom.version}-bin/share/rails</outputDirectory>
+ <outputFileNameMapping>${artifact.extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+ <scope>runtime</scope>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useProjectAttachments>false</useProjectAttachments>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ <includes>
+ <include>org.torquebox:torquebox-rails:template.rb</include>
+ </includes>
+ </dependencySet>
</dependencySets>
</assembly>
View
4 torquebox-rails/pom.xml
@@ -69,8 +69,8 @@
<classifier></classifier>
</artifact>
<artifact>
- <file>target/share/rails-template.rb</file>
- <type>rails-template</type>
+ <file>share/rails-template.rb</file>
+ <type>template.rb</type>
<classifier></classifier>
</artifact>
</artifacts>

0 comments on commit 72f2a36

Please sign in to comment.