multi-module

Maven Assembly Submodules Multimodules

人盡茶涼 提交于 2019-12-11 02:27:55
问题 Hi I need to assembly jars from multimodule project in master directory. Let us have a structure like this: MASTER(pom) | +-A3(pom) | +-A1(jar) | +-A2(jar) +-B3(pom) +-B1(jar) +-B2(jar) What I want to achieve is to assembly all jar packaged modules in MASTER. jars/ +- A1.jar +- A2.jar +- B1.jar +- B2.jar For now I achieved only good resolution on submodules (A3 and B3) by creating pom.xml like: <modules> <module>../A1</module> <module>../A2</module> </modules> <build> <plugins> <plugin>

Multi-Module Gradle project - Migrate from Spring-Boot 1.5 to 2.1

南笙酒味 提交于 2019-12-10 23:54:31
问题 I would like to migrate a multimodule spring-boot 1.5 project to spring-boot 2.1. It is a gradle project (4.9), but somehow I dont get it solved. With spring-boot 1.5.9 the application compiles fine and modules which are depending on other modules can also resolve the classes. With upgrading to spring-boot 2.0 or 2.1 I am not able to get the one module resolving the classes of the other module. In my project, the project api depends on library. Again, this build.gradle works fine for me with

Android Multi Module Project With TestCoverageEnabled Throws Data Binding Errors

守給你的承諾、 提交于 2019-12-10 20:42:51
问题 I have a multi module project which is structured something like this. Here is the code to play around with this error: https://github.com/ajitsing/MultiModuleAndroid Root |- App Module (Application, Data binding enabled) |- Lib Module (Library, Data binding enabled) Main module depends on the Lib module. Lib module contains all the android tests. When I run the androidTests of just lib module with testCoverageEnabled it throws some weird data binding error. All these error are for custom

Could not find method android() in root of multimodule project

ぐ巨炮叔叔 提交于 2019-12-10 11:54:58
问题 When trying to add parallel build for set of Android projects For root build.gradle I added from template subprojects { android{ //{ for classic Android Eclipse project sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] resources.srcDirs = ['src'] aidl.srcDirs = ['src'] renderscript.srcDirs = ['src'] res.srcDirs = ['res'] assets.srcDirs = ['assets'] } // Move the tests to tests/java, tests/res, etc... androidTest.setRoot('tests') // Move the build types to build

How to deploy multi-module maven spring boot application on OpenShift

Deadly 提交于 2019-12-10 10:34:29
问题 I have a multi-module spring-boot project that I want to deploy on Openshift, where I have installed Jenkins as well. Source code is hosted in Github. Each module consists in a war, in order to have a microservices structure: <modules> <module>xyz-common</module> <module>xyz-data-services</module> <!--a REST service to interact with mongodb--> <module>xyz-batch-importer</module> <!--a service to import files into Mongo--> <module>xyz-frontend</module> </modules> I found tutorial to deploy

When should we use multi-module structure (instead simple structure) in php Phalcon

﹥>﹥吖頭↗ 提交于 2019-12-09 13:38:03
问题 When should we use multi-module structure (instead simple structure) in php Phalcon? I have found some multi-module skeleton, such as: https://github.com/ovr/phalcon-module-skeleton, https://github.com/phalcon/mvc/tree/master/multiple. But I don't know should i use this multi-module structure in a project instead use multi projects. Something i can think about it is: more complex configuration, complex folder structure, my web url be longer (/[module]/[controller]/[action]) and , importantly,

How to activate a Maven Profile for a specific module in a mutli-module project

情到浓时终转凉″ 提交于 2019-12-09 03:34:34
问题 We have a multi-module Maven project consisting of a parent POM and 5 or more modules. Each module can be deployed to a running server as part of the build if we activate our custom "auto-deploy" profile, which is defined explicitly in each module because how/what gets deployed is a little different for each of the modules. When building from the parent POM though, if I activate the "auto-deploy" profile, Maven will end up deploying all modules, which is almost never what we need to do (based

ERROR : error.NonExistentClass Kotlin In multi module Dagger project

可紊 提交于 2019-12-09 02:09:02
问题 I'm using Dagger 2 and Kotlin for Android development. My project is also a multi-module project. My settings.gradle file is like this: include :app include :lib I'm also maintaining the lib module. In the Dagger Files (for example in the component), I try to get the item from other module. For example: @Component interface AppComponent{ fun getPresenter() : Presenter } The Presenter object is defined in lib module. I was working in linux environment and I'm using Android Studio 3 preview

Maven site on multi module project could not resolve dependency

喜欢而已 提交于 2019-12-08 21:25:42
问题 I want to split my continous integration job (Hudson) into two steps. (Because the runtime with build and reporting together takes too long.) In the first job, I build my multi module maven project with "mvn package" successfully. Then I copy my workspace to another location and try to build the project again only with the goal "site" and/or findbugs/checkstyle/pmd to create reports. But this doesn't work! Maven can't resolve a dependency of my submodules. (But all JARs are available in its

Scala Play 2.0. Compilation error: IO error while decoding

拟墨画扇 提交于 2019-12-08 15:53:58
问题 I downloaded multi-module Scala project from GitHub (https://github.com/henrikengstrom/roygbiv), and one of the module is Play 2.0 module. So I can run whole application using SBT's run command on each module, and all works fine. But when I add to Play 2.0 template ( index.scala.html ) non-English characters and press F5 in browser I get compilation error: IO error while decoding C:\Users...\web\target\scala-2.9.1\src_managed\main\views\html\index.template.scala with UTF-8 Please try