ruby-maven 0.8.pre-java → 0.8.3.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/bin/jetty-run +1 -1
  2. data/bin/rmvn +44 -18
  3. data/boot/plexus-classworlds-2.4.jar +0 -0
  4. data/conf/settings.xml +1 -1
  5. data/ext/pmaven-jruby-0.8-SNAPSHOT.jar +0 -0
  6. data/ext/ruby-tools-0.25.0.jar +0 -0
  7. data/lib/aether-api-1.9.jar +0 -0
  8. data/lib/aether-connector-wagon-1.9.jar +0 -0
  9. data/lib/aether-impl-1.9.jar +0 -0
  10. data/lib/aether-spi-1.9.jar +0 -0
  11. data/lib/aether-util-1.9.jar +0 -0
  12. data/lib/maven-aether-provider-3.0.2.jar +0 -0
  13. data/lib/{maven-artifact-3.0.jar → maven-artifact-3.0.2.jar} +0 -0
  14. data/lib/{maven-compat-3.0.jar → maven-compat-3.0.2.jar} +0 -0
  15. data/lib/{maven-core-3.0.jar → maven-core-3.0.2.jar} +0 -0
  16. data/lib/maven-embedder-3.0.2.jar +0 -0
  17. data/lib/{maven-model-3.0.jar → maven-model-3.0.2.jar} +0 -0
  18. data/lib/{maven-model-builder-3.0.jar → maven-model-builder-3.0.2.jar} +0 -0
  19. data/lib/{maven-plugin-api-3.0.jar → maven-plugin-api-3.0.2.jar} +0 -0
  20. data/lib/{maven-repository-metadata-3.0.jar → maven-repository-metadata-3.0.2.jar} +0 -0
  21. data/lib/{maven-settings-3.0.jar → maven-settings-3.0.2.jar} +0 -0
  22. data/lib/{maven-settings-builder-3.0.jar → maven-settings-builder-3.0.2.jar} +0 -0
  23. data/lib/pmaven-cli-0.8-SNAPSHOT.jar +0 -0
  24. data/lib/pmaven-common-0.8-SNAPSHOT.jar +0 -0
  25. data/lib/sisu-guice-2.9.1-noaop.jar +0 -0
  26. data/lib/sisu-inject-bean-1.4.3.1.jar +0 -0
  27. data/lib/{sisu-inject-plexus-1.4.2.jar → sisu-inject-plexus-1.4.3.1.jar} +0 -0
  28. data/lib/{wagon-file-1.0-beta-6.jar → wagon-file-1.0-beta-7.jar} +0 -0
  29. data/lib/wagon-http-lightweight-1.0-beta-7.jar +0 -0
  30. data/lib/{wagon-http-shared-1.0-beta-6.jar → wagon-http-shared-1.0-beta-7.jar} +0 -0
  31. data/lib/{wagon-provider-api-1.0-beta-6.jar → wagon-provider-api-1.0-beta-7.jar} +0 -0
  32. metadata +38 -36
  33. data/boot/plexus-classworlds-2.2.3.jar +0 -0
  34. data/ext/ruby-tools-0.3.jar +0 -0
  35. data/lib/aether-api-1.7.jar +0 -0
  36. data/lib/aether-connector-wagon-1.7.jar +0 -0
  37. data/lib/aether-impl-1.7.jar +0 -0
  38. data/lib/aether-spi-1.7.jar +0 -0
  39. data/lib/aether-util-1.7.jar +0 -0
  40. data/lib/maven-aether-provider-3.0.jar +0 -0
  41. data/lib/maven-embedder-3.0.jar +0 -0
  42. data/lib/sisu-guice-2.1.7-noaop.jar +0 -0
  43. data/lib/sisu-inject-bean-1.4.2.jar +0 -0
  44. data/lib/wagon-http-lightweight-1.0-beta-6.jar +0 -0
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env jruby
2
- if ARGV.size > 2 || ARGV[0] == "--help" || ARGV[0] == "-h"
2
+ if ARGV.size > 4 || ARGV[0] == "--help" || ARGV[0] == "-h"
3
3
  puts "usage: #{File.basename($0)} [-e <environment>] [--war [warfile]]"
4
4
  puts "\tdefault environment: development"
5
5
  exit 1
data/bin/rmvn CHANGED
@@ -20,7 +20,16 @@ classpath.split(":").each do |path|
20
20
  end
21
21
 
22
22
  # make the command line for the goals of the jruby-maven-plugins nicer
