maven-tools 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Mavenfile +2 -3
- data/lib/maven/tools/artifact.rb +3 -1
- data/lib/maven/tools/dsl.rb +7 -0
- data/lib/maven/tools/version.rb +1 -1
- data/lib/maven/tools/versions.rb +3 -3
- data/spec/gemfile/pom.xml +1 -1
- data/spec/gemfile_include_jars/pom.xml +1 -1
- data/spec/gemfile_with_access_to_model/pom.xml +1 -1
- data/spec/gemfile_with_custom_source/pom.xml +1 -1
- data/spec/gemfile_with_custom_source_and_custom_jarname/pom.xml +1 -1
- data/spec/gemfile_with_extras/pom.xml +1 -1
- data/spec/gemfile_with_groups/pom.xml +1 -1
- data/spec/gemfile_with_groups_and_lockfile/pom.xml +1 -1
- data/spec/gemfile_with_lock/pom.xml +1 -1
- data/spec/gemfile_with_path/pom.xml +2 -2
- data/spec/gemfile_with_platforms/pom.xml +1 -1
- data/spec/gemfile_with_source/pom.xml +1 -1
- data/spec/gemfile_with_source_and_custom_jarname/pom.xml +1 -1
- data/spec/gemfile_with_source_and_no_jar/pom.xml +1 -1
- data/spec/gemfile_with_test_group/Gemfile.lock +1 -1
- data/spec/gemfile_with_test_group/pom.xml +1 -1
- data/spec/gemfile_without_gemspec/pom.xml +1 -1
- data/spec/gemspec/pom.xml +1 -1
- data/spec/gemspec_in_profile/pom.xml +1 -1
- data/spec/gemspec_include_jars/pom.xml +1 -1
- data/spec/gemspec_no_rubygems_repo/pom.xml +1 -1
- data/spec/gemspec_prerelease/pom.xml +1 -1
- data/spec/gemspec_prerelease_snapshot/pom.xml +1 -1
- data/spec/gemspec_with_access_to_model/pom.xml +1 -1
- data/spec/gemspec_with_custom_source/pom.xml +1 -1
- data/spec/gemspec_with_custom_source_and_custom_jarname/pom.xml +1 -1
- data/spec/gemspec_with_extras/pom.xml +1 -1
- data/spec/gemspec_with_jar_dependencies/Mavenfile +5 -0
- data/spec/gemspec_with_jar_dependencies/bouncy-castle-java.gemspec +20 -0
- data/spec/gemspec_with_jar_dependencies/pom.xml +91 -0
- data/spec/gemspec_with_prereleased_dependency/pom.xml +1 -1
- data/spec/gemspec_with_prereleased_dependency_and_no_repo/pom.xml +1 -1
- data/spec/gemspec_with_source/pom.xml +1 -1
- data/spec/gemspec_with_source_and_custom_jarname/pom.xml +1 -1
- data/spec/gemspec_with_source_and_no_jar/pom.xml +1 -1
- data/spec/mavenfile/Mavenfile +1 -1
- data/spec/pom.xml +1 -1
- data/spec/pom_maven_alternative_style/pom.rb +1 -1
- data/spec/pom_maven_hash_style/pom.rb +1 -1
- data/spec/pom_maven_style/pom.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 264b824c81e6d1315e6fee5b67772b6f48f65e83
|
4
|
+
data.tar.gz: 6e3de7b9fdcb3759845fb3067a9e484a7aebe88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a71f0ee6a03f1189872f2d7588c81c0ac449145f6a498d726dd36d6a3eb8ee3b0d9efba079efe580ede7b4ab4d8fcfd382eba2fde472021316960e2a3d0d9d8a
|
7
|
+
data.tar.gz: 9682dba597fdca7426ba1e6ac8e4b69451921365d8bcac0fbeaf4acbcceef11713e6d8179280eac695bc1ed12572651300ab36ddcf483e3bf703ffae0eee7aea
|
data/Mavenfile
CHANGED
@@ -9,11 +9,10 @@ end
|
|
9
9
|
#snapshot_repository :jruby, 'http://ci.jruby.org/snapshots/maven'
|
10
10
|
|
11
11
|
# (jruby-1.6.7 produces a lot of yaml errors parsing gemspecs)
|
12
|
-
properties(
|
13
|
-
'jruby.versions' => ['1.7.12', '1.7.16.1'].join(','),
|
12
|
+
properties( 'jruby.versions' => ['1.7.12', '1.7.19', '9.0.0.0.pre1'].join(','),
|
14
13
|
'jruby.modes' => ['1.9', '2.0','2.1'].join(','),
|
15
14
|
# just lock the versions
|
16
|
-
'jruby.version' => '1.7.
|
15
|
+
'jruby.version' => '1.7.19',
|
17
16
|
'tesla.dump.pom' => 'pom.xml',
|
18
17
|
'tesla.dump.readonly' => true )
|
19
18
|
|
data/lib/maven/tools/artifact.rb
CHANGED
@@ -161,7 +161,9 @@ module Maven
|
|
161
161
|
end
|
162
162
|
private :prepare
|
163
163
|
|
164
|
-
|
164
|
+
unless defined? ATTRS
|
165
|
+
ATTRS = :type=, :group_id=, :artifact_id=, :version=, :classifier=, :exclusions=, :scope=
|
166
|
+
end
|
165
167
|
def method_missing( m, arg = nil )
|
166
168
|
if ATTRS.member? m
|
167
169
|
# setter
|
data/lib/maven/tools/dsl.rb
CHANGED
@@ -34,6 +34,13 @@ module Maven
|
|
34
34
|
result
|
35
35
|
end
|
36
36
|
|
37
|
+
def use( plugin, version = nil, &block )
|
38
|
+
Kernel.gem( plugin.to_s, version ) if version
|
39
|
+
require plugin.to_s
|
40
|
+
const = plugin.to_s.split( /_/ ).collect{ |a| a.capitalize }.join
|
41
|
+
Object.const_get( const ).send( :maven, self, &block )
|
42
|
+
end
|
43
|
+
|
37
44
|
def maven( val = nil, &block )
|
38
45
|
if @context == nil
|
39
46
|
tesla( &block )
|
data/lib/maven/tools/version.rb
CHANGED
data/lib/maven/tools/versions.rb
CHANGED
@@ -24,9 +24,9 @@ module Maven
|
|
24
24
|
VERSIONS = {
|
25
25
|
:jar_plugin => "2.4",
|
26
26
|
:clean_plugin => "2.4",
|
27
|
-
:jruby_plugins => "1.0.
|
28
|
-
:bundler_version => "1.7.
|
29
|
-
:jruby_version => "1.7.
|
27
|
+
:jruby_plugins => "1.0.8",
|
28
|
+
:bundler_version => "1.7.13",
|
29
|
+
:jruby_version => "1.7.19",
|
30
30
|
:tesla_version => "0.1.1"
|
31
31
|
}.freeze
|
32
32
|
end
|
data/spec/gemfile/pom.xml
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>1.0.
|
33
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
34
34
|
<version_from_model>1.5.0</version_from_model>
|
35
35
|
</properties>
|
36
36
|
<repositories>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>1.0.
|
33
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
34
34
|
<tesla.dump.pom>pom.xml</tesla.dump.pom>
|
35
35
|
<tesla.dump.readonly>true</tesla.dump.readonly>
|
36
36
|
</properties>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<name>gemfile_with_groups</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>1.0.
|
20
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
21
21
|
</properties>
|
22
22
|
<dependencies>
|
23
23
|
<dependency>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<name>gemfile_with_groups_and_lockfile</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>1.0.
|
20
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
21
21
|
</properties>
|
22
22
|
<repositories>
|
23
23
|
<repository>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<name>gemfile_with_path</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>1.0.
|
20
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
21
21
|
</properties>
|
22
22
|
<dependencies>
|
23
23
|
<dependency>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
<dependency>
|
30
30
|
<groupId>rubygems</groupId>
|
31
31
|
<artifactId>bundler</artifactId>
|
32
|
-
<version>1.7.
|
32
|
+
<version>1.7.13</version>
|
33
33
|
<type>gem</type>
|
34
34
|
<scope>provided</scope>
|
35
35
|
</dependency>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<name>gemfile_with_platforms</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>1.0.
|
20
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
21
21
|
</properties>
|
22
22
|
<dependencies>
|
23
23
|
<dependency>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<name>gemfile_with_test_group</name>
|
9
9
|
<properties>
|
10
10
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
11
|
-
<jruby.plugins.version>1.0.
|
11
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
12
12
|
</properties>
|
13
13
|
<repositories>
|
14
14
|
<repository>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<name>gemfile_without_gemspec</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>1.0.
|
20
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
21
21
|
</properties>
|
22
22
|
<dependencies>
|
23
23
|
<dependency>
|
data/spec/gemspec/pom.xml
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
</build>
|
33
33
|
<properties>
|
34
34
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
35
|
-
<jruby.plugins.version>1.0.
|
35
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
36
36
|
</properties>
|
37
37
|
<dependencies>
|
38
38
|
<dependency>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>1.0.
|
33
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
34
34
|
<version_from_model>1.5.0</version_from_model>
|
35
35
|
</properties>
|
36
36
|
<repositories>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>1.0.
|
33
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
34
34
|
<tesla.dump.pom>pom.xml</tesla.dump.pom>
|
35
35
|
<tesla.dump.readonly>true</tesla.dump.readonly>
|
36
36
|
</properties>
|
@@ -0,0 +1,20 @@
|
|
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
|
+
|
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.licenses = [ 'EPL-1.0', 'GPL-2.0', 'LGPL-2.1' ]
|
12
|
+
|
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
|
+
|
16
|
+
s.requirements << "jar org.bouncycastle:bcpkix-jdk15on, 1.2.3"
|
17
|
+
s.requirements << "jar org.bouncycastle:bcprov-jdk15on, 1.2.3, :scope => :test"
|
18
|
+
end
|
19
|
+
|
20
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,91 @@
|
|
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
|
+
<licenses>
|
22
|
+
<license>
|
23
|
+
<name>EPL-1.0</name>
|
24
|
+
<url>http://opensource.org/licenses/EPL-1.0</url>
|
25
|
+
<comments>Eclipse Public License 1.0</comments>
|
26
|
+
</license>
|
27
|
+
<license>
|
28
|
+
<name>GPL-2.0</name>
|
29
|
+
<url>http://opensource.org/licenses/GPL-2.0</url>
|
30
|
+
<comments>GNU General Public License version 2.0</comments>
|
31
|
+
</license>
|
32
|
+
<license>
|
33
|
+
<name>LGPL-2.1</name>
|
34
|
+
<url>http://opensource.org/licenses/LGPL-2.1</url>
|
35
|
+
<comments>GNU Library or "Lesser" General Public License version 2.1</comments>
|
36
|
+
</license>
|
37
|
+
</licenses>
|
38
|
+
<developers>
|
39
|
+
<developer>
|
40
|
+
<name>Hiroshi Nakamura</name>
|
41
|
+
<email>nahi@ruby-lang.org</email>
|
42
|
+
</developer>
|
43
|
+
</developers>
|
44
|
+
<scm>
|
45
|
+
<connection>https://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java.git</connection>
|
46
|
+
<url>http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/</url>
|
47
|
+
</scm>
|
48
|
+
<properties>
|
49
|
+
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
50
|
+
<jruby.plugins.version>1.0.8</jruby.plugins.version>
|
51
|
+
</properties>
|
52
|
+
<dependencies>
|
53
|
+
<dependency>
|
54
|
+
<groupId>org.bouncycastle</groupId>
|
55
|
+
<artifactId>bcpkix-jdk15on</artifactId>
|
56
|
+
<version>1.2.3</version>
|
57
|
+
</dependency>
|
58
|
+
<dependency>
|
59
|
+
<groupId>org.bouncycastle</groupId>
|
60
|
+
<artifactId>bcprov-jdk15on</artifactId>
|
61
|
+
<version>1.2.3</version>
|
62
|
+
<scope>test</scope>
|
63
|
+
</dependency>
|
64
|
+
</dependencies>
|
65
|
+
<repositories>
|
66
|
+
<repository>
|
67
|
+
<id>rubygems-releases</id>
|
68
|
+
<url>http://rubygems-proxy.torquebox.org/releases</url>
|
69
|
+
</repository>
|
70
|
+
</repositories>
|
71
|
+
<build>
|
72
|
+
<extensions>
|
73
|
+
<extension>
|
74
|
+
<groupId>de.saumya.mojo</groupId>
|
75
|
+
<artifactId>gem-extension</artifactId>
|
76
|
+
<version>${jruby.plugins.version}</version>
|
77
|
+
</extension>
|
78
|
+
</extensions>
|
79
|
+
<directory>${basedir}/pkg</directory>
|
80
|
+
<plugins>
|
81
|
+
<plugin>
|
82
|
+
<groupId>de.saumya.mojo</groupId>
|
83
|
+
<artifactId>gem-maven-plugin</artifactId>
|
84
|
+
<version>${jruby.plugins.version}</version>
|
85
|
+
<configuration>
|
86
|
+
<gemspec>bouncy-castle-java.gemspec</gemspec>
|
87
|
+
</configuration>
|
88
|
+
</plugin>
|
89
|
+
</plugins>
|
90
|
+
</build>
|
91
|
+
</project>
|
data/spec/mavenfile/Mavenfile
CHANGED
data/spec/pom.xml
CHANGED
data/spec/pom_maven_style/pom.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maven-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|
@@ -153,6 +153,7 @@ files:
|
|
153
153
|
- spec/gemspec_prerelease/pom.xml
|
154
154
|
- spec/gemfile_with_groups/pom.xml
|
155
155
|
- spec/gemfile_with_custom_source/pom.xml
|
156
|
+
- spec/gemspec_with_jar_dependencies/pom.xml
|
156
157
|
- spec/dsl/profile_gemspec_spec/no_gems.xml
|
157
158
|
- spec/dsl/profile_gemspec_spec/maven-tools.xml
|
158
159
|
- spec/dsl/profile_gemspec_spec/jars_and_poms_include_jars.xml
|
@@ -222,6 +223,7 @@ files:
|
|
222
223
|
- spec/gemfile_with_groups/Gemfile
|
223
224
|
- spec/gemfile_with_custom_source/Mavenfile
|
224
225
|
- spec/gemfile_with_custom_source/Gemfile
|
226
|
+
- spec/gemspec_with_jar_dependencies/Mavenfile
|
225
227
|
- spec/gemspec_with_prereleased_dependency/Mavenfile
|
226
228
|
- spec/pom_from_jarfile_and_skip_lock/Jarfile
|
227
229
|
- spec/gemfile_without_gemspec/Mavenfile
|
@@ -267,6 +269,7 @@ files:
|
|
267
269
|
- spec/gemspec_with_source/bouncy-castle-java.gemspec
|
268
270
|
- spec/gemspec_prerelease/bouncy-castle-java.gemspec
|
269
271
|
- spec/gemfile_with_custom_source/bouncy-castle-java.gemspec
|
272
|
+
- spec/gemspec_with_jar_dependencies/bouncy-castle-java.gemspec
|
270
273
|
- spec/dsl/profile_gemspec_spec/snapshot.gemspec
|
271
274
|
- spec/dsl/profile_gemspec_spec/unknown_license.gemspec
|
272
275
|
- spec/dsl/profile_gemspec_spec/jars_and_poms.gemspec
|
@@ -371,6 +374,7 @@ test_files:
|
|
371
374
|
- spec/gemspec_prerelease/pom.xml
|
372
375
|
- spec/gemfile_with_groups/pom.xml
|
373
376
|
- spec/gemfile_with_custom_source/pom.xml
|
377
|
+
- spec/gemspec_with_jar_dependencies/pom.xml
|
374
378
|
- spec/dsl/profile_gemspec_spec/no_gems.xml
|
375
379
|
- spec/dsl/profile_gemspec_spec/maven-tools.xml
|
376
380
|
- spec/dsl/profile_gemspec_spec/jars_and_poms_include_jars.xml
|
@@ -440,6 +444,7 @@ test_files:
|
|
440
444
|
- spec/gemfile_with_groups/Gemfile
|
441
445
|
- spec/gemfile_with_custom_source/Mavenfile
|
442
446
|
- spec/gemfile_with_custom_source/Gemfile
|
447
|
+
- spec/gemspec_with_jar_dependencies/Mavenfile
|
443
448
|
- spec/gemspec_with_prereleased_dependency/Mavenfile
|
444
449
|
- spec/pom_from_jarfile_and_skip_lock/Jarfile
|
445
450
|
- spec/gemfile_without_gemspec/Mavenfile
|
@@ -485,6 +490,7 @@ test_files:
|
|
485
490
|
- spec/gemspec_with_source/bouncy-castle-java.gemspec
|
486
491
|
- spec/gemspec_prerelease/bouncy-castle-java.gemspec
|
487
492
|
- spec/gemfile_with_custom_source/bouncy-castle-java.gemspec
|
493
|
+
- spec/gemspec_with_jar_dependencies/bouncy-castle-java.gemspec
|
488
494
|
- spec/dsl/profile_gemspec_spec/snapshot.gemspec
|
489
495
|
- spec/dsl/profile_gemspec_spec/unknown_license.gemspec
|
490
496
|
- spec/dsl/profile_gemspec_spec/jars_and_poms.gemspec
|