File: 01-build-jruby-openssl-as-a-common-java-package.patch

package info (click to toggle)
jruby-openssl 0.9.11-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,524 kB
  • ctags: 8,166
  • sloc: java: 34,576; ruby: 14,362; xml: 857; makefile: 15
file content (100 lines) | stat: -rw-r--r-- 2,679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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>