23
- plugins = {:rake => [:rake], :ruby => [:jruby, :compile], :gem => [:package, :install, :exec, :pom, :initialize], :gemify => [:gemify, :versions], :rails2 => [:new, :generate, :rake, :server, :console], :rails3 => [:new, :generate, :rake, :server, :console, :dbconsole, :pom], :cucumber => [:test], :rspec => [:test]}
23
+ plugins = {
24
+ :rake => [:rake],
25
+ :ruby => [:jruby, :compile],
26
+ :gem => [:package, :install, :exec, :pom, :initialize, :irb],
27
+ :gemify => [:gemify, :versions],
28
+ :rails2 => [:new, :generate, :rake, :server, :console],
29
+ :rails3 => [:new, :generate, :rake, :server, :console, :dbconsole, :pom],
30
+ :cucumber => [:test],
31
+ :rspec => [:test]
32
+ }
24
33
  aliases = {:jruby => :ruby, :spec => :rspec, :rails => :rails3}
25
34
 
26
35
  if ARGV.size > 0
@@ -38,28 +47,45 @@ if ARGV.size > 0
38
47
  else
39
48
  goal = plugins[name][0]
40
49
  end
41
- line = (ARGV[start, 1000] || []).join(' ')
42
- args = ["de.saumya.mojo:#{ARGV[0]}-maven-plugin:#{goal}"]
43
- args << "-Dargs=\"#{line}\"" if line.size > 0
44
- ARGV.replace(args)
45
- elsif name == :"--help"
46
- ARGV.replace([name.to_s])
47
- plugins.each do |name, goals|
48
- print "plugin #{name}"
49
- print " - alias: #{aliases[name]}" if aliases[name]
50
- puts
51
- if goals.size > 1
52
- print "\tgoals : #{goals.join(',')}"
53
- puts
50
+ args = if index = ARGV.index("--")
51
+ ARGV[index + 1, 1000]
52
+ else
53
+ []
54
+ end
55
+ ruby_args = (ARGV[start, (index || 1000) - start] || []).join(' ')
56
+ version = ARGV.detect do |a|
57
+ if a =~ /^-Dplugin.version=/
58
+ a.sub(/^-Dplugin.version=/, '')
54
59
  end
55
- print "\tdefault goal: #{goals[0]}"
56
- puts
60
+ end
61
+ args << "de.saumya.mojo:#{name}-maven-plugin:#{version ? (version + ':'): ''}#{goal}"
62
+ args << "-Dargs=#{ruby_args}" if ruby_args.size > 0
63
+ ARGV.replace(args)
64
+ else
65
+ ARGV.delete("--")
66
+ end
67
+ end
68
+ if ARGV.size == 0 || ARGV[0] == "--help"
69
+ puts "usage: rmvn [<plugin name>|<plugin alias> [<args>] [-- <maven options>] | [<maven goal>|<maven phase> <maven options>] | --help"
70
+ ARGV.replace(["--help"])
71
+ plugins.each do |name, goals|
72
+ puts
73
+ print "plugin #{name}"
74
+ print " - alias: #{aliases[name]}" if aliases[name]
75
+ puts
76
+ if goals.size > 1
77
+ print "\tgoals : #{goals.join(',')}"
57
78
  puts
58
79
  end
80
+ print "\tdefault goal: #{goals[0]}"
81
+ puts
59
82
  end
83
+ puts
60
84
  end
61
85
 
62
86
  print "maven commandline: "
63
- puts ARGV.join ' '
87
+ args = ARGV.dup
88
+ ARGV.clear # clean up in case another script gets executed with clean ARGV
89
+ puts args.join ' '
64
90
 
65
- org.codehaus.plexus.classworlds.launcher.Launcher.main(ARGV)
91
+ org.codehaus.plexus.classworlds.launcher.Launcher.main(args)
@@ -43,7 +43,7 @@ under the License.
43
43
  | values (values used when the setting is not specified) are provided.
44
44
  |
45
45
  |-->
46
- <settings xmlns="http://maven.apache.org/settings/1.0.0"
46
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
47
47
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
48
48
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
49
49
  <!-- localRepository
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,12 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-maven
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ prerelease: false
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - pre
9
- version: 0.8.pre
8
+ - 3
9
+ - 0
10
+ - 2
11
+ version: 0.8.3.0.2
10
12
  platform: java
11
13
  authors:
12
14
  - mkristian
@@ -14,7 +16,7 @@ autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2010-10-14 00:00:00 +05:30
19
+ date: 2011-03-14 00:00:00 +05:30
18
20
  default_executable:
19
21
  dependencies: []
20
22
 
@@ -32,47 +34,47 @@ extra_rdoc_files:
32
34
  - README.txt
33
35
  files:
34
36
  - README.txt
35
- - LICENSE.txt
36
37
  - NOTICE.txt
38
+ - LICENSE.txt
37
39
  - bin/jetty-run
38
40
  - bin/rmvn
39
41
  - bin/m2.conf
40
- - boot/plexus-classworlds-2.2.3.jar
42
+ - boot/plexus-classworlds-2.4.jar
41
43
  - conf/settings.xml
44
+ - lib/maven-repository-metadata-3.0.2.jar
45
+ - lib/maven-aether-provider-3.0.2.jar
46
+ - lib/pmaven-common-0.8-SNAPSHOT.jar
47
+ - lib/maven-compat-3.0.2.jar
48
+ - lib/plexus-sec-dispatcher-1.3.jar
49
+ - lib/aether-connector-wagon-1.9.jar
50
+ - lib/maven-settings-3.0.2.jar
42
51
  - lib/plexus-cipher-1.4.jar
43
- - lib/maven-repository-metadata-3.0.jar
44
- - lib/maven-embedder-3.0.jar
45
- - lib/wagon-http-lightweight-1.0-beta-6.jar
46
- - lib/maven-settings-3.0.jar
47
- - lib/sisu-inject-plexus-1.4.2.jar
48
- - lib/sisu-inject-bean-1.4.2.jar
49
- - lib/aether-api-1.7.jar
50
- - lib/pmaven-cli-0.8-SNAPSHOT.jar
51
- - lib/maven-compat-3.0.jar
52
- - lib/plexus-utils-2.0.4.jar
53
- - lib/maven-plugin-api-3.0.jar
54
- - lib/aether-util-1.7.jar
55
- - lib/maven-aether-provider-3.0.jar
56
- - lib/aether-connector-wagon-1.7.jar
52
+ - lib/wagon-file-1.0-beta-7.jar
53
+ - lib/aether-util-1.9.jar
54
+ - lib/aether-impl-1.9.jar
57
55
  - lib/nekohtml-1.9.6.2.jar
58
- - lib/pmaven-common-0.8-SNAPSHOT.jar
59
- - lib/wagon-provider-api-1.0-beta-6.jar
56
+ - lib/wagon-http-lightweight-1.0-beta-7.jar
57
+ - lib/maven-settings-builder-3.0.2.jar
58
+ - lib/maven-model-3.0.2.jar
59
+ - lib/pmaven-cli-0.8-SNAPSHOT.jar
60
+ - lib/maven-core-3.0.2.jar
61
+ - lib/maven-embedder-3.0.2.jar
62
+ - lib/aether-spi-1.9.jar
63
+ - lib/maven-model-builder-3.0.2.jar
64
+ - lib/sisu-guice-2.9.1-noaop.jar
65
+ - lib/maven-artifact-3.0.2.jar
66
+ - lib/commons-cli-1.2.jar
67
+ - lib/wagon-http-shared-1.0-beta-7.jar
60
68
  - lib/plexus-component-annotations-1.5.5.jar
61
- - lib/plexus-interpolation-1.14.jar
69
+ - lib/sisu-inject-bean-1.4.3.1.jar
70
+ - lib/sisu-inject-plexus-1.4.3.1.jar
71
+ - lib/maven-plugin-api-3.0.2.jar
72
+ - lib/wagon-provider-api-1.0-beta-7.jar
62
73
  - lib/xercesMinimal-1.9.6.2.jar
63
- - lib/maven-artifact-3.0.jar
64
- - lib/wagon-file-1.0-beta-6.jar
65
- - lib/maven-core-3.0.jar
66
- - lib/wagon-http-shared-1.0-beta-6.jar
67
- - lib/commons-cli-1.2.jar
68
- - lib/aether-impl-1.7.jar
69
- - lib/sisu-guice-2.1.7-noaop.jar
70
- - lib/maven-model-builder-3.0.jar
71
- - lib/maven-model-3.0.jar
72
- - lib/plexus-sec-dispatcher-1.3.jar
73
- - lib/maven-settings-builder-3.0.jar
74
- - lib/aether-spi-1.7.jar
75
- - ext/ruby-tools-0.3.jar
74
+ - lib/plexus-interpolation-1.14.jar
75
+ - lib/aether-api-1.9.jar
76
+ - lib/plexus-utils-2.0.4.jar
77
+ - ext/ruby-tools-0.25.0.jar
76
78
  - ext/pmaven-jruby-0.8-SNAPSHOT.jar
77
79
  has_rdoc: true
78
80
  homepage: http://github.com/sonatype/polyglot-maven
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file