You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2014/11/28 14:09:47 UTC

[1/9] buildr git commit: Bump the version in preparation for release

Repository: buildr
Updated Branches:
  refs/heads/master 28e2305b3 -> d7eaaf588


Bump the version in preparation for release


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/04263f81
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/04263f81
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/04263f81

Branch: refs/heads/master
Commit: 04263f813356a315f6c90f66bdf1f063d65ae2dd
Parents: 28e2305
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:03:18 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:03:18 2014 +1100

----------------------------------------------------------------------
 lib/buildr/version.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/04263f81/lib/buildr/version.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/version.rb b/lib/buildr/version.rb
index 5b4f846..8a22668 100644
--- a/lib/buildr/version.rb
+++ b/lib/buildr/version.rb
@@ -14,5 +14,5 @@
 # the License.
 
 module Buildr #:nodoc:
-  VERSION = '1.4.21.dev'.freeze
+  VERSION = '1.4.21'.freeze
 end


[5/9] buildr git commit: Lock down the version of atoulme-Antwrap

Posted by do...@apache.org.
Lock down the version of atoulme-Antwrap


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/78278d93
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/78278d93
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/78278d93

Branch: refs/heads/master
Commit: 78278d932151077c9ba97e3c9619d95d21c16c94
Parents: 3d20e6f
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:14:39 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:14:39 2014 +1100

----------------------------------------------------------------------
 buildr.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/78278d93/buildr.gemspec
----------------------------------------------------------------------
diff --git a/buildr.gemspec b/buildr.gemspec
index 5f47706..fcd0ed8 100644
--- a/buildr.gemspec
+++ b/buildr.gemspec
@@ -65,7 +65,7 @@ for those one-off tasks, with a language that's a joy to use.
   spec.add_dependency 'json_pure',            '1.8.0'
   spec.add_dependency 'hoe',                  '3.7.1'
   spec.add_dependency 'rjb',                  '1.5.1' if ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby')
-  spec.add_dependency 'atoulme-Antwrap',      '~> 0.7.4'
+  spec.add_dependency 'atoulme-Antwrap',      '0.7.4'
   spec.add_dependency 'diff-lcs',             '1.2.4'
   spec.add_dependency 'rspec-expectations',   '2.14.3'
   spec.add_dependency 'rspec-mocks',          '2.14.3'


[8/9] buildr git commit: Clear gem cache

Posted by do...@apache.org.
Clear gem cache


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/b11f6e65
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/b11f6e65
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/b11f6e65

Branch: refs/heads/master
Commit: b11f6e6598a1f80098f62a6df56cfcf26b34e9a6
Parents: 6fce225
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 21:07:00 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 21:07:00 2014 +1100

----------------------------------------------------------------------
 Rakefile | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/b11f6e65/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index 8eb43b0..e783749 100644
--- a/Rakefile
+++ b/Rakefile
@@ -33,6 +33,7 @@ def spec(platform = RUBY_PLATFORM[/java/] || 'ruby')
   @specs ||= ['ruby', 'java', 'x86-mswin32'].inject({}) { |hash, spec_platform|
     ENV['BUILDR_PLATFORM'] = spec_platform
     hash.update(spec_platform=> Gem::Specification.load('buildr.gemspec'))
+    Gem::Specification._clear_load_cache
     ENV['BUILDR_PLATFORM'] = nil
     hash
   }


[3/9] buildr git commit: Add some news to for the upcoming release

Posted by do...@apache.org.
Add some news to for the upcoming release


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/42bf28b7
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/42bf28b7
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/42bf28b7

Branch: refs/heads/master
Commit: 42bf28b7df7040b8ffef5ca29d20a439ea6c3bb0
Parents: e718b0f
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:07:59 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:07:59 2014 +1100

----------------------------------------------------------------------
 doc/index.textile | 52 ++++++++++++++++++++++++++------------------------
 1 file changed, 27 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/42bf28b7/doc/index.textile
