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,63 @@
|
|
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>gemfile_with_path</artifactId>
|
16
|
+
<version>0.0.0</version>
|
17
|
+
<name>gemfile_with_path</name>
|
18
|
+
<properties>
|
19
|
+
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
+
<jruby.plugins.version>1.0.1</jruby.plugins.version>
|
21
|
+
</properties>
|
22
|
+
<dependencies>
|
23
|
+
<dependency>
|
24
|
+
<groupId>rubygems</groupId>
|
25
|
+
<artifactId>rake</artifactId>
|
26
|
+
<version>[0,)</version>
|
27
|
+
<type>gem</type>
|
28
|
+
</dependency>
|
29
|
+
<dependency>
|
30
|
+
<groupId>rubygems</groupId>
|
31
|
+
<artifactId>bundler</artifactId>
|
32
|
+
<version>1.6.2</version>
|
33
|
+
<type>gem</type>
|
34
|
+
<scope>provided</scope>
|
35
|
+
</dependency>
|
36
|
+
</dependencies>
|
37
|
+
<repositories>
|
38
|
+
<repository>
|
39
|
+
<id>rubygems-releases</id>
|
40
|
+
<url>http://rubygems-proxy.torquebox.org/releases</url>
|
41
|
+
</repository>
|
42
|
+
</repositories>
|
43
|
+
<build>
|
44
|
+
<plugins>
|
45
|
+
<plugin>
|
46
|
+
<groupId>de.saumya.mojo</groupId>
|
47
|
+
<artifactId>gem-maven-plugin</artifactId>
|
48
|
+
<version>${jruby.plugins.version}</version>
|
49
|
+
<executions>
|
50
|
+
<execution>
|
51
|
+
<goals>
|
52
|
+
<goal>exec</goal>
|
53
|
+
</goals>
|
54
|
+
<configuration>
|
55
|
+
<filename>bundle</filename>
|
56
|
+
<args>install</args>
|
57
|
+
</configuration>
|
58
|
+
</execution>
|
59
|
+
</executions>
|
60
|
+
</plugin>
|
61
|
+
</plugins>
|
62
|
+
</build>
|
63
|
+
</project>
|
@@ -0,0 +1,21 @@
|
|
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
|
+
s.require_path = 'mylib'
|
19
|
+
end
|
20
|
+
|
21
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,103 @@
|
|
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
|
+
<artifactId>maven-jar-plugin</artifactId>
|
65
|
+
<version>2.4</version>
|
66
|
+
<executions>
|
67
|
+
<execution>
|
68
|
+
<phase>prepare-package</phase>
|
69
|
+
<goals>
|
70
|
+
<goal>jar</goal>
|
71
|
+
</goals>
|
72
|
+
</execution>
|
73
|
+
</executions>
|
74
|
+
<configuration>
|
75
|
+
<outputDirectory>mylib</outputDirectory>
|
76
|
+
<finalName>bouncy-castle-java</finalName>
|
77
|
+
</configuration>
|
78
|
+
</plugin>
|
79
|
+
<plugin>
|
80
|
+
<artifactId>maven-clean-plugin</artifactId>
|
81
|
+
<version>2.4</version>
|
82
|
+
<configuration>
|
83
|
+
<filesets>
|
84
|
+
<fileset>
|
85
|
+
<directory>mylib</directory>
|
86
|
+
<includes>
|
87
|
+
<include>bouncy-castle-java.jar</include>
|
88
|
+
</includes>
|
89
|
+
</fileset>
|
90
|
+
</filesets>
|
91
|
+
</configuration>
|
92
|
+
</plugin>
|
93
|
+
<plugin>
|
94
|
+
<groupId>de.saumya.mojo</groupId>
|
95
|
+
<artifactId>gem-maven-plugin</artifactId>
|
96
|
+
<version>${jruby.plugins.version}</version>
|
97
|
+
<configuration>
|
98
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
99
|
+
</configuration>
|
100
|
+
</plugin>
|
101
|
+
</plugins>
|
102
|
+
</build>
|
103
|
+
</project>
|
File without changes
|
@@ -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,106 @@
|
|
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
|
+
<extensions>
|
58
|
+
<extension>
|
59
|
+
<groupId>de.saumya.mojo</groupId>
|
60
|
+
<artifactId>gem-extension</artifactId>
|
61
|
+
<version>${jruby.plugins.version}</version>
|
62
|
+
</extension>
|
63
|
+
</extensions>
|
64
|
+
<directory>${basedir}/pkg</directory>
|
65
|
+
<plugins>
|
66
|
+
<plugin>
|
67
|
+
<artifactId>maven-jar-plugin</artifactId>
|
68
|
+
<version>2.4</version>
|
69
|
+
<executions>
|
70
|
+
<execution>
|
71
|
+
<phase>prepare-package</phase>
|
72
|
+
<goals>
|
73
|
+
<goal>jar</goal>
|
74
|
+
</goals>
|
75
|
+
</execution>
|
76
|
+
</executions>
|
77
|
+
<configuration>
|
78
|
+
<outputDirectory>mylib</outputDirectory>
|
79
|
+
<finalName>green</finalName>
|
80
|
+
</configuration>
|
81
|
+
</plugin>
|
82
|
+
<plugin>
|
83
|
+
<artifactId>maven-clean-plugin</artifactId>
|
84
|
+
<version>2.4</version>
|
85
|
+
<configuration>
|
86
|
+
<filesets>
|
87
|
+
<fileset>
|
88
|
+
<directory>mylib</directory>
|
89
|
+
<includes>
|
90
|
+
<include>green.jar</include>
|
91
|
+
</includes>
|
92
|
+
</fileset>
|
93
|
+
</filesets>
|
94
|
+
</configuration>
|
95
|
+
</plugin>
|
96
|
+
<plugin>
|
97
|
+
<groupId>de.saumya.mojo</groupId>
|
98
|
+
<artifactId>gem-maven-plugin</artifactId>
|
99
|
+
<version>${jruby.plugins.version}</version>
|
100
|
+
<configuration>
|
101
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
102
|
+
</configuration>
|
103
|
+
</plugin>
|
104
|
+
</plugins>
|
105
|
+
</build>
|
106
|
+
</project>
|
File without changes
|
@@ -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,76 @@
|
|
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
|
+
<extensions>
|
58
|
+
<extension>
|
59
|
+
<groupId>de.saumya.mojo</groupId>
|
60
|
+
<artifactId>gem-extension</artifactId>
|
61
|
+
<version>${jruby.plugins.version}</version>
|
62
|
+
</extension>
|
63
|
+
</extensions>
|
64
|
+
<directory>${basedir}/pkg</directory>
|
65
|
+
<plugins>
|
66
|
+
<plugin>
|
67
|
+
<groupId>de.saumya.mojo</groupId>
|
68
|
+
<artifactId>gem-maven-plugin</artifactId>
|
69
|
+
<version>${jruby.plugins.version}</version>
|
70
|
+
<configuration>
|
71
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
72
|
+
</configuration>
|
73
|
+
</plugin>
|
74
|
+
</plugins>
|
75
|
+
</build>
|
76
|
+
</project>
|