From: Miguel Landaeta <nomadium@debian.org>
Date: Sat, 27 Jun 2015 23:39:36 -0300
Description: Build package as a normal java library
 Support for gem artifacts is not available in Maven yet
 due to missing packages in the archive.
Forwarded: no

diff --git a/pom.xml b/pom.xml
index ce341b3..8528820 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
   <groupId>rubygems</groupId>
   <artifactId>jruby-openssl</artifactId>
   <version>0.9.11</version>
-  <packaging>gem</packaging>
+  <packaging>jar</packaging>
   <name>JRuby OpenSSL</name>
   <description>JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.</description>
   <url>https://github.com/jruby/jruby-openssl</url>
@@ -61,6 +61,7 @@
     <invoker.test>${bc.versions}</invoker.test>
   </properties>
   <dependencies>
+    <!--
     <dependency>
       <groupId>rubygems</groupId>
       <artifactId>jar-dependencies</artifactId>
@@ -82,6 +83,7 @@
       <type>gem</type>
       <scope>test</scope>
     </dependency>
+    -->
     <dependency>
       <groupId>org.bouncycastle</groupId>
       <artifactId>bcpkix-jdk15on</artifactId>
@@ -122,6 +124,7 @@
     </repository>
   </repositories>
   <build>
+    <!--
     <extensions>
       <extension>
         <groupId>de.saumya.mojo</groupId>
@@ -129,6 +132,7 @@
         <version>${jruby.plugins.version}</version>
       </extension>
     </extensions>
+    -->
     <directory>${basedir}/pkg</directory>
     <plugins>
       <plugin>
@@ -177,6 +181,7 @@
           </execution>
         </executions>
       </plugin>
+      <!--
       <plugin>
         <groupId>de.saumya.mojo</groupId>
         <artifactId>gem-maven-plugin</artifactId>
@@ -201,6 +206,7 @@
           <useRepositoryLayout>true</useRepositoryLayout>
         </configuration>
       </plugin>
+      -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>
@@ -304,6 +310,7 @@
           </filesets>
         </configuration>
       </plugin>
+      <!--
       <plugin>
         <artifactId>maven-deploy-plugin</artifactId>
         <version>2.8.1</version>
@@ -318,6 +325,7 @@
           </execution>
         </executions>
       </plugin>
+      -->
       <plugin>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
@@ -334,6 +342,7 @@
           </execution>
         </executions>
       </plugin>
+      <!--
       <plugin>
         <groupId>de.saumya.mojo</groupId>
         <artifactId>runit-maven-plugin</artifactId>
@@ -349,6 +358,7 @@
           </execution>
         </executions>
       </plugin>
+      -->
     </plugins>
   </build>
   <profiles>