----------------------------------------------------------------------
diff --git a/doc/index.textile b/doc/index.textile
index 497c689..c3e3c8d 100644
--- a/doc/index.textile
+++ b/doc/index.textile
@@ -46,31 +46,33 @@ So let's get started.  You can "read the documentation online":quick_start.html,
 
 h2(#news).  What's New
 
-Highlights from Buildr 1.4.20 (2014-08-23)
-* Fixed : Work around bug/feature of jruby 1.7.13 that caches Gem::Version
-          objects based on constructor parameters that causes issues with
-          Buildr as we mutate the version objects through monkey patching.
-* Change: Upgrade rjb dependency to 1.4.9.
-* Change: BUILDR-701 - Update to JUnit 4.11. Submitted by Jean-Philippe Caruana.
-* Added:  Support the 'report_level' property on findbugs addon.
-* Change: Update the findbugs addon to use the 3.0.0 version of Findbugs.
-* Change: Update the findbugs addon to use the built-in findbugs stylesheet
-          to generate the html report.
-* Fixed:  Ensure that the 'single_intermediate_layout' addon removes the top
-          level target and reports directories during 'clean' phase.
-* Added:  Enhance idea project generation of ejb facet by looking for ejb
-          descriptors in location compatible with ejb-jars.
-
-Highlights from Buildr 1.4.19 (2014-07-06)
-* Fixed:  BUILDR-700 - Ensure SNAPSHOT artifacts, constructed using the
-          download(artifact('group:artifact:jar:1-SNAPSHOT') =>
-          'http://example.com/...') construct will correctly download the
-          artifacts from configured URL.
-* Fixed:  BUILDR-700 - Fix bug where buildr was truncating SNAPSHOT files
-          that had not changed since last update check and HTTP was returning
-          "HTTP Not Modified" status.
-* Fixed:  Fix bug introduced in 1.4.18 version of custom_pom addon where
-          poms are created for artifacts that have a classifier.
+Highlights from Buildr 1.4.21 (2014-11-28)
+* Fixed:  BUILDR-702 - Retain Unix permission flags when merging
+          zip files into another zip or tar archive. Submitted by Pepijn Van Eeckhoudt.
+* Change: Upgrade jacoco to 0.7.2 to support Java 8. Submitted by neher.
+* Change: Update checkstyle addon to use Checkstyle 6.0.
+* Added:  Update checkstyle addon to support downloading checkstyle checks as an artifact.
+* Added:  Update checkstyle addon to supply checkstyle.config.dir property.
+* Added:  Update pmd addon to support downloading rule files as an artifact.
+* Change: Update pmd addon to use pmd version 5.1.3.
+* Change: Update rjb to version 1.5.1.
+* Change: Update the gwt addon to add the validation dependencies required for GWT
+          compiles without requiring that the user specify the dependency.
+* Added:  Updated the gwt addon to support the GWT 2.7.0 release.
+* Change: Update ipr.add_gwt_configuration method to support GWT 2.7 configuration
+          parameters and IDEA 14 parameters.
+* Change: Enhance ipr.add_glassfish_configuration to support the ability to
+          define the version of GlassFish in uses. Change the default to 4.1.0
+          as that is the latest supported variant.
+* Fixed:  Change the name of the GlassFish install in ipr.add_glassfish_configuration
+          to use the same convention that IDEA uses by default. i.e. Name the
+          installation "GlassFish 4.1.0" rather than "Glassfish 4.1.0".
+* Change: Change the default version of the jdk in IDEA project files to 1.7.
+* Change: Change the default version of the IDEA project files created to the
+          current release version 13. To revert to the older versions specify
+          ipr.version = '12' in your buildfile.
+* Added:  Enhance the IdeaFile class to easily support mixing in of custom
+          components from either the filesystem or from an artifact.
 
 This is a partial list -- see the "CHANGELOG":CHANGELOG for full details.
 


[9/9] buildr git commit: No longer need to lock down the version of ruby for release as gem cache is now cleared during builds

Posted by do...@apache.org.
No longer need to lock down the version of ruby for release as gem cache is now cleared during builds


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/d7eaaf58
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/d7eaaf58
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/d7eaaf58

Branch: refs/heads/master
Commit: d7eaaf588a405b01855b3919c28660a41255b8c1
Parents: b11f6e6
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 21:07:47 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 21:07:47 2014 +1100

----------------------------------------------------------------------
 rakelib/stage.rake | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/d7eaaf58/rakelib/stage.rake
----------------------------------------------------------------------
diff --git a/rakelib/stage.rake b/rakelib/stage.rake
index ec45075..5186f1f 100644
--- a/rakelib/stage.rake
+++ b/rakelib/stage.rake
@@ -23,8 +23,6 @@ STAGE_DATE = ENV['STAGE_DATE'] ||  Time.now.strftime('%Y-%m-%d')
 task 'prepare' do |task, args|
   gpg_arg = args.gpg || ENV['gpg']
 
-  raise 'Gem::Specification.load ignores global context (thus $platform) in later versions. Please stage project using ruby 1.9.3' unless RUBY_VERSION == '1.9.3'
-
   # Update source files to next release number.
   lambda do
     current_version = spec.version.to_s.split('.').map { |v| v.to_i }.


[6/9] buildr git commit: Lock down the version of orderedhash

Posted by do...@apache.org.
Lock down the version of orderedhash


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/70109f93
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/70109f93
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/70109f93

Branch: refs/heads/master
Commit: 70109f93c06524497c94a39de06d2f47f814af58
Parents: 78278d9
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:14:54 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:14:54 2014 +1100

----------------------------------------------------------------------
 buildr.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/70109f93/buildr.gemspec
----------------------------------------------------------------------
diff --git a/buildr.gemspec b/buildr.gemspec
index fcd0ed8..9e94dba 100644
--- a/buildr.gemspec
+++ b/buildr.gemspec
@@ -75,7 +75,7 @@ for those one-off tasks, with a language that's a joy to use.
   spec.add_dependency 'minitar',              '0.5.4'
   spec.add_dependency 'jruby-openssl',        '~> 0.8.2' if $platform.to_s == 'java'
   spec.add_dependency 'bundler'
-  spec.add_dependency 'orderedhash'
+  spec.add_dependency 'orderedhash',          '0.0.6'
   spec.add_dependency 'win32console'          '1.3.2' if $platform.to_s == 'x86-mswin32'
 
   # Unable to get this consistently working under jruby on windows


[2/9] buildr git commit: Replace the pending flag with the release date

Posted by do...@apache.org.
Replace the pending flag with the release date


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/e718b0f4
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/e718b0f4
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/e718b0f4

Branch: refs/heads/master
Commit: e718b0f48e1216fa0fcdb9531631bc41e89b2996
Parents: 04263f8
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:04:02 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:04:02 2014 +1100

----------------------------------------------------------------------
 CHANGELOG | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/e718b0f4/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index f0a5738..e6defdd 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-1.4.21 (Pending)
+1.4.21 (2014-11-28)
 * Change: Update the gwt addon to add the validation dependencies required for GWT
           compiles without requiring that the user specify the dependency.
 * Change: Update ipr.add_gwt_configuration method to support GWT 2.7 configuration


[4/9] buildr git commit: Define the license

Posted by do...@apache.org.
Define the license


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/3d20e6f4
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/3d20e6f4
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/3d20e6f4

Branch: refs/heads/master
Commit: 3d20e6f458cb5e7e48f63faa9e4faa608d1cb943
Parents: 42bf28b
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 20:14:25 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 20:14:25 2014 +1100

----------------------------------------------------------------------
 buildr.gemspec | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/3d20e6f4/buildr.gemspec
----------------------------------------------------------------------
diff --git a/buildr.gemspec b/buildr.gemspec
index 2188048..5f47706 100644
--- a/buildr.gemspec
+++ b/buildr.gemspec
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
   spec.email          = 'users@buildr.apache.org'
   spec.homepage       = 'http://buildr.apache.org/'
   spec.summary        = 'Build like you code'
+  spec.licenses        = ['Apache-2.0']
   spec.description    = <<-TEXT
 Apache Buildr is a build system for Java-based applications, including support
 for Scala, Groovy and a growing number of JVM languages and tools.  We wanted


[7/9] buildr git commit: Use a more portable mechanism for deriving the platform

Posted by do...@apache.org.
Use a more portable mechanism for deriving the platform


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/6fce2250
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/6fce2250
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/6fce2250

Branch: refs/heads/master
Commit: 6fce2250a6c708367d99a1e44570d748b2beab28
Parents: 70109f9
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri Nov 28 21:05:04 2014 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri Nov 28 21:05:04 2014 +1100

----------------------------------------------------------------------
 Rakefile       | 6 ++++--
 buildr.gemspec | 7 ++++---
 2 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/6fce2250/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index 29a43f3..8eb43b0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,8 +31,10 @@ end
 # Load the Gem specification for the current platform (Ruby or JRuby).
 def spec(platform = RUBY_PLATFORM[/java/] || 'ruby')
   @specs ||= ['ruby', 'java', 'x86-mswin32'].inject({}) { |hash, spec_platform|
-    $platform = spec_platform
-    hash.update(spec_platform=>Gem::Specification.load('buildr.gemspec'))
+    ENV['BUILDR_PLATFORM'] = spec_platform
+    hash.update(spec_platform=> Gem::Specification.load('buildr.gemspec'))
+    ENV['BUILDR_PLATFORM'] = nil
+    hash
   }
   @specs[platform]
 end

http://git-wip-us.apache.org/repos/asf/buildr/blob/6fce2250/buildr.gemspec
----------------------------------------------------------------------
diff --git a/buildr.gemspec b/buildr.gemspec
index 9e94dba..74d2c5d 100644
--- a/buildr.gemspec
+++ b/buildr.gemspec
@@ -18,9 +18,10 @@ unless defined?(Buildr::VERSION)
   $LOADED_FEATURES << 'buildr/version.rb'
 end
 
-# Rakefile needs to create spec for both platforms (ruby and java), using the
-# $platform global variable.  In all other cases, we figure it out from RUBY_PLATFORM.
-$platform ||= RUBY_PLATFORM[/java/] || 'ruby'
+# Rakefile needs to create spec for all platforms (ruby and java), using the
+# BUILDR_PLATFORM environment variable. In all other cases, we figure it out
+# from RUBY_PLATFORM.
+$platform = ENV['BUILDR_PLATFORM'] || Gem::Platform::CURRENT
 
 Gem::Specification.new do |spec|
   spec.name           = 'buildr'