ivy4r 0.12.1 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/lib/buildr/ivy_extension.rb +8 -4
- data/lib/ivy4r.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== 0.12.2 / 2010-10-19
|
2
|
+
* Removed use of "facets/blank" using now "empty?" did not find the use when removing the require
|
3
|
+
* Add fix for error while merging additional infos into manifest files. Some jars, ears or wars do not have a manifest no just do nothing.
|
4
|
+
|
1
5
|
=== 0.12.1 / 2010-10-13
|
2
6
|
* Use [project target dir]/pom.xml as default name for generated POM files.
|
3
7
|
* Works with MRI and JRuby
|
data/lib/buildr/ivy_extension.rb
CHANGED
@@ -114,7 +114,7 @@ module Buildr
|
|
114
114
|
end
|
115
115
|
|
116
116
|
[confs, types].each do |t|
|
117
|
-
t.reject! {|c| c.nil? || c.
|
117
|
+
t.reject! {|c| c.nil? || c.empty? }
|
118
118
|
end
|
119
119
|
|
120
120
|
unless confs.empty?
|
@@ -413,7 +413,7 @@ module Buildr
|
|
413
413
|
if artifacts
|
414
414
|
artifacts = artifacts.find_all do |lib|
|
415
415
|
lib = File.basename(lib)
|
416
|
-
includes = includes.reject {|i| i.nil? || i.
|
416
|
+
includes = includes.reject {|i| i.nil? || i.empty? }
|
417
417
|
should_include = includes.empty? || includes.any? {|include| include === lib }
|
418
418
|
should_include && !excludes.any? {|exclude| exclude === lib}
|
419
419
|
end
|
@@ -603,8 +603,12 @@ module IvyExtension
|
|
603
603
|
pkgs.each do |pkg|
|
604
604
|
name = "#{pkg.name}manifest"
|
605
605
|
task = project.task name => project.ivy.file_project.task('ivy:resolve') do
|
606
|
-
pkg.
|
607
|
-
|
606
|
+
if pkg.manifest # source jars have no manifest, only add to existing manifest files
|
607
|
+
pkg.with :manifest => pkg.manifest.merge(project.manifest.merge(project.ivy.manifest))
|
608
|
+
info "Adding manifest entries to package '#{pkg.name}'"
|
609
|
+
else
|
610
|
+
info "Could not merge info to package '#{pkg.to_s}' it has no manifest!"
|
611
|
+
end
|
608
612
|
end
|
609
613
|
project.task :build => task
|
610
614
|
end
|
data/lib/ivy4r.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ivy4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Klaas Reineke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-10-
|
12
|
+
date: 2010-10-19 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|