lib/jbundler/executable_pom.rb in jbundler-0.5.4 vs lib/jbundler/executable_pom.rb in jbundler-0.5.5

- old
+ new

@@ -24,11 +24,11 @@ jfile.locked.each do |dep| artifact( dep ) end -build.final_name = model.artifact_id + build.directory = jworkdir resource do directory jworkdir includes [ BOOTSTRAP ] end @@ -47,10 +47,11 @@ target_path jruby_home( 'specifications' ) end end properties( 'maven.test.skip' => true, + 'tesla.dump.pom' => 'pom.xml', 'project.build.sourceEncoding' => 'utf-8' ) jfile.populate_unlocked do |dsl| # setup jruby version @@ -102,9 +103,10 @@ end end end plugin( :shade, '2.1', + :outputFile => "${user.dir}/#{File.basename( File.expand_path( '.' ) )}_exec.jar", :transformers => [ { '@implementation' => 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer', :mainClass => 'org.jruby.JarBootstrapMain' } ] ) do execute_goals( 'shade', :phase => 'package' ) end