-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathruby-maven.gemspec
40 lines (35 loc) · 1.6 KB
/
ruby-maven.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'fileutils'
require File.expand_path('lib/ruby/maven/ruby/version.rb')
Gem::Specification.new do |s|
s.name = %q{ruby-maven}
s.version = Maven::Ruby::VERSION
s.authors = ["Christian Meier"]
s.description = %q{maven support for rubygems based on maven 3.0. it allows to use xyz.gemspec file as pom file or the usual pom.xml files. with a rails3 application with a Gemfile (suitable for jruby). you need java installed or jruby but it will run with MRI (without installed jruby) since the maven will take care of the jruby to use.}
s.email = ["m.kristian@web.de"]
s.extra_rdoc_files = ["NOTICE.txt", "LICENSE.txt", "README.txt", 'MIT-LICENSE']
s.license = 'MIT'
s.files = Dir.glob("*.txt") +
Dir.glob("bin/mvn*") +
Dir.glob("bin/rmvn") +
Dir.glob("bin/m2.conf") +
Dir.glob("boot/*") +
Dir.glob("conf/*") +
Dir.glob("lib/*") +
Dir.glob("lib/ext/*") +
Dir.glob("lib/ruby/ruby_maven.rb") +
Dir.glob("lib/ruby/ruby-maven.rb") +
Dir.glob("lib/ruby/maven/**/*")
s.bindir = "bin"
s.executables = ['rmvn']
s.homepage = %q{http://github.com/mkristian/ruby-maven}
s.rdoc_options = ["--main", "README.md"]
s.require_paths = ['lib/ruby']
s.rubygems_version = %q{1.3.5}
s.summary = %q{maven support for ruby projects with gemspec, Gemfile}
s.add_dependency 'thor', '>= 0.14.6', '< 2.0' # mimic rails
# TODO come back to version semantic in maven-tools
s.add_dependency 'maven-tools', "~> 0.32.3"
s.add_development_dependency 'minitest', '~> 4.3'
s.add_development_dependency 'rake', '~> 10.0.3'
File.chmod(0755, File.join("bin", "mvn")) rescue nil
end