jar-dependencies 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Mavenfile +0 -10
- data/lib/jar_dependencies.rb +1 -1
- data/lib/jars/lock_down.rb +2 -0
- data/lib/jars/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31ea93d521587d958b524fadd3267e37dcb79bb1
|
4
|
+
data.tar.gz: 8e5e545837cf107446f13e34f754d5aa5a2e1f21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a02cd9b7fd7399d050f36e0ffcace147bfd4546a7d31ec0b211c41eb79d43d2c1dfe1375201769ebdace2a2e6421f27ea3f6270711af6282d800aead94f734
|
7
|
+
data.tar.gz: 7083aaca912c0236cb0a8825edfc9d58867da99bf9cdfbc4bf0f69925eb3838abb879de30ef3a8ef603160ceddfdbf648ccc126cb200bbfd69b1fb3757506b25
|
data/Mavenfile
CHANGED
@@ -58,20 +58,10 @@ end
|
|
58
58
|
profile :id => :release do
|
59
59
|
properties 'maven.test.skip' => true, 'invoker.skip' => true, 'push.skip' => false
|
60
60
|
|
61
|
-
distribution_management do
|
62
|
-
repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
63
|
-
end
|
64
|
-
|
65
61
|
build do
|
66
62
|
default_goal :deploy
|
67
63
|
end
|
68
64
|
|
69
|
-
plugin :gpg, '1.5' do
|
70
|
-
execute_goal :sign, :id => 'sign artifacts', :phase => :verify
|
71
|
-
end
|
72
|
-
plugin :deploy, '2.8.2' do
|
73
|
-
execute_goal :deploy, :phase => :deploy, :id => 'deploy gem to maven central'
|
74
|
-
end
|
75
65
|
end
|
76
66
|
|
77
67
|
# vim: syntax=Ruby
|
data/lib/jar_dependencies.rb
CHANGED
@@ -353,7 +353,7 @@ module Jars
|
|
353
353
|
end
|
354
354
|
|
355
355
|
def to_jar( group_id, artifact_id, version, classifier = nil )
|
356
|
-
file = "#{group_id.gsub( '.', '/' )}/#{artifact_id}/#{version}/#{artifact_id}-#{version}"
|
356
|
+
file = String.new("#{group_id.gsub( '.', '/' )}/#{artifact_id}/#{version}/#{artifact_id}-#{version}")
|
357
357
|
file << "-#{classifier}" if classifier
|
358
358
|
file << '.jar'
|
359
359
|
file
|
data/lib/jars/lock_down.rb
CHANGED
@@ -79,6 +79,8 @@ module Jars
|
|
79
79
|
maven.property( 'jars.lock', File.expand_path( Jars.lock ) )
|
80
80
|
maven.property( 'jars.force', options[ :force ] == true )
|
81
81
|
maven.property( 'jars.update', options[ :update ] ) if options[ :update ]
|
82
|
+
# tell not to use Jars.lock as part of POM when running mvn
|
83
|
+
maven.property( 'jars.skip.lock', true )
|
82
84
|
|
83
85
|
args = [ 'gem:jars-lock' ]
|
84
86
|
if options[ :tree ]
|
data/lib/jars/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jar-dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|