Repository: buildr
Updated Branches:
  refs/heads/master dc66b4fa5 -> 8da5ba8f4


Move classifier above scope to follow conventions


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

Branch: refs/heads/master
Commit: 8da5ba8f4c00594af497f82b616487761081f559
Parents: dc66b4f
Author: Peter Donald <pe...@realityforge.org>
Authored: Thu Mar 22 15:20:11 2018 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Thu Mar 22 15:20:11 2018 +1100

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


http://git-wip-us.apache.org/repos/asf/buildr/blob/8da5ba8f/lib/buildr/java/custom_pom.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/java/custom_pom.rb b/lib/buildr/java/custom_pom.rb
index cfc39db..32c0c38 100644
--- a/lib/buildr/java/custom_pom.rb
+++ b/lib/buildr/java/custom_pom.rb
@@ -233,8 +233,8 @@ module Buildr
                 xml.groupId dependency[:group]
                 xml.artifactId dependency[:id]
                 xml.version dependency[:version]
-                xml.scope dependency[:scope] unless dependency[:scope] == 
'compile'
                 xml.classifier dependency[:classifier] unless 
dependency[:classifier] == 'jar'
+                xml.scope dependency[:scope] unless dependency[:scope] == 
'compile'
                 xml.optional true if dependency[:optional]
                 xml.exclusions do
                   xml.exclusion do

Reply via email to