jbundler 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8acf3e6cf16b596c0fc12a58d02379caef5ba17f
4
- data.tar.gz: b42e991991c9b09a9e5b0cfcb801bc2aed7b5919
3
+ metadata.gz: 243591dd0928bd300909d172ae6ff090ee543942
4
+ data.tar.gz: 21ab64f350dd45db1a146679da7109ce05165044
5
5
  SHA512:
6
- metadata.gz: a26cd49a5a0f61f4e4bc719104ffe1573c11e6f6c0a33708af6b6161e7d0e33e3916ec9d161a7abebd032a2ab296a4ef25dc29960548ab02ed6415d9bc1c2bab
7
- data.tar.gz: 232e0fb712589ef07a431a0b57185a11e0e4290f2c038fb7757775009b6f0a1b33b3d6783fd99ed8e58bcc8dc85462070a7c740eb170692c46413a431fcd1e23
6
+ metadata.gz: df56e894f178a05d8de09f49fe52cb2662064d70aeba35f0a0b587b1c81497b9a945b8bc9b1e5889202a7ee816759a0e07b017484c217c6920fe13e1d06703f2
7
+ data.tar.gz: dc48b69333376eeae4415bfc77f1c900bb1e54768d98a08462f353766e16e7a3bf1630f1d23bc0ad36e47936b13d67a5444a17bfdae7dd5fce6b2d32c8016f63
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jbundler (0.7.1)
4
+ jbundler (0.7.2)
5
5
  bundler (~> 1.5)
6
6
  jar-dependencies (~> 0.1.7)
7
7
  maven-tools (~> 1.0.6)
Binary file
@@ -51,7 +51,7 @@ module JBundler
51
51
 
52
52
  puts '...'
53
53
 
54
- deps = install_dependencies( debug, verbose )
54
+ deps = install_dependencies( debug, verbose, jarfile.exists_lock? )
55
55
 
56
56
  update_files( classpath, collect_jars( deps ) ) if needs_update
57
57
 
@@ -103,11 +103,11 @@ module JBundler
103
103
  @config.local_repository )
104
104
  end
105
105
 
106
- def install_dependencies( debug, verbose )
106
+ def install_dependencies( debug, verbose, exclude_transitive = false )
107
107
  deps_file = File.join( File.expand_path( @config.work_dir ),
108
108
  'dependencies.txt' )
109
109
 
110
- exec_maven( debug, verbose, deps_file )
110
+ exec_maven( debug, verbose, deps_file, exclude_transitive )
111
111
 
112
112
  result = []
113
113
  File.read( deps_file ).each_line do |line|
@@ -119,7 +119,7 @@ module JBundler
119
119
  FileUtils.rm_f( deps_file ) if deps_file
120
120
  end
121
121
 
122
- def exec_maven( debug, verbose, output )
122
+ def exec_maven( debug, verbose, output, exclude_transitive = false )
123
123
  m = Maven::Ruby::Maven.new
124
124
  m.options[ '-f' ] = File.join( File.dirname( __FILE__ ),
125
125
  'dependency_pom.rb' )
@@ -127,6 +127,7 @@ module JBundler
127
127
  m.options[ '-q' ] = nil if !debug and !verbose
128
128
  m.options[ '-e' ] = nil if !debug and verbose
129
129
  m.options[ '-X' ] = nil if debug
130
+ m.options[ '-DexcludeTransitive' ] = exclude_transitive
130
131
  m.verbose = debug
131
132
  m.property( 'jbundler.outputFile', output )
132
133
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-04 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maven-tools