maven-tools 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -0
  3. data/Mavenfile +22 -0
  4. data/Rakefile +44 -0
  5. data/lib/maven/tools/coordinate.rb +6 -1
  6. data/lib/maven/tools/dsl.rb +116 -42
  7. data/lib/maven/tools/model.rb +336 -334
  8. data/lib/maven/tools/pom.rb +4 -5
  9. data/lib/maven/tools/version.rb +1 -1
  10. data/lib/maven/tools/versions.rb +4 -7
  11. data/lib/maven/tools/visitor.rb +22 -7
  12. data/maven-tools.gemspec +39 -0
  13. data/spec/artifact_spec.rb +30 -10
  14. data/spec/coordinate_spec.rb +1 -1
  15. data/spec/gemfile/Gemfile +7 -0
  16. data/spec/gemfile/Mavenfile +5 -0
  17. data/spec/gemfile/bouncy-castle-java.gemspec +20 -0
  18. data/spec/gemfile/pom.xml +79 -0
  19. data/spec/gemfile_include_jars/Gemfile +5 -0
  20. data/spec/gemfile_include_jars/Mavenfile +5 -0
  21. data/spec/gemfile_include_jars/bouncy-castle-java.gemspec +20 -0
  22. data/spec/gemfile_include_jars/pom.xml +74 -0
  23. data/spec/gemfile_with_access_to_model/Gemfile +5 -0
  24. data/spec/gemfile_with_access_to_model/Mavenfile +7 -0
  25. data/spec/gemfile_with_access_to_model/bouncy-castle-java.gemspec +16 -0
  26. data/spec/gemfile_with_access_to_model/pom.xml +62 -0
  27. data/spec/gemfile_with_custom_source/Gemfile +5 -0
  28. data/spec/gemfile_with_custom_source/Mavenfile +5 -0
  29. data/spec/gemfile_with_custom_source/bouncy-castle-java.gemspec +19 -0
  30. data/spec/gemfile_with_custom_source/pom.xml +107 -0
  31. data/spec/gemfile_with_custom_source/src/java/.keep +0 -0
  32. data/spec/gemfile_with_custom_source_and_custom_jarname/Gemfile +5 -0
  33. data/spec/gemfile_with_custom_source_and_custom_jarname/Mavenfile +5 -0
  34. data/spec/gemfile_with_custom_source_and_custom_jarname/bouncy-castle-java.gemspec +18 -0
  35. data/spec/gemfile_with_custom_source_and_custom_jarname/pom.xml +107 -0
  36. data/spec/gemfile_with_custom_source_and_custom_jarname/src/java/.keep +0 -0
  37. data/spec/gemfile_with_extras/Gemfile +5 -0
  38. data/spec/gemfile_with_extras/Mavenfile +21 -0
  39. data/spec/gemfile_with_extras/bouncy-castle-java.gemspec +20 -0
  40. data/spec/gemfile_with_extras/pom.xml +106 -0
  41. data/spec/gemfile_with_groups/Gemfile +9 -0
  42. data/spec/gemfile_with_groups/Mavenfile +5 -0
  43. data/spec/gemfile_with_groups/pom.xml +44 -0
  44. data/spec/gemfile_with_groups_and_lockfile/Gemfile +10 -0
  45. data/spec/gemfile_with_groups_and_lockfile/Gemfile.lock +34 -0
  46. data/spec/gemfile_with_groups_and_lockfile/Mavenfile +5 -0
  47. data/spec/gemfile_with_groups_and_lockfile/pom.xml +155 -0
  48. data/spec/gemfile_with_lock/Gemfile +7 -0
  49. data/spec/gemfile_with_lock/Gemfile.lock +42 -0
  50. data/spec/gemfile_with_lock/Mavenfile +5 -0
  51. data/spec/gemfile_with_lock/bouncy-castle-java.gemspec +22 -0
  52. data/spec/gemfile_with_lock/pom.xml +197 -0
  53. data/spec/gemfile_with_path/Gemfile +7 -0
  54. data/spec/gemfile_with_path/Mavenfile +5 -0
  55. data/spec/gemfile_with_path/pom.xml +63 -0
  56. data/spec/gemfile_with_source/Mavenfile +5 -0
  57. data/spec/gemfile_with_source/bouncy-castle-java.gemspec +21 -0
  58. data/spec/gemfile_with_source/pom.xml +103 -0
  59. data/spec/gemfile_with_source/src/main/java/.keep +0 -0
  60. data/spec/gemfile_with_source_and_custom_jarname/Gemfile +5 -0
  61. data/spec/gemfile_with_source_and_custom_jarname/Mavenfile +5 -0
  62. data/spec/gemfile_with_source_and_custom_jarname/bouncy-castle-java.gemspec +19 -0
  63. data/spec/gemfile_with_source_and_custom_jarname/pom.xml +106 -0
  64. data/spec/gemfile_with_source_and_custom_jarname/src/main/java/.keep +0 -0
  65. data/spec/gemfile_with_source_and_no_jar/Gemfile +5 -0
  66. data/spec/gemfile_with_source_and_no_jar/Mavenfile +5 -0
  67. data/spec/gemfile_with_source_and_no_jar/bouncy-castle-java.gemspec +19 -0
  68. data/spec/gemfile_with_source_and_no_jar/pom.xml +76 -0
  69. data/spec/gemfile_with_source_and_no_jar/src/main/java/.keep +0 -0
  70. data/spec/gemspec/Mavenfile +5 -0
  71. data/spec/gemspec/bouncy-castle-java.gemspec +20 -0
  72. data/spec/gemspec/pom.xml +73 -0
  73. data/spec/gemspec_in_profile/Mavenfile +7 -0
  74. data/spec/gemspec_in_profile/bouncy-castle-java.gemspec +20 -0
  75. data/spec/gemspec_in_profile/pom.xml +57 -0
  76. data/spec/gemspec_include_jars/Mavenfile +5 -0
  77. data/spec/gemspec_include_jars/bouncy-castle-java.gemspec +20 -0
  78. data/spec/gemspec_include_jars/pom.xml +74 -0
  79. data/spec/gemspec_no_rubygems_repo/Mavenfile +5 -0
  80. data/spec/gemspec_no_rubygems_repo/bouncy-castle-java.gemspec +17 -0
  81. data/spec/gemspec_no_rubygems_repo/pom.xml +64 -0
  82. data/spec/gemspec_prerelease/Mavenfile +5 -0
  83. data/spec/gemspec_prerelease/bouncy-castle-java.gemspec +17 -0
  84. data/spec/gemspec_prerelease/pom.xml +70 -0
  85. data/spec/gemspec_prerelease_snapshot/Mavenfile +5 -0
  86. data/spec/gemspec_prerelease_snapshot/bouncy-castle-java.gemspec +17 -0
  87. data/spec/gemspec_prerelease_snapshot/pom.xml +70 -0
  88. data/spec/gemspec_with_access_to_model/Mavenfile +7 -0
  89. data/spec/gemspec_with_access_to_model/bouncy-castle-java.gemspec +16 -0
  90. data/spec/gemspec_with_access_to_model/pom.xml +62 -0
  91. data/spec/gemspec_with_custom_source/Mavenfile +5 -0
  92. data/spec/gemspec_with_custom_source/bouncy-castle-java.gemspec +19 -0
  93. data/spec/gemspec_with_custom_source/pom.xml +107 -0
  94. data/spec/gemspec_with_custom_source/src/java/.keep +0 -0
  95. data/spec/gemspec_with_custom_source_and_custom_jarname/Mavenfile +5 -0
  96. data/spec/gemspec_with_custom_source_and_custom_jarname/bouncy-castle-java.gemspec +18 -0
  97. data/spec/gemspec_with_custom_source_and_custom_jarname/pom.xml +107 -0
  98. data/spec/gemspec_with_custom_source_and_custom_jarname/src/java/.keep +0 -0
  99. data/spec/gemspec_with_extras/Mavenfile +21 -0
  100. data/spec/gemspec_with_extras/bouncy-castle-java.gemspec +20 -0
  101. data/spec/gemspec_with_extras/pom.xml +106 -0
  102. data/spec/gemspec_with_prereleased_dependency/Mavenfile +5 -0
  103. data/spec/gemspec_with_prereleased_dependency/bouncy-castle-java.gemspec +17 -0
  104. data/spec/gemspec_with_prereleased_dependency/pom.xml +80 -0
  105. data/spec/gemspec_with_prereleased_dependency_and_no_repo/Mavenfile +5 -0
  106. data/spec/gemspec_with_prereleased_dependency_and_no_repo/bouncy-castle-java.gemspec +17 -0
  107. data/spec/gemspec_with_prereleased_dependency_and_no_repo/pom.xml +76 -0
  108. data/spec/gemspec_with_source/Mavenfile +5 -0
  109. data/spec/gemspec_with_source/bouncy-castle-java.gemspec +21 -0
  110. data/spec/gemspec_with_source/pom.xml +103 -0
  111. data/spec/gemspec_with_source/src/main/java/.keep +0 -0
  112. data/spec/gemspec_with_source_and_custom_jarname/Mavenfile +5 -0
  113. data/spec/gemspec_with_source_and_custom_jarname/bouncy-castle-java.gemspec +19 -0
  114. data/spec/gemspec_with_source_and_custom_jarname/pom.xml +106 -0
  115. data/spec/gemspec_with_source_and_custom_jarname/src/main/java/.keep +0 -0
  116. data/spec/gemspec_with_source_and_no_jar/Mavenfile +5 -0
  117. data/spec/gemspec_with_source_and_no_jar/bouncy-castle-java.gemspec +19 -0
  118. data/spec/gemspec_with_source_and_no_jar/pom.xml +76 -0
  119. data/spec/gemspec_with_source_and_no_jar/src/main/java/.keep +0 -0
  120. data/spec/mavenfile/Mavenfile +894 -0
  121. data/spec/my/my-1.0.gem +0 -0
  122. data/spec/my/my.gemspec +10 -0
  123. data/spec/pom.xml +423 -0
  124. data/spec/pom_from_jarfile/Jarfile +3 -0
  125. data/spec/pom_from_jarfile/pom.xml +39 -0
  126. data/spec/pom_maven_alternative_style/pom.rb +57 -6
  127. data/spec/pom_maven_hash_style/pom.rb +56 -175
  128. data/spec/pom_maven_style/pom.rb +59 -6
  129. data/spec/pom_spec.rb +1 -1
  130. data/spec/pom_with_execute/pom.xml +92 -0
  131. metadata +246 -2
