maven-tools 1.0.13 → 1.1.0

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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/Mavenfile +13 -12
  3. data/lib/maven/tools/dsl.rb +54 -7
  4. data/lib/maven/tools/dsl/gem_support.rb +4 -4
  5. data/lib/maven/tools/dsl/jarfile.rb +8 -1
  6. data/lib/maven/tools/dsl/jarfile_lock.rb +2 -1
  7. data/lib/maven/tools/dsl/profile_gemspec.rb +4 -0
  8. data/lib/maven/tools/dsl/project_gemspec.rb +1 -0
  9. data/lib/maven/tools/model.rb +7 -0
  10. data/lib/maven/tools/version.rb +1 -1
  11. data/lib/maven/tools/versions.rb +5 -5
  12. data/lib/maven/tools/visitor.rb +4 -1
  13. data/spec/dsl/gemspec_spec/jars_and_poms.xml +2 -1
  14. data/spec/dsl/gemspec_spec/jars_and_poms_include_jars.xml +2 -1
  15. data/spec/dsl/gemspec_spec/maven-tools.xml +2 -1
  16. data/spec/dsl/jarfile_lock_spec/Jarfile.legacy.lock +1 -1
  17. data/spec/dsl/jarfile_lock_spec/Jarfile.lock +3 -3
  18. data/spec/dsl/profile_gemspec_spec/jars_and_poms.xml +11 -3
  19. data/spec/dsl/profile_gemspec_spec/jars_and_poms_include_jars.xml +11 -3
  20. data/spec/dsl/profile_gemspec_spec/maven-tools.xml +11 -3
  21. data/spec/dsl/profile_gemspec_spec/no_gems.xml +11 -3
  22. data/spec/dsl/profile_gemspec_spec/snapshot.xml +11 -3
  23. data/spec/dsl/profile_gemspec_spec/unknown_license.xml +11 -3
  24. data/spec/dsl/project_gemspec_spec/extended.xml +9 -3
  25. data/spec/dsl/project_gemspec_spec/jars_and_poms.xml +9 -3
  26. data/spec/dsl/project_gemspec_spec/jars_and_poms_include_jars.xml +9 -3
  27. data/spec/dsl/project_gemspec_spec/maven-tools.xml +9 -3
  28. data/spec/dsl/project_gemspec_spec/no_gems.xml +9 -3
  29. data/spec/dsl/project_gemspec_spec/profile.xml +9 -3
  30. data/spec/dsl/project_gemspec_spec/snapshot.xml +9 -3
  31. data/spec/dsl/project_gemspec_spec/unknown_license.xml +9 -3
  32. data/spec/gemfile/pom.xml +9 -3
  33. data/spec/gemfile_include_jars/pom.xml +9 -3
  34. data/spec/gemfile_with_access_to_model/pom.xml +9 -3
  35. data/spec/gemfile_with_custom_source/Mavenfile +1 -1
  36. data/spec/gemfile_with_custom_source/pom.xml +9 -3
  37. data/spec/gemfile_with_custom_source_and_custom_jarname/Mavenfile +1 -1
  38. data/spec/gemfile_with_custom_source_and_custom_jarname/pom.xml +9 -3
  39. data/spec/gemfile_with_extras/pom.xml +9 -3
  40. data/spec/gemfile_with_groups/pom.xml +11 -3
  41. data/spec/gemfile_with_groups_and_lockfile/pom.xml +13 -5
  42. data/spec/gemfile_with_jars_lock/pom.xml +11 -3
  43. data/spec/gemfile_with_lock/Gemfile +1 -0
  44. data/spec/gemfile_with_lock/Gemfile.lock +1 -1
  45. data/spec/gemfile_with_lock/pom.xml +13 -7
  46. data/spec/gemfile_with_path/pom.xml +11 -3
  47. data/spec/gemfile_with_platforms/pom.xml +11 -3
  48. data/spec/gemfile_with_source/Gemfile +3 -0
  49. data/spec/gemfile_with_source/Mavenfile +1 -1
  50. data/spec/gemfile_with_source/pom.xml +9 -3
  51. data/spec/gemfile_with_source_and_custom_jarname/Mavenfile +1 -1
  52. data/spec/gemfile_with_source_and_custom_jarname/pom.xml +9 -3
  53. data/spec/gemfile_with_source_and_no_jar/Mavenfile +1 -1
  54. data/spec/gemfile_with_source_and_no_jar/pom.xml +9 -3
  55. data/spec/gemfile_with_test_group/pom.xml +21 -13
  56. data/spec/gemfile_with_two_sources/Gemfile +6 -0
  57. data/spec/gemfile_with_two_sources/Mavenfile +5 -0
  58. data/spec/gemfile_with_two_sources/pom.xml +58 -0
  59. data/spec/gemfile_without_gemspec/pom.xml +11 -3
  60. data/spec/gemspec/pom.xml +9 -3
  61. data/spec/gemspec_in_profile/pom.xml +13 -3
  62. data/spec/gemspec_include_jars/pom.xml +9 -3
  63. data/spec/gemspec_no_rubygems_repo/pom.xml +7 -1
  64. data/spec/gemspec_prerelease/pom.xml +9 -3
  65. data/spec/gemspec_prerelease_snapshot/pom.xml +9 -3
  66. data/spec/gemspec_with_access_to_model/pom.xml +9 -3
  67. data/spec/gemspec_with_custom_source/pom.xml +9 -3
  68. data/spec/gemspec_with_custom_source_and_custom_jarname/pom.xml +9 -3
  69. data/spec/gemspec_with_extras/pom.xml +9 -3
  70. data/spec/gemspec_with_jar_dependencies/pom.xml +9 -3
  71. data/spec/gemspec_with_jars_lock/pom.xml +9 -3
  72. data/spec/gemspec_with_prereleased_dependency/pom.xml +9 -3
  73. data/spec/gemspec_with_prereleased_dependency_and_no_repo/pom.xml +7 -1
  74. data/spec/gemspec_with_source/pom.xml +9 -3
  75. data/spec/gemspec_with_source_and_custom_jarname/pom.xml +9 -3
  76. data/spec/gemspec_with_source_and_no_jar/pom.xml +9 -3
  77. data/spec/mavenfile/Mavenfile +9 -9
  78. data/spec/mavenfile_jrubyJar/pom.xml +2 -2
  79. data/spec/mavenfile_jrubyWar/pom.xml +2 -2
  80. data/spec/pom.xml +3 -1
  81. data/spec/pom_from_jarfile/pom.xml +1 -1
  82. data/spec/pom_maven_alternative_style/pom.rb +3 -1
  83. data/spec/pom_maven_hash_style/pom.rb +3 -1
  84. data/spec/pom_maven_style/pom.rb +3 -1
  85. data/spec/pom_spec.rb +1 -1
  86. data/spec/pom_with_execute/pom.xml +2 -2
  87. metadata +19 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61cf6a20d55270a571d8c5e3926871aea1c567d1
4
- data.tar.gz: 39349a0d5cb27236ada163ca962ea6c00aded50d
3
+ metadata.gz: b742974a17c7cd3cf45392fb776a41f74df4304d
4
+ data.tar.gz: 8b014df2f65e5a2286401d83b0f31929d645efbe
5
5
  SHA512:
6
- metadata.gz: 10b210c1d58d53129f1393f7655d26292bd865ae8e013ce1322def7b12a59ee562568244bd87c664190e94e9a9cdabc65b741c195a33e9a483e121d5796c3f5b
7
- data.tar.gz: 5be5524e68ff18088270ccc6804e9e530851f5a6768b1e756798ae0c06ae7f01e16a2e2f45492c85c43347e81cacb0230b6d70988eb93a3e53cd8c85d46985c7
6
+ metadata.gz: 2e1768b75ab38044d80f763868564eacb509dac8422f3c106824ac1f8322b10c31ee426111e979893a8441bc50ab069584474a17f80074172e31151b15088971
7
+ data.tar.gz: c7c08292545673cd50bfb639c9e96fa037ea77c7b8a5d7aafc5da768277a508ce2198da57832f6f659628b824fd472241db515df10881bb487951c2f764cd2bf
data/Mavenfile CHANGED
@@ -9,30 +9,31 @@ end
9
9
  #snapshot_repository :jruby, 'http://ci.jruby.org/snapshots/maven'
