Debian Codegraph @

pmaven-gem/src/main/gemspec/maven.gemspec

raw
1 # -*- encoding: utf-8 -*-
2
3 Gem::Specification.new do |s|
4 s.name = %q{ruby-maven}
5 s.version = "#{File.basename(File.expand_path('..')).sub(/-SNAPSHOT/, '').sub(/[a-zA-Z-]+-/, '').gsub(/-/, '.')}"
6 s.platform = 'java'
7 s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8 s.authors = ["mkristian"]
9 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 can run jetty as development server. this gem is a stripped polyglot-maven which includes only the jruby part. the executable runs only with jruby.}
10 s.email = ["[email protected]"]
11 s.extra_rdoc_files = ["NOTICE.txt", "LICENSE.txt", "README.txt"]
12 s.files = Dir.glob("*.txt") +
13 Dir.glob("bin/jetty-run") +
14 Dir.glob("bin/rmvn") +
15 Dir.glob("bin/m2.conf") +
16 Dir.glob("boot/*") +
17 Dir.glob("conf/*") +
18 Dir.glob("lib/*")
19 ext = Dir.glob("ext/*ruby*")
20 ext.delete(ext.detect{ |f| f =~ /jruby-complete/ })
21 s.files += ext
22 s.bindir = "bin"
23 s.executables = ['rmvn', 'jetty-run']
24 s.homepage = %q{http://github.com/sonatype/polyglot-maven}
25 s.rdoc_options = ["--main", "README.txt"]
26 s.require_paths = ['none']
27 s.rubygems_version = %q{1.3.5}
28 s.summary = %q{maven support for rubygems}
29
30 end
31