Skip to content

Instantly share code, notes, and snippets.

@jvanzyl
Created August 3, 2012 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvanzyl/3244352 to your computer and use it in GitHub Desktop.
Save jvanzyl/3244352 to your computer and use it in GitHub Desktop.
# Example POM in Ruby
# Author: m.kristian
repositories [ "http://repository.codehaus.org",
"http://maven.org/central",
"http://repo1.maven.org/maven2" ]
project "Google Guice", "http://code.google.com/p/google-guice" do
id 'com.google.inject:guice:2.0-SNAPSHOT'
srcs :src => "src", :test => "test"
jar 'junit:junit:3.8.1', :scope => :test
jar 'junit:junit:4.0', :scope => :test
jar 'kunit:org.kunit:SNAPSHOT-1.0b:jdk15', :exclusions => ['junit:junit']
scm do
url "url:git:git@github.com:mikebrock/mvel.git",
connection "con:git:git@github.com:mikebrock/mvel.git",
developerConnection "dev:git:git@github.com:mikebrock/mvel.git"
end
end
plugin 'maven-compiler-plugin:2.0.1',
:source => '1.5',
:target => '1.5',
:encoding => 'UTF-8'
plugin 'maven-surefire-plugin:2.0.1',
:childDelegation => true
:properties => { 'mvel.disable.jit' => true,
'file.encoding' => "UTF-8" }
:includes => [ "**/*Test.java",
"**/*Tests.java" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment