Skip to content

Commit

Permalink
skip gem installation just before packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Aug 12, 2012
1 parent aac46b4 commit 274b732
Showing 1 changed file with 31 additions and 16 deletions.
47 changes: 31 additions & 16 deletions pom.xml
Expand Up @@ -26,29 +26,20 @@
<packaging>gem</packaging>
<name>ruby wrapper around maven and more</name>

<pluginRepositories>
<pluginRepository>
<id>rubygems-releases</id>
<url>http://rubygems-proxy.torquebox.org/releases</url>
</pluginRepository>
</pluginRepositories>

<repositories>
<repository>
<id>rubygems-releases</id>
<url>http://rubygems-proxy.torquebox.org/releases</url>
</repository>
</repositories>

<dependencies>
<!-- get the gems so `gem build` works -->
<dependency>
<groupId>rubygems</groupId>
<artifactId>thor</artifactId>
<version>0.14.6</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>maven-tools</artifactId>
<version>0.29.3</version>
<type>gem</type>
</dependency>
</dependencies>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.version>3.0.4</maven.version>
Expand Down Expand Up @@ -91,10 +82,34 @@
<artifactId>gem-maven-plugin</artifactId>
<version>0.29.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>default-initialize</id>
<phase>prepare-package</phase>
<goals>
<goal>initialize</goal>
</goals>
</execution>
</executions>
<configuration>
<gemspec>${project.basedir}/ruby-maven.gemspec</gemspec>
<includeOpenSSL>true</includeOpenSSL>
</configuration>
<dependencies>
<!-- get the gems so `gem build` works -->
<dependency>
<groupId>rubygems</groupId>
<artifactId>thor</artifactId>
<version>0.14.6</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>maven-tools</artifactId>
<version>0.29.3</version>
<type>gem</type>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down

0 comments on commit 274b732

Please sign in to comment.