Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Java Depedency Resolver for Buildr
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/buildr
spec
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.rdoc
Rakefile
VERSION
buildr-resolver.gemspec

README.rdoc

Buildr Resolver

A Java Dependency Resolver for Buildr using Maven's Aether via {github.com/mguymon/naether}[Naether] wrapper

github.com/mguymon/buildr-resolver

Get Started

Install

gem install buildr-resolver

Usage

example buildfile

require 'buildr/resolver' Java.load # must be called before Buildr::Resolver.resolve if using Ruby due to Rjb startup of JVM by Buildr deps = ['org.apache.activemq:activemq-spring:jar:5.4.2'] deps = Buildr::Resolver.resolve( deps ) define 'example' do project.version = '0.1.0' compile.with deps package :jar end The Buildr::Resolver.resolve( deps ) is what take the activemq dependency and resolves all the additional dependencies for it. If you added a puts dep, it would output:

org.apache.activemq:activemq-spring:jar:5.4.2 commons-logging:commons-logging-api:jar:1.1 org.apache.activemq:activemq-core:jar:5.4.2 org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 org.apache.activemq:activeio-core:jar:3.1.2 commons-logging:commons-logging:jar:1.1 log4j:log4j:jar:1.2.12 logkit:logkit:jar:1.0.1 avalon-framework:avalon-framework:jar:4.1.3 javax.servlet:servlet-api:jar:2.3 org.apache.activemq:kahadb:jar:5.4.2 org.apache.activemq.protobuf:activemq-protobuf:jar:1.1 org.osgi:org.osgi.core:jar:4.1.0 org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0.1 org.springframework:spring-context:jar:3.0.3.RELEASE org.springframework:spring-aop:jar:3.0.3.RELEASE aopalliance:aopalliance:jar:1.0 org.springframework:spring-expression:jar:3.0.3.RELEASE org.springframework:spring-asm:jar:3.0.3.RELEASE commons-net:commons-net:jar:2.0 org.jasypt:jasypt:jar:1.6 commons-lang:commons-lang:jar:2.1 commons-codec:commons-codec:jar:1.1 com.ibm.icu:icu4j:jar:4.0.1 org.apache.activemq:activemq-pool:jar:5.4.2 org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1 commons-pool:commons-pool:jar:1.5.4 org.springframework:spring-beans:jar:3.0.3.RELEASE org.springframework:spring-core:jar:3.0.3.RELEASE org.springframework:spring-test:jar:3.0.3.RELEASE org.springframework.osgi:spring-osgi-core:jar:1.2.1 org.springframework.osgi:spring-osgi-io:jar:1.2.1

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.