10
10
 
11
11
  # (jruby-1.6.7 produces a lot of yaml errors parsing gemspecs)
12
- properties( 'jruby.versions' => ['1.7.12', '1.7.20', '9.0.0.0.rc1'].join(','),
13
- 'jruby.modes' => ['1.9', '2.0', '2.1'].join(','),
12
+ properties( 'jruby.plugins.version' => '1.1.4',
13
+ 'jruby.versions' => ['1.7.12', '${jruby.version}', '9.0.5.0'].join(','),
14
+ 'jruby.modes' => ['1.9', '2.0', '2.2'].join(','),
14
15
  # just lock the versions
15
- 'jruby.version' => '1.7.20',
16
+ 'jruby.version' => '1.7.24',
16
17
  'push.skip' => true )
17
18
 
18
19
 
19
20
  profile :id => :release do
20
21
  properties 'maven.test.skip' => true, 'invoker.skip' => true, 'push.skip' => false
21
22
 
22
- distribution_management do
23
- repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
24
- end
23
+ # distribution_management do
24
+ # repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
25
+ # end
25
26
 
26
27
  build do
27
28
  default_goal :deploy
28
29
  end
29
30
 
30
- plugin :gpg, '1.5' do
31
- execute_goal :sign, :id => 'sign artifacts', :phase => :verify
32
- end
33
- plugin :deploy, '2.8.2' do
34
- execute_goal :deploy, :phase => :deploy, :id => 'deploy gem to maven central'
35
- end
31
+ # plugin :gpg, '1.5' do
32
+ # execute_goal :sign, :id => 'sign artifacts', :phase => :verify
33
+ # end
34
+ # plugin :deploy, '2.8.2' do
35
+ # execute_goal :deploy, :phase => :deploy, :id => 'deploy gem to maven central'
36
+ # end
36
37
  end
37
38
 
38
39
  # vim: syntax=Ruby
@@ -88,7 +88,19 @@ module Maven
88
88
  end
89
89
 
90
90
  def source(*args)
91
- warn "ignore source #{args}" if !(args[0].to_s =~ /^https?:\/\/rubygems.org/) && args[0] != :rubygems
91
+ url = args[0].to_s
92
+ url = 'https://rubygems.org' if url == :rubygems
93
+ id = url.gsub( /[\/:"<>|?*]/, '_').gsub(/_+/, '_') unless url == 'https://rubygems.org'
94
+
95
+ # we need to add the repo at project level
96
+ if @context == :profile
97
+ current = @current
98
+ @current = @model
99
+ end
100
+
101
+ repository :id => id || 'mavengems', :url => "mavengem:#{url}"
102
+ extension! 'org.torquebox.mojo:mavengem-wagon', '${mavengem.wagon.version}'
103
+ @current = current if current
92
104
  end
93
105
 
94
106
  def ruby( *args )
@@ -129,6 +141,7 @@ module Maven
129
141
  name = ::File.join( basedir, name ) unless ::File.exists?( name )
130
142
  if @context == :project
131
143
  build do
144
+ extension! 'org.torquebox.mojo:mavengem-wagon', '${mavengem.wagon.version}'
132
145
  directory '${basedir}/pkg'
133
146
  end
134
147
  end
@@ -138,7 +151,7 @@ module Maven
138
151
  if File.exists? lockfile
139
152
  pr = profile :gemfile do
140
153
  activation do
141
- file( :missing => name + '.lock' )
154
+ file( :missing => name.sub(/#{basedir}./, '') + '.lock' )
142
155
  end
143
156
 
144
157
  FileUtils.cd( basedir ) do
@@ -186,7 +199,7 @@ module Maven
186
199
  has_bundler = gem?( 'bundler' )
187
200
  profile :gemfile_lock do
188
201
  activation do
189
- file( :exists => name + '.lock' )
202
+ file( :exists => name.sub(/#{basedir}./, '') + '.lock' )
190
203
  end
191
204
  done = add_scoped_hull( locked, pr.dependencies )
192
205
  done += add_scoped_hull( locked, pr.dependencies,
@@ -262,10 +275,9 @@ module Maven
262
275
 
263
276
  unless options[ :only_metadata ]
264
277
 
265
- if ( nil == model.repositories.detect { |r| r.id == 'rubygems-releases' } && options[ :no_rubygems_repo ] != true )
278
+ if ( nil == model.repositories.detect { |r| r.id == 'rubygems-releases' || r.id == 'mavengems' } && options[ :no_rubygems_repo ] != true )
266
279
 
267
- repository( 'rubygems-releases',
268
- 'http://rubygems-proxy.torquebox.org/releases' )
280
+ repository( 'mavengems', 'mavengem:https://rubygems.org' )
269
281
  end
270
282
  @needs_torquebox = true
271
283
 
@@ -670,7 +682,7 @@ module Maven
670
682
  not (@context == :profile and model.properties.key?( 'jruby9.plugins.version' ) )
671
683
  properties( 'jruby9.plugins.version' => VERSIONS[ :jruby9_plugins ] )
672
684
  end
673
- extension 'de.saumya.mojo', 'jruby9-extensions', '${jruby9.plugins.version}'
685
+ extension 'org.torquebox.mojo', 'jruby9-extensions', '${jruby9.plugins.version}'
674
686
  build do
675
687
  directory '${basedir}/pkg'
676
688
  end
@@ -695,9 +707,30 @@ module Maven
695
707
  build_method( __method__, val )
696
708
  end
697
709
 
710
+ def default_goal( val )
711
+ build_method( __method__, val )
712
+ end
713
+
698
714
  def output_directory( val )
699
715
  build_method( __method__, val )
700
716
  end
717
+
718
+ def test_output_directory( val )
719
+ build_method( __method__, val )
720
+ end
721
+
722
+ def source_directory( val )
723
+ build_method( __method__, val )
724
+ end
725
+
726
+ def script_source_directory( val )
727
+ build_method( __method__, val )
728
+ end
729
+
730
+ def test_source_directory( val )
731
+ build_method( __method__, val )
732
+ end
733
+
701
734
  def repository( *args, &block )
702
735
  do_repository( :repository=, *args, &block )
703
736
  end
@@ -803,6 +836,12 @@ module Maven
803
836
  end
804
837
 
805
838
  def extension( *args )
839
+ ext, build = do_extension( *args )
840
+ build.extensions << ext
841
+ ext
842
+ end
843
+
844
+ def do_extension( *args )
806
845
  build = if @context == :build
807
846
  @current
808
847
  else
@@ -811,6 +850,13 @@ module Maven
811
850
  args, options = args_and_options( *args )
812
851
  ext = fill_gav( Extension, args.join( ':' ) )
813
852
  fill_options( ext, options )
853
+ [ ext, build ]
854
+ end
855
+
856
+ def extension!( *args )
857
+ ext, build = do_extension( *args )
858
+ old = build.extensions.detect { |e| e.group_id == ext.group_id && e.artifact_id == ext.artifact_id }
859
+ build.extensions.remove( old ) if old
814
860
  build.extensions << ext
815
861
  ext
816
862
  end
@@ -826,6 +872,7 @@ module Maven
826
872
  if not @current.properties.key?( 'jruby.plugins.version' ) and
827
873
  not (@context == :profile and model.properties.key?( 'jruby.plugins.version' ) )
828
874
  properties( 'jruby.plugins.version' => VERSIONS[ :jruby_plugins ] )
875
+ properties( 'mavengem.wagon.version' => VERSIONS[ :mavengem_wagon ] )
829
876
  end
830
877
  end
831
878
 
@@ -27,6 +27,7 @@ module Maven
27
27
  if not @parent.properties.key?( 'jruby.plugins.version' ) and
28
28
  not project.properties.key?( 'jruby.plugins.version' )
29
29
  @parent.properties( 'jruby.plugins.version' => VERSIONS[ :jruby_plugins ] )
30
+ @parent.properties( 'mavengem.wagon.version' => VERSIONS[ :mavengem_wagon ] )
30
31
  end
31
32
  end
32
33
 
@@ -42,10 +43,9 @@ module Maven
42
43
  name = spec.name
43
44
  end
44
45
 
45
- if ( nil == project.current.repositories.detect { |r| r.id == 'rubygems-releases' } && options[ :no_rubygems_repo ] != true )
46
-
47
- @parent.repository( 'rubygems-releases',
48
- 'http://rubygems-proxy.torquebox.org/releases' )
46
+ if ( nil == project.current.repositories.detect { |r| r.id == 'rubygems-releases' || r.id == 'mavengems' } && options[ :no_rubygems_repo ] != true && ! @parent.instance_variable_get(:@inside_gemfile))
47
+ @parent.repository( 'mavengems',
48
+ 'mavengem:https://rubygems.org' )
49
49
  end
50
50
  @parent.needs_torquebox = true
51
51
 
@@ -54,6 +54,11 @@ module Maven
54
54
  def dependencies
55
55
  @deps
56
56
  end
57
+
58
+ def basedir
59
+ # assume the lock file is inside the project dir
60
+ File.dirname(@lock.file)
61
+ end
57
62
  end
58
63
 
59
64
  def artifacts
@@ -113,7 +118,9 @@ module Maven
113
118
  end
114
119
 
115
120
  def local( path )
116
- a = Artifact.new_local( ::File.expand_path( path ), :jar )
121
+ jar_path = ::File.expand_path( path )
122
+ jar_path.sub!( /#{@parent.basedir}/, '${basedir}' )
123
+ a = Artifact.new_local( jar_path, :jar )
117
124
  add( a )
118
125
  # TODO remove this part
119
126
  artifacts << a
@@ -40,7 +40,8 @@ module Maven
40
40
  end
41
41
  end
42
42
  end
43
-
43
+ attr_reader :file
44
+
44
45
  def dump
45
46
  if @data and not @data.empty?
46
47
  File.write( @file, @data.to_yaml )
@@ -29,6 +29,10 @@ module Maven
29
29
 
30
30
  def process( spec, name, options )
31
31
  setup_gem_support( @parent, options, spec )
32
+ profile = @parent.current
33
+ @parent.instance_variable_set :@current, @parent.model
34
+ @parent.extension! 'org.torquebox.mojo:mavengem-wagon:${mavengem.wagon.version}'
35
+ @parent.instance_variable_set :@current, profile
32
36
  super
33
37
  end
34
38
  end
@@ -60,6 +60,7 @@ module Maven
60
60
  end
61
61
 
62
62
  @parent.packaging 'gem'
63
+ @parent.extension! 'org.torquebox.mojo:mavengem-wagon:${mavengem.wagon.version}'
63
64
  if setup_gem_support( @parent, options, spec )
64
65
  @parent.extension 'de.saumya.mojo:gem-with-jar-extension:${jruby.plugins.version}'
65
66
  else
@@ -1,5 +1,12 @@
1
1
  require 'virtus'
2
2
 
3
+ # keep things in line with java collections
4
+ class Array
5
+ def remove( *args )
6
+ delete( *args )
7
+ end
8
+ end
9
+
3
10
  module Maven
4
11
  module Tools
5
12
  Base = Virtus.model
@@ -20,6 +20,6 @@
20
20
  #
21
21
  module Maven
22
22
  module Tools
23
- VERSION = '1.0.13'.freeze
23
+ VERSION = '1.1.0'.freeze
24
24
  end
25
25
  end
@@ -24,12 +24,12 @@ module Maven
24
24
  VERSIONS = {
25
25
  :jar_plugin => "2.4",
26
26
  :clean_plugin => "2.4",
27
- :jruby_plugins => "1.1.2",
28
- :jruby9_plugins => "0.2.2",
27
+ :jruby_plugins => "1.1.4",
28
+ :jruby9_plugins => "0.3.0",
29
29
  :bundler_version => "1.10.6",
30
- :jruby_version => "1.7.22",
31
- :tesla_version => "0.1.1",
32
- :polyglot_version => "0.1.18"
30
+ :jruby_version => "1.7.24",
31
+ :polyglot_version => "0.1.15",
32
+ :mavengem_wagon => "0.2.0"
33
33
  }.freeze
34
34
  end
35
35
  end
@@ -127,6 +127,9 @@ module Maven
127
127
  attr = hash.select do |k, v|
128
128
  [ k, v ] if k.to_s.match( /^@/ )
129
129
  end
130
+ # workaround error with :configuration => :gems => { ... }
131
+ method = name == :gems ? :raw_tag : :tag
132
+
130
133
  start_tag( name, attr )
131
134
  hash.each do |k, v|
132
135
  case v
@@ -135,7 +138,7 @@ module Maven
135
138
  when Hash
136
139
  accept_hash( k, v )
137
140
  else
138
- tag( k, v ) unless k.to_s.match( /^@/ )
141
+ send( method, k, v ) unless k.to_s.match( /^@/ )
139
142
  end
140
143
  end
141
144
  end_tag( name )
@@ -5,7 +5,8 @@
5
5
  <version>0.0.0</version>
6
6
  <name>gemspec_spec</name>
7
7
  <properties>
8
- <jruby.plugins.version>1.1.2</jruby.plugins.version>
8
+ <jruby.plugins.version>1.1.4</jruby.plugins.version>
9
+ <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
9
10
  </properties>
10
11
  <dependencies>
11
12
  <dependency>
@@ -5,7 +5,8 @@
5
5
  <version>0.0.0</version>
6
6
  <name>gemspec_spec</name>
7
7
  <properties>
8
- <jruby.plugins.version>1.1.2</jruby.plugins.version>
8
+ <jruby.plugins.version>1.1.4</jruby.plugins.version>
9
+ <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
9
10
  </properties>
10
11
  <dependencies>
11
12
  <dependency>
@@ -5,7 +5,8 @@
5
5
  <version>0.0.0</version>
6
6
  <name>BASEDIR</name>
7
7
  <properties>
8
- <jruby.plugins.version>1.1.2</jruby.plugins.version>
8
+ <jruby.plugins.version>1.1.4</jruby.plugins.version>
9
+ <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
9
10
  </properties>
10
11
  <dependencies>
11
12
  <dependency>
@@ -1,6 +1,6 @@
1
1
  org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a
2
2
  com.google.guava:guava:jar:10.0.1
3
- commons-logging:commons-logging:jar:1.1.2
3
+ commons-logging:commons-logging:jar:1.1.4
4
4
  org.eclipse.aether:aether-connector-wagon:jar:0.9.0.M2
5
5
  org.eclipse.aether:aether-impl:jar:0.9.0.M2
6
6
  com.ning:async-http-client:jar:1.7.6
@@ -2,7 +2,7 @@
2
2
  :jruby:
3
3
  - joda-time:joda-time:jar:2.3
4
4
  - com.martiansoftware:nailgun-server:jar:0.9.1
5
- - com.github.jnr:jnr-netdb:jar:1.1.2
5
+ - com.github.jnr:jnr-netdb:jar:1.1.4
6
6
  - com.headius:invokebinder:jar:1.2
7
7
  - org.jruby.joni:joni:jar:2.1.1
8
8
  - com.github.jnr:jnr-posix:jar:3.0.1
@@ -11,7 +11,7 @@
11
11
  - org.yaml:snakeyaml:jar:1.13
12
12
  - com.github.jnr:jnr-constants:jar:0.8.5
13
13
  - com.github.jnr:jffi:jar:native:1.2.7
14
- - com.jcraft:jzlib:jar:1.1.2
14
+ - com.jcraft:jzlib:jar:1.1.4
15
15
  - com.github.jnr:jnr-enxio:jar:0.4
16
16
  - org.jruby:yecht:jar:1.0
17
17
  - org.jruby:jruby-stdlib:jar:1.7.11
@@ -22,7 +22,7 @@
22
22
  :runtime:
23
23
  - org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a
24
24
  - com.google.guava:guava:jar:10.0.1
25
- - commons-logging:commons-logging:jar:1.1.2
25
+ - commons-logging:commons-logging:jar:1.1.4
26
26
  - org.eclipse.aether:aether-connector-wagon:jar:0.9.0.M2
27
27
  - org.eclipse.aether:aether-impl:jar:0.9.0.M2
28
28
  - com.ning:async-http-client:jar:1.7.6
@@ -6,7 +6,8 @@
6
6
  <name>profile_gemspec_spec</name>
7
7
  <properties>
8
8
  <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
9
- <jruby.plugins.version>1.1.2</jruby.plugins.version>
9
+ <jruby.plugins.version>1.1.4</jruby.plugins.version>
10
+ <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
10
11
  </properties>
11
12
  <dependencies>
12
13
  <dependency>
@@ -35,11 +36,18 @@
35
36
  </dependencies>
36
37
  <repositories>
37
38
  <repository>
38
- <id>rubygems-releases</id>
39
- <url>http://rubygems-proxy.torquebox.org/releases</url>
39
+ <id>mavengems</id>
40
+ <url>mavengem:https://rubygems.org</url>
40
41
  </repository>
41
42
  </repositories>
42
43
  <build>
44
+ <extensions>
45
+ <extension>
46
+ <groupId>org.torquebox.mojo</groupId>
47
+ <artifactId>mavengem-wagon</artifactId>
48
+ <version>${mavengem.wagon.version}</version>
49
+ </extension>
50
+ </extensions>
43
51
  <plugins>
44
52
  <plugin>
45
53
  <groupId>de.saumya.mojo</groupId>
@@ -6,7 +6,8 @@
6
6
  <name>profile_gemspec_spec</name>
7
7
  <properties>
8
8
  <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
9
- <jruby.plugins.version>1.1.2</jruby.plugins.version>
9
+ <jruby.plugins.version>1.1.4</jruby.plugins.version>
10
+ <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
10
11
  </properties>
11
12
  <dependencies>
12
13
  <dependency>
@@ -35,11 +36,18 @@
35
36
  </dependencies>
36
37
  <repositories>
37
38
  <repository>
38
- <id>rubygems-releases</id>
39
- <url>http://rubygems-proxy.torquebox.org/releases</url>
39
+ <id>mavengems</id>
40
+ <url>mavengem:https://rubygems.org</url>
40
41
  </repository>
41
42
  </repositories>
42
43
  <build>
44
+ <extensions>
45
+ <extension>
46
+ <groupId>org.torquebox.mojo</groupId>
47
+ <artifactId>mavengem-wagon</artifactId>
48
+ <version>${mavengem.wagon.version}</version>
49
+ </extension>
50
+ </extensions>
43
51
  <plugins>
44
52
  <plugin>
45
53
  <artifactId>maven-dependency-plugin</artifactId>