dependency-management

Why do I have to specify both 'runtime' and 'compile' for the same dependency?

若如初见. 提交于 2019-12-12 08:21:40
问题 I am depending on a few artifacts that I need to both compile and run my application. According to the Gradle docs, the runtime configuration extends the compile configuration, so surely adding a dependency using runtime implies an implicit compile dependency? At least that was my assumption, but it does not work. When just depending on the artifact using runtime , my project does not compile anymore. I literally have to: compile 'oauth.signpost:signpost-core:1.2.1.2' runtime 'oauth.signpost

How to use Play with custom modules and continuous integration

雨燕双飞 提交于 2019-12-12 07:56:46
问题 How can I set up builds of Play apps and (custom) Play modules in a CI system so that when a module's build is good, the build installs the module artifacts in a local repository and/or deploys them to a remote repository, and the apps use the artifacts in that repository? The solution should also work well for a developer who's working locally. I'm using Jenkins, and running in trouble whatever way I try to do this. Before I elaborate on all the problems I've encountered, I'll wait, because

How can I get a list of my projects dependencies in a flattened form using Gradle?

℡╲_俬逩灬. 提交于 2019-12-12 07:48:50
问题 I know that Gradle has the excellent dependencies task that lists out all dependencies for a project. However, it returns them in a tree listing. I would like to get a list of all my dependencies as they are resolved in just a flat list. Similar to how the Maven dependency plugin list goal behaves. 回答1: Here is a short task that meets that need: task('dependenciesList') << { println "Compile dependencies" def selectedDeps = project.configurations.compile.incoming.resolutionResult

Using an external java library in OSGI bundle

余生颓废 提交于 2019-12-12 02:27:08
问题 I want to use this java library [1]enj-library in my OSGI bundle that will be executed under KURA eclipse platform. I compiled the library as jar and then I created a new plugin project under eclipse "Plug-in from existing JAR archive" then I tried to add it to my bundle, but it did not work: 1.I tried to import the bundle and I verified that the version is correct in both manifest files in the import and the export, but I gopt this error: org.osgi.framework.BundleException: The bundle "org

Jars in lib folder not picked up when deploying play application on Heroku

风流意气都作罢 提交于 2019-12-12 01:36:44
问题 I have built an application based on play framework 2.0.3. I have placed some jars in lib folder (unmanaged dependencies) which are used in my application like suggested in How to put a JAR file in a Play 2 project and use it? All is fine when I run it from my local machine with play run But when this application is deployed to Heroku, these jars are not picked up. I get compilation errors where these jars are used. I even tried adding dependencies.yml with below content require: - play 2.0.3

Dependency (Newtonsoft.JSON) not being loaded when exercised through my COM interface. Dependcy containg different version sub dependency?

守給你的承諾、 提交于 2019-12-12 01:36:13
问题 I have a native client talking to a managed class library via a COM interface. I am using a project (AutoRest - OS project from MSFT), which appears to take a dependency on NetwtonSoft.JSON. I am calling into this AutoRest project (I'm taking a dependency on AutoRest.Core) with a class library wrapper I've written. This class library wrapper defines a COM interface, which is called from a native application. I built a test client for my client library in C# (.NET), which works fine. However,

Grails - attempting to include HTPPBuilder - Linkage error

末鹿安然 提交于 2019-12-11 23:25:42
问题 When I run grails install-dependency , I get this. java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException" What's wrong? I've not used grails dependency management before, and this is rather cryptic. repositories { grailsPlugins() grailsHome() mavenLocal() mavenCentral() } dependencies { runtime 'org.codehaus.groovy.modules.http-builder:http-builder:0.5.0' } 回答1: Looks

Oracle Forms Dependency

我是研究僧i 提交于 2019-12-11 18:51:20
问题 Does anyone know of any tool that could give me a dependency map for an oracle 6i form? If not a tool, then some technique I could use to analyze form dependencies such as other forms called, table or procedure used by a particular form. 回答1: One technique that may be useful is to convert your .fmb files to text files .fmt. You find the option in Oracle Forms Builder under File -> Administration -> Convert. The resulting .fmt file contains a lot of text that may or may not be useful to you.

composer could not resolve dependencies for hwi/oauth-bundle

烂漫一生 提交于 2019-12-11 17:18:04
问题 If I do $ composer require hwi/oauth-bundle I get this: Using version ^0.6.3 for hwi/oauth-bundle ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Restricting packages listed in "symfony/symfony" to "4.2.*" Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for hwi/oauth-bundle ^0.6.3 -> satisfiable by hwi/oauth-bundle[0.6.3]. - hwi/oauth-bundle 0.6.3

How to manage dependencies in Perl ABOVE package level and WITHOUT focussing on CPAN?

那年仲夏 提交于 2019-12-11 15:32:53
问题 This is related to a former question about CPAN::Meta::Spec , which doesn't seem to be designed for what I thought I could use it. My use case I have different Perl apps containing of a lot of packages themself, depending on some home grown system wide utility stuff and of course 3rd party packages. Those apps might provide different features depending on runtime config and depending on those features, dependencies are different. Additionally, if automated tests are available, those might