@@ -0,0 +1,5 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ gemspec
4
+
5
+ # vim: syntax=Ruby
@@ -0,0 +1,20 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ require './bouncy-castle-version.rb'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'bouncy-castle-java'
7
+ s.version = "1.5.0#{BouncyCastle::VERSION_}"
8
+ s.author = 'Hiroshi Nakamura'
9
+ s.email = [ 'nahi@ruby-lang.org' ]
10
+ s.rubyforge_project = "jruby-extras"
11
+ s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
12
+ s.summary = 'Gem redistribution of Bouncy Castle jars'
13
+ s.description = 'Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html'
14
+ s.platform = 'java'
15
+ s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
16
+ s.requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
17
+ s.requirements << "jar org.bouncycastle:bcprov-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
18
+ end
19
+
20
+ # vim: syntax=Ruby
@@ -0,0 +1,73 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Copyright (c) 2012 to original author or authors
5
+ All rights reserved. This program and the accompanying materials
6
+ are made available under the terms of the Eclipse Public License v1.0
7
+ which accompanies this distribution, and is available at
8
+ http://www.eclipse.org/legal/epl-v10.html
9
+
10
+ -->
11
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
12
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
+ <modelVersion>4.0.0</modelVersion>
14
+ <groupId>rubygems</groupId>
15
+ <artifactId>bouncy-castle-java</artifactId>
16
+ <version>1.5.0149</version>
17
+ <packaging>gem</packaging>
18
+ <name>Gem redistribution of Bouncy Castle jars</name>
19
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
20
+ <description>Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html</description>
21
+ <developers>
22
+ <developer>
23
+ <name>Hiroshi Nakamura</name>
24
+ <email>nahi@ruby-lang.org</email>
25
+ </developer>
26
+ </developers>
27
+ <scm>
28
+ <connection>https://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java.git</connection>
29
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
30
+ </scm>
31
+ <properties>
32
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
33
+ <jruby.plugins.version>1.0.1</jruby.plugins.version>
34
+ </properties>
35
+ <dependencies>
36
+ <dependency>
37
+ <groupId>org.bouncycastle</groupId>
38
+ <artifactId>bcpkix-jdk15on</artifactId>
39
+ <version>1.49</version>
40
+ </dependency>
41
+ <dependency>
42
+ <groupId>org.bouncycastle</groupId>
43
+ <artifactId>bcprov-jdk15on</artifactId>
44
+ <version>1.49</version>
45
+ </dependency>
46
+ </dependencies>
47
+ <repositories>
48
+ <repository>
49
+ <id>rubygems-releases</id>
50
+ <url>http://rubygems-proxy.torquebox.org/releases</url>
51
+ </repository>
52
+ </repositories>
53
+ <build>
54
+ <extensions>
55
+ <extension>
56
+ <groupId>de.saumya.mojo</groupId>
57
+ <artifactId>gem-extension</artifactId>
58
+ <version>${jruby.plugins.version}</version>
59
+ </extension>
60
+ </extensions>
61
+ <directory>${basedir}/pkg</directory>
62
+ <plugins>
63
+ <plugin>
64
+ <groupId>de.saumya.mojo</groupId>
65
+ <artifactId>gem-maven-plugin</artifactId>
66
+ <version>${jruby.plugins.version}</version>
67
+ <configuration>
68
+ <gemspec>bouncy-castle-java.gemspec</gemspec>
69
+ </configuration>
70
+ </plugin>
71
+ </plugins>
72
+ </build>
73
+ </project>
@@ -0,0 +1,7 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ profile :gem do
4
+ gemspec
5
+ end
6
+
7
+ # vim: syntax=Ruby
@@ -0,0 +1,20 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ require './bouncy-castle-version.rb'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'bouncy-castle-java'
7
+ s.version = "1.5.0#{BouncyCastle::VERSION_}"
8
+ s.author = 'Hiroshi Nakamura'
9
+ s.email = [ 'nahi@ruby-lang.org' ]
10
+ s.rubyforge_project = "jruby-extras"
11
+ s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
12
+ s.summary = 'Gem redistribution of Bouncy Castle jars'
13
+ s.description = 'Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html'
14
+ s.platform = 'java'
15
+ s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
16
+ s.requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
17
+ s.requirements << "jar org.bouncycastle:bcprov-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
18
+ end
19
+
20
+ # vim: syntax=Ruby
@@ -0,0 +1,57 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Copyright (c) 2012 to original author or authors
5
+ All rights reserved. This program and the accompanying materials
6
+ are made available under the terms of the Eclipse Public License v1.0
7
+ which accompanies this distribution, and is available at
8
+ http://www.eclipse.org/legal/epl-v10.html
9
+
10
+ -->
11
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
12
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
+ <modelVersion>4.0.0</modelVersion>
14
+ <groupId>dummy</groupId>
15
+ <artifactId>gemspec_in_profile</artifactId>
16
+ <version>0.0.0</version>
17
+ <name>gemspec_in_profile</name>
18
+ <profiles>
19
+ <profile>
20
+ <id>gem</id>
21
+ <build>
22
+ <plugins>
23
+ <plugin>
24
+ <groupId>de.saumya.mojo</groupId>
25
+ <artifactId>gem-maven-plugin</artifactId>
26
+ <version>${jruby.plugins.version}</version>
27
+ <configuration>
28
+ <gemspec>bouncy-castle-java.gemspec</gemspec>
29
+ </configuration>
30
+ </plugin>
31
+ </plugins>
32
+ </build>
33
+ <properties>
34
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
35
+ <jruby.plugins.version>1.0.1</jruby.plugins.version>
36
+ </properties>
37
+ <dependencies>
38
+ <dependency>
39
+ <groupId>org.bouncycastle</groupId>
40
+ <artifactId>bcpkix-jdk15on</artifactId>
41
+ <version>1.49</version>
42
+ </dependency>
43
+ <dependency>
44
+ <groupId>org.bouncycastle</groupId>
45
+ <artifactId>bcprov-jdk15on</artifactId>
46
+ <version>1.49</version>
47
+ </dependency>
48
+ </dependencies>
49
+ <repositories>
50
+ <repository>
51
+ <id>rubygems-releases</id>
52
+ <url>http://rubygems-proxy.torquebox.org/releases</url>
53
+ </repository>
54
+ </repositories>
55
+ </profile>
56
+ </profiles>
57
+ </project>
@@ -0,0 +1,5 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ gemspec :include_jars => true
4
+
5
+ # vim: syntax=Ruby
@@ -0,0 +1,20 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ require './bouncy-castle-version.rb'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'bouncy-castle-java'
7
+ s.version = "1.5.0#{BouncyCastle::VERSION_}"
8
+ s.author = 'Hiroshi Nakamura'
9
+ s.email = [ 'nahi@ruby-lang.org' ]
10
+ s.rubyforge_project = "jruby-extras"
11
+ s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
12
+ s.summary = 'Gem redistribution of Bouncy Castle jars'
13
+ s.description = 'Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html'
14
+ s.platform = 'java'
15
+ s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
16
+ s.requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
17
+ s.requirements << "jar org.bouncycastle:bcprov-jdk15on, #{BouncyCastle::MAVEN_VERSION}"
18
+ end
19
+
20
+ # vim: syntax=Ruby
@@ -0,0 +1,74 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Copyright (c) 2012 to original author or authors
5
+ All rights reserved. This program and the accompanying materials
6
+ are made available under the terms of the Eclipse Public License v1.0
7
+ which accompanies this distribution, and is available at
8
+ http://www.eclipse.org/legal/epl-v10.html
9
+
10
+ -->
11
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
12
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
+ <modelVersion>4.0.0</modelVersion>
14
+ <groupId>rubygems</groupId>
15
+ <artifactId>bouncy-castle-java</artifactId>
16
+ <version>1.5.0149</version>
17
+ <packaging>gem</packaging>
18
+ <name>Gem redistribution of Bouncy Castle jars</name>
19
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
20
+ <description>Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html</description>
21
+ <developers>
22
+ <developer>
23
+ <name>Hiroshi Nakamura</name>
24
+ <email>nahi@ruby-lang.org</email>
25
+ </developer>
26
+ </developers>
27
+ <scm>
28
+ <connection>https://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java.git</connection>
29
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
30
+ </scm>
31
+ <properties>
32
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
33
+ <jruby.plugins.version>1.0.1</jruby.plugins.version>
34
+ </properties>
35
+ <dependencies>
36
+ <dependency>
37
+ <groupId>org.bouncycastle</groupId>
38
+ <artifactId>bcpkix-jdk15on</artifactId>
39
+ <version>1.49</version>
40
+ </dependency>
41
+ <dependency>
42
+ <groupId>org.bouncycastle</groupId>
43
+ <artifactId>bcprov-jdk15on</artifactId>
44
+ <version>1.49</version>
45
+ </dependency>
46
+ </dependencies>
47
+ <repositories>
48
+ <repository>
49
+ <id>rubygems-releases</id>
50
+ <url>http://rubygems-proxy.torquebox.org/releases</url>
51
+ </repository>
52
+ </repositories>
53
+ <build>
54
+ <extensions>
55
+ <extension>
56
+ <groupId>de.saumya.mojo</groupId>
57
+ <artifactId>gem-extension</artifactId>
58
+ <version>${jruby.plugins.version}</version>
59
+ </extension>
60
+ </extensions>
61
+ <directory>${basedir}/pkg</directory>
62
+ <plugins>
63
+ <plugin>
64
+ <groupId>de.saumya.mojo</groupId>
65
+ <artifactId>gem-maven-plugin</artifactId>
66
+ <version>${jruby.plugins.version}</version>
67
+ <configuration>
68
+ <gemspec>bouncy-castle-java.gemspec</gemspec>
69
+ <includeDependencies>true</includeDependencies>
70
+ </configuration>
71
+ </plugin>
72
+ </plugins>
73
+ </build>
74
+ </project>
@@ -0,0 +1,5 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ gemspec :no_rubygems_repo => true
4
+
5
+ # vim: syntax=Ruby
@@ -0,0 +1,17 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'bouncy-castle-java'
5
+ s.version = "1.5.1"
6
+ s.author = 'Hiroshi Nakamura'
7
+ s.email = [ 'nahi@ruby-lang.org' ]
8
+ s.rubyforge_project = "jruby-extras"
9
+ s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
10
+ s.summary = 'Gem redistribution of Bouncy Castle jars'
11
+ s.description = 'Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html'
12
+ s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
13
+
14
+ s.add_development_dependency 'minitest', '~> 4.4'
15
+ end
16
+
17
+ # vim: syntax=Ruby
@@ -0,0 +1,64 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Copyright (c) 2012 to original author or authors
5
+ All rights reserved. This program and the accompanying materials
6
+ are made available under the terms of the Eclipse Public License v1.0
7
+ which accompanies this distribution, and is available at
8
+ http://www.eclipse.org/legal/epl-v10.html
9
+
10
+ -->
11
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
12
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
+ <modelVersion>4.0.0</modelVersion>
14
+ <groupId>rubygems</groupId>
15
+ <artifactId>bouncy-castle-java</artifactId>
16
+ <version>1.5.1</version>
17
+ <packaging>gem</packaging>
18
+ <name>Gem redistribution of Bouncy Castle jars</name>
19
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
20
+ <description>Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html</description>
21
+ <developers>
22
+ <developer>
23
+ <name>Hiroshi Nakamura</name>
24
+ <email>nahi@ruby-lang.org</email>
25
+ </developer>
26
+ </developers>
27
+ <scm>
28
+ <connection>https://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java.git</connection>
29
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
30
+ </scm>
31
+ <properties>
32
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
33
+ <jruby.plugins.version>1.0.1</jruby.plugins.version>
34
+ </properties>
35
+ <dependencies>
36
+ <dependency>
37
+ <groupId>rubygems</groupId>
38
+ <artifactId>minitest</artifactId>
39
+ <version>[4.4,4.99999]</version>
40
+ <type>gem</type>
41
+ <scope>test</scope>
42
+ </dependency>
43
+ </dependencies>
44
+ <build>
45
+ <extensions>
46
+ <extension>
47
+ <groupId>de.saumya.mojo</groupId>
48
+ <artifactId>gem-extension</artifactId>
49
+ <version>${jruby.plugins.version}</version>
50
+ </extension>
51
+ </extensions>
52
+ <directory>${basedir}/pkg</directory>
53
+ <plugins>
54
+ <plugin>
55
+ <groupId>de.saumya.mojo</groupId>
56
+ <artifactId>gem-maven-plugin</artifactId>
57
+ <version>${jruby.plugins.version}</version>
58
+ <configuration>
59
+ <gemspec>bouncy-castle-java.gemspec</gemspec>
60
+ </configuration>
61
+ </plugin>
62
+ </plugins>
63
+ </build>
64
+ </project>
@@ -0,0 +1,5 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ gemspec
4
+
5
+ # vim: syntax=Ruby
@@ -0,0 +1,17 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'bouncy-castle-java'
5
+ s.version = "1.5.beta.1"
6
+ s.author = 'Hiroshi Nakamura'
7
+ s.email = [ 'nahi@ruby-lang.org' ]
8
+ s.rubyforge_project = "jruby-extras"
9
+ s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
10
+ s.summary = 'Gem redistribution of Bouncy Castle jars'
11
+ s.description = 'Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html'
12
+ s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
13
+
14
+ s.add_development_dependency 'minitest', '~> 4.4'
15
+ end
16
+
17
+ # vim: syntax=Ruby
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Copyright (c) 2012 to original author or authors
5
+ All rights reserved. This program and the accompanying materials
6
+ are made available under the terms of the Eclipse Public License v1.0
7
+ which accompanies this distribution, and is available at
8
+ http://www.eclipse.org/legal/epl-v10.html
9
+
10
+ -->
11
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
12
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
+ <modelVersion>4.0.0</modelVersion>
14
+ <groupId>rubygems</groupId>
15
+ <artifactId>bouncy-castle-java</artifactId>
16
+ <version>1.5.beta.1</version>
17
+ <packaging>gem</packaging>
18
+ <name>Gem redistribution of Bouncy Castle jars</name>
19
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
20
+ <description>Gem redistribution of "Legion of the Bouncy Castle Java cryptography APIs" jars at http://www.bouncycastle.org/java.html</description>
21
+ <developers>
22
+ <developer>
23
+ <name>Hiroshi Nakamura</name>
24
+ <email>nahi@ruby-lang.org</email>
25
+ </developer>
26
+ </developers>
27
+ <scm>
28
+ <connection>https://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java.git</connection>
29
+ <url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
30
+ </scm>
31
+ <properties>
32
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
33
+ <jruby.plugins.version>1.0.1</jruby.plugins.version>
34
+ </properties>
35
+ <dependencies>
36
+ <dependency>
37
+ <groupId>rubygems</groupId>
38
+ <artifactId>minitest</artifactId>
39
+ <version>[4.4,4.99999]</version>
40
+ <type>gem</type>
41
+ <scope>test</scope>
42
+ </dependency>
43
+ </dependencies>
44
+ <repositories>
45
+ <repository>
46
+ <id>rubygems-releases</id>
47
+ <url>http://rubygems-proxy.torquebox.org/releases</url>
48
+ </repository>
49
+ </repositories>
50
+ <build>
51
+ <extensions>
52
+ <extension>
53
+ <groupId>de.saumya.mojo</groupId>
54
+ <artifactId>gem-extension</artifactId>
55
+ <version>${jruby.plugins.version}</version>
56
+ </extension>
57
+ </extensions>
58
+ <directory>${basedir}/pkg</directory>
59
+ <plugins>
60
+ <plugin>
61
+ <groupId>de.saumya.mojo</groupId>
62
+ <artifactId>gem-maven-plugin</artifactId>
63
+ <version>${jruby.plugins.version}</version>
64
+ <configuration>
65
+ <gemspec>bouncy-castle-java.gemspec</gemspec>
66
+ </configuration>
67
+ </plugin>
68
+ </plugins>
69
+ </build>
70
+ </project>