Mavenfile in maven-tools-1.0.9 vs Mavenfile in maven-tools-1.0.10
- old
+ new
@@ -7,13 +7,32 @@
end
#snapshot_repository :jruby, 'http://ci.jruby.org/snapshots/maven'
# (jruby-1.6.7 produces a lot of yaml errors parsing gemspecs)
-properties( 'jruby.versions' => ['1.7.12', '1.7.19', '9.0.0.0.pre2'].join(','),
- 'jruby.modes' => ['1.9', '2.0','2.1'].join(','),
+properties( 'jruby.versions' => ['1.7.12', '1.7.20', '9.0.0.0.rc1'].join(','),
+ 'jruby.modes' => ['1.9', '2.0', '2.1'].join(','),
# just lock the versions
- 'jruby.version' => '1.7.19',
- 'tesla.dump.pom' => 'pom.xml',
- 'tesla.dump.readonly' => true )
+ 'jruby.version' => '1.7.20',
+ 'push.skip' => true )
+
+
+profile :id => :release do
+ properties 'maven.test.skip' => true, 'invoker.skip' => true, 'push.skip' => false
+
+ distribution_management do
+ repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
+ end
+
+ build do
+ default_goal :deploy
+ end
+
+ plugin :gpg, '1.5' do
+ execute_goal :sign, :id => 'sign artifacts', :phase => :verify
+ end
+ plugin :deploy, '2.8.2' do
+ execute_goal :deploy, :phase => :deploy, :id => 'deploy gem to maven central'
+ end
+end
# vim: syntax=Ruby