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.
- checksums.yaml +4 -4
- data/Gemfile +8 -0
- data/Mavenfile +22 -0
- data/Rakefile +44 -0
- data/lib/maven/tools/coordinate.rb +6 -1
- data/lib/maven/tools/dsl.rb +116 -42
- data/lib/maven/tools/model.rb +336 -334
- data/lib/maven/tools/pom.rb +4 -5
- data/lib/maven/tools/version.rb +1 -1
- data/lib/maven/tools/versions.rb +4 -7
- data/lib/maven/tools/visitor.rb +22 -7
- data/maven-tools.gemspec +39 -0
- data/spec/artifact_spec.rb +30 -10
- data/spec/coordinate_spec.rb +1 -1
- data/spec/gemfile/Gemfile +7 -0
- data/spec/gemfile/Mavenfile +5 -0
- data/spec/gemfile/bouncy-castle-java.gemspec +20 -0
- data/spec/gemfile/pom.xml +79 -0
- data/spec/gemfile_include_jars/Gemfile +5 -0
- data/spec/gemfile_include_jars/Mavenfile +5 -0
- data/spec/gemfile_include_jars/bouncy-castle-java.gemspec +20 -0
- data/spec/gemfile_include_jars/pom.xml +74 -0
- data/spec/gemfile_with_access_to_model/Gemfile +5 -0
- data/spec/gemfile_with_access_to_model/Mavenfile +7 -0
- data/spec/gemfile_with_access_to_model/bouncy-castle-java.gemspec +16 -0
- data/spec/gemfile_with_access_to_model/pom.xml +62 -0
- data/spec/gemfile_with_custom_source/Gemfile +5 -0
- data/spec/gemfile_with_custom_source/Mavenfile +5 -0
- data/spec/gemfile_with_custom_source/bouncy-castle-java.gemspec +19 -0
- data/spec/gemfile_with_custom_source/pom.xml +107 -0
- data/spec/gemfile_with_custom_source/src/java/.keep +0 -0
- data/spec/gemfile_with_custom_source_and_custom_jarname/Gemfile +5 -0
- data/spec/gemfile_with_custom_source_and_custom_jarname/Mavenfile +5 -0
- data/spec/gemfile_with_custom_source_and_custom_jarname/bouncy-castle-java.gemspec +18 -0
- data/spec/gemfile_with_custom_source_and_custom_jarname/pom.xml +107 -0
- data/spec/gemfile_with_custom_source_and_custom_jarname/src/java/.keep +0 -0
- data/spec/gemfile_with_extras/Gemfile +5 -0
- data/spec/gemfile_with_extras/Mavenfile +21 -0
- data/spec/gemfile_with_extras/bouncy-castle-java.gemspec +20 -0
- data/spec/gemfile_with_extras/pom.xml +106 -0
- data/spec/gemfile_with_groups/Gemfile +9 -0
- data/spec/gemfile_with_groups/Mavenfile +5 -0
- data/spec/gemfile_with_groups/pom.xml +44 -0
- data/spec/gemfile_with_groups_and_lockfile/Gemfile +10 -0
- data/spec/gemfile_with_groups_and_lockfile/Gemfile.lock +34 -0
- data/spec/gemfile_with_groups_and_lockfile/Mavenfile +5 -0
- data/spec/gemfile_with_groups_and_lockfile/pom.xml +155 -0
- data/spec/gemfile_with_lock/Gemfile +7 -0
- data/spec/gemfile_with_lock/Gemfile.lock +42 -0
- data/spec/gemfile_with_lock/Mavenfile +5 -0
- data/spec/gemfile_with_lock/bouncy-castle-java.gemspec +22 -0
- data/spec/gemfile_with_lock/pom.xml +197 -0
- data/spec/gemfile_with_path/Gemfile +7 -0
- data/spec/gemfile_with_path/Mavenfile +5 -0
- data/spec/gemfile_with_path/pom.xml +63 -0
- data/spec/gemfile_with_source/Mavenfile +5 -0
- data/spec/gemfile_with_source/bouncy-castle-java.gemspec +21 -0
- data/spec/gemfile_with_source/pom.xml +103 -0
- data/spec/gemfile_with_source/src/main/java/.keep +0 -0
- data/spec/gemfile_with_source_and_custom_jarname/Gemfile +5 -0
- data/spec/gemfile_with_source_and_custom_jarname/Mavenfile +5 -0
- data/spec/gemfile_with_source_and_custom_jarname/bouncy-castle-java.gemspec +19 -0
- data/spec/gemfile_with_source_and_custom_jarname/pom.xml +106 -0
- data/spec/gemfile_with_source_and_custom_jarname/src/main/java/.keep +0 -0
- data/spec/gemfile_with_source_and_no_jar/Gemfile +5 -0
- data/spec/gemfile_with_source_and_no_jar/Mavenfile +5 -0
- data/spec/gemfile_with_source_and_no_jar/bouncy-castle-java.gemspec +19 -0
- data/spec/gemfile_with_source_and_no_jar/pom.xml +76 -0
- data/spec/gemfile_with_source_and_no_jar/src/main/java/.keep +0 -0
- data/spec/gemspec/Mavenfile +5 -0
- data/spec/gemspec/bouncy-castle-java.gemspec +20 -0
- data/spec/gemspec/pom.xml +73 -0
- data/spec/gemspec_in_profile/Mavenfile +7 -0
- data/spec/gemspec_in_profile/bouncy-castle-java.gemspec +20 -0
- data/spec/gemspec_in_profile/pom.xml +57 -0
- data/spec/gemspec_include_jars/Mavenfile +5 -0
- data/spec/gemspec_include_jars/bouncy-castle-java.gemspec +20 -0
- data/spec/gemspec_include_jars/pom.xml +74 -0
- data/spec/gemspec_no_rubygems_repo/Mavenfile +5 -0
- data/spec/gemspec_no_rubygems_repo/bouncy-castle-java.gemspec +17 -0
- data/spec/gemspec_no_rubygems_repo/pom.xml +64 -0
- data/spec/gemspec_prerelease/Mavenfile +5 -0
- data/spec/gemspec_prerelease/bouncy-castle-java.gemspec +17 -0
- data/spec/gemspec_prerelease/pom.xml +70 -0
- data/spec/gemspec_prerelease_snapshot/Mavenfile +5 -0
- data/spec/gemspec_prerelease_snapshot/bouncy-castle-java.gemspec +17 -0
- data/spec/gemspec_prerelease_snapshot/pom.xml +70 -0
- data/spec/gemspec_with_access_to_model/Mavenfile +7 -0
- data/spec/gemspec_with_access_to_model/bouncy-castle-java.gemspec +16 -0
- data/spec/gemspec_with_access_to_model/pom.xml +62 -0
- data/spec/gemspec_with_custom_source/Mavenfile +5 -0
- data/spec/gemspec_with_custom_source/bouncy-castle-java.gemspec +19 -0
- data/spec/gemspec_with_custom_source/pom.xml +107 -0
- data/spec/gemspec_with_custom_source/src/java/.keep +0 -0
- data/spec/gemspec_with_custom_source_and_custom_jarname/Mavenfile +5 -0
- data/spec/gemspec_with_custom_source_and_custom_jarname/bouncy-castle-java.gemspec +18 -0
- data/spec/gemspec_with_custom_source_and_custom_jarname/pom.xml +107 -0
- data/spec/gemspec_with_custom_source_and_custom_jarname/src/java/.keep +0 -0
- data/spec/gemspec_with_extras/Mavenfile +21 -0
- data/spec/gemspec_with_extras/bouncy-castle-java.gemspec +20 -0
- data/spec/gemspec_with_extras/pom.xml +106 -0
- data/spec/gemspec_with_prereleased_dependency/Mavenfile +5 -0
- data/spec/gemspec_with_prereleased_dependency/bouncy-castle-java.gemspec +17 -0
- data/spec/gemspec_with_prereleased_dependency/pom.xml +80 -0
- data/spec/gemspec_with_prereleased_dependency_and_no_repo/Mavenfile +5 -0
- data/spec/gemspec_with_prereleased_dependency_and_no_repo/bouncy-castle-java.gemspec +17 -0
- data/spec/gemspec_with_prereleased_dependency_and_no_repo/pom.xml +76 -0
- data/spec/gemspec_with_source/Mavenfile +5 -0
- data/spec/gemspec_with_source/bouncy-castle-java.gemspec +21 -0
- data/spec/gemspec_with_source/pom.xml +103 -0
- data/spec/gemspec_with_source/src/main/java/.keep +0 -0
- data/spec/gemspec_with_source_and_custom_jarname/Mavenfile +5 -0
- data/spec/gemspec_with_source_and_custom_jarname/bouncy-castle-java.gemspec +19 -0
- data/spec/gemspec_with_source_and_custom_jarname/pom.xml +106 -0
- data/spec/gemspec_with_source_and_custom_jarname/src/main/java/.keep +0 -0
- data/spec/gemspec_with_source_and_no_jar/Mavenfile +5 -0
- data/spec/gemspec_with_source_and_no_jar/bouncy-castle-java.gemspec +19 -0
- data/spec/gemspec_with_source_and_no_jar/pom.xml +76 -0
- data/spec/gemspec_with_source_and_no_jar/src/main/java/.keep +0 -0
- data/spec/mavenfile/Mavenfile +894 -0
- data/spec/my/my-1.0.gem +0 -0
- data/spec/my/my.gemspec +10 -0
- data/spec/pom.xml +423 -0
- data/spec/pom_from_jarfile/Jarfile +3 -0
- data/spec/pom_from_jarfile/pom.xml +39 -0
- data/spec/pom_maven_alternative_style/pom.rb +57 -6
- data/spec/pom_maven_hash_style/pom.rb +56 -175
- data/spec/pom_maven_style/pom.rb +59 -6
- data/spec/pom_spec.rb +1 -1
- data/spec/pom_with_execute/pom.xml +92 -0
- metadata +246 -2
@@ -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-SNAPSHOT</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>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#-*- mode: ruby -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'bouncy-castle-java'
|
5
|
+
s.version = "1.5.0"
|
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.platform = 'java'
|
13
|
+
s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
|
14
|
+
end
|
15
|
+
|
16
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,62 @@
|
|
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.0</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
|
+
<version_from_model>1.5.0</version_from_model>
|
35
|
+
</properties>
|
36
|
+
<repositories>
|
37
|
+
<repository>
|
38
|
+
<id>rubygems-releases</id>
|
39
|
+
<url>http://rubygems-proxy.torquebox.org/releases</url>
|
40
|
+
</repository>
|
41
|
+
</repositories>
|
42
|
+
<build>
|
43
|
+
<extensions>
|
44
|
+
<extension>
|
45
|
+
<groupId>de.saumya.mojo</groupId>
|
46
|
+
<artifactId>gem-extension</artifactId>
|
47
|
+
<version>${jruby.plugins.version}</version>
|
48
|
+
</extension>
|
49
|
+
</extensions>
|
50
|
+
<directory>${basedir}/pkg</directory>
|
51
|
+
<plugins>
|
52
|
+
<plugin>
|
53
|
+
<groupId>de.saumya.mojo</groupId>
|
54
|
+
<artifactId>gem-maven-plugin</artifactId>
|
55
|
+
<version>${jruby.plugins.version}</version>
|
56
|
+
<configuration>
|
57
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
58
|
+
</configuration>
|
59
|
+
</plugin>
|
60
|
+
</plugins>
|
61
|
+
</build>
|
62
|
+
</project>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#-*- mode: ruby -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'bouncy-castle-java'
|
5
|
+
s.version = "1.5.0"
|
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.platform = 'java'
|
13
|
+
s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
|
14
|
+
s.add_dependency 'thor', '>= 0.14.6', '< 2.0'
|
15
|
+
s.add_development_dependency 'rake', '~> 10.0'
|
16
|
+
s.require_path = 'mylib'
|
17
|
+
end
|
18
|
+
|
19
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,107 @@
|
|
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.0</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>thor</artifactId>
|
39
|
+
<version>[0.14.6,2.0)</version>
|
40
|
+
<type>gem</type>
|
41
|
+
</dependency>
|
42
|
+
<dependency>
|
43
|
+
<groupId>rubygems</groupId>
|
44
|
+
<artifactId>rake</artifactId>
|
45
|
+
<version>[10.0,10.99999]</version>
|
46
|
+
<type>gem</type>
|
47
|
+
<scope>test</scope>
|
48
|
+
</dependency>
|
49
|
+
</dependencies>
|
50
|
+
<repositories>
|
51
|
+
<repository>
|
52
|
+
<id>rubygems-releases</id>
|
53
|
+
<url>http://rubygems-proxy.torquebox.org/releases</url>
|
54
|
+
</repository>
|
55
|
+
</repositories>
|
56
|
+
<build>
|
57
|
+
<sourceDirectory>src/java</sourceDirectory>
|
58
|
+
<extensions>
|
59
|
+
<extension>
|
60
|
+
<groupId>de.saumya.mojo</groupId>
|
61
|
+
<artifactId>gem-extension</artifactId>
|
62
|
+
<version>${jruby.plugins.version}</version>
|
63
|
+
</extension>
|
64
|
+
</extensions>
|
65
|
+
<directory>${basedir}/pkg</directory>
|
66
|
+
<plugins>
|
67
|
+
<plugin>
|
68
|
+
<artifactId>maven-jar-plugin</artifactId>
|
69
|
+
<version>2.4</version>
|
70
|
+
<executions>
|
71
|
+
<execution>
|
72
|
+
<phase>prepare-package</phase>
|
73
|
+
<goals>
|
74
|
+
<goal>jar</goal>
|
75
|
+
</goals>
|
76
|
+
</execution>
|
77
|
+
</executions>
|
78
|
+
<configuration>
|
79
|
+
<outputDirectory>mylib</outputDirectory>
|
80
|
+
<finalName>bouncy-castle-java</finalName>
|
81
|
+
</configuration>
|
82
|
+
</plugin>
|
83
|
+
<plugin>
|
84
|
+
<artifactId>maven-clean-plugin</artifactId>
|
85
|
+
<version>2.4</version>
|
86
|
+
<configuration>
|
87
|
+
<filesets>
|
88
|
+
<fileset>
|
89
|
+
<directory>mylib</directory>
|
90
|
+
<includes>
|
91
|
+
<include>bouncy-castle-java.jar</include>
|
92
|
+
</includes>
|
93
|
+
</fileset>
|
94
|
+
</filesets>
|
95
|
+
</configuration>
|
96
|
+
</plugin>
|
97
|
+
<plugin>
|
98
|
+
<groupId>de.saumya.mojo</groupId>
|
99
|
+
<artifactId>gem-maven-plugin</artifactId>
|
100
|
+
<version>${jruby.plugins.version}</version>
|
101
|
+
<configuration>
|
102
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
103
|
+
</configuration>
|
104
|
+
</plugin>
|
105
|
+
</plugins>
|
106
|
+
</build>
|
107
|
+
</project>
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#-*- mode: ruby -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'bouncy-castle-java'
|
5
|
+
s.version = "1.5.0"
|
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.platform = 'java'
|
13
|
+
s.files = ['README', 'LICENSE.html', 'lib/bouncy-castle-java.rb' ] + Dir['lib/bc*.jar' ]
|
14
|
+
s.add_dependency 'thor', '>= 0.14.6', '< 2.0'
|
15
|
+
s.add_development_dependency 'rake', '~> 10.0'
|
16
|
+
end
|
17
|
+
|
18
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,107 @@
|
|
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.0</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>thor</artifactId>
|
39
|
+
<version>[0.14.6,2.0)</version>
|
40
|
+
<type>gem</type>
|
41
|
+
</dependency>
|
42
|
+
<dependency>
|
43
|
+
<groupId>rubygems</groupId>
|
44
|
+
<artifactId>rake</artifactId>
|
45
|
+
<version>[10.0,10.99999]</version>
|
46
|
+
<type>gem</type>
|
47
|
+
<scope>test</scope>
|
48
|
+
</dependency>
|
49
|
+
</dependencies>
|
50
|
+
<repositories>
|
51
|
+
<repository>
|
52
|
+
<id>rubygems-releases</id>
|
53
|
+
<url>http://rubygems-proxy.torquebox.org/releases</url>
|
54
|
+
</repository>
|
55
|
+
</repositories>
|
56
|
+
<build>
|
57
|
+
<sourceDirectory>src/java</sourceDirectory>
|
58
|
+
<extensions>
|
59
|
+
<extension>
|
60
|
+
<groupId>de.saumya.mojo</groupId>
|
61
|
+
<artifactId>gem-extension</artifactId>
|
62
|
+
<version>${jruby.plugins.version}</version>
|
63
|
+
</extension>
|
64
|
+
</extensions>
|
65
|
+
<directory>${basedir}/pkg</directory>
|
66
|
+
<plugins>
|
67
|
+
<plugin>
|
68
|
+
<artifactId>maven-jar-plugin</artifactId>
|
69
|
+
<version>2.4</version>
|
70
|
+
<executions>
|
71
|
+
<execution>
|
72
|
+
<phase>prepare-package</phase>
|
73
|
+
<goals>
|
74
|
+
<goal>jar</goal>
|
75
|
+
</goals>
|
76
|
+
</execution>
|
77
|
+
</executions>
|
78
|
+
<configuration>
|
79
|
+
<outputDirectory>lib</outputDirectory>
|
80
|
+
<finalName>green</finalName>
|
81
|
+
</configuration>
|
82
|
+
</plugin>
|
83
|
+
<plugin>
|
84
|
+
<artifactId>maven-clean-plugin</artifactId>
|
85
|
+
<version>2.4</version>
|
86
|
+
<configuration>
|
87
|
+
<filesets>
|
88
|
+
<fileset>
|
89
|
+
<directory>lib</directory>
|
90
|
+
<includes>
|
91
|
+
<include>green.jar</include>
|
92
|
+
</includes>
|
93
|
+
</fileset>
|
94
|
+
</filesets>
|
95
|
+
</configuration>
|
96
|
+
</plugin>
|
97
|
+
<plugin>
|
98
|
+
<groupId>de.saumya.mojo</groupId>
|
99
|
+
<artifactId>gem-maven-plugin</artifactId>
|
100
|
+
<version>${jruby.plugins.version}</version>
|
101
|
+
<configuration>
|
102
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
103
|
+
</configuration>
|
104
|
+
</plugin>
|
105
|
+
</plugins>
|
106
|
+
</build>
|
107
|
+
</project>
|