dependencies

TeamCity show changes from snapshot dependencies

江枫思渺然 提交于 2019-12-13 01:28:34
问题 I have a TeamCity build (A) that does only checkout and msbuild steps and provides it's binaries as output to three other builds. Build B is quick running tests, that take about 5 minutes, B uses A output through snapshot/artifactory dependencies. Output from A is also used in two other build task which are long running tests and installer creation. For now, when some tests in B fail, I don't see changes made to A from withing test job B (or c or D) which caused that fail. Is possible to

IntelliJ can't find classes in same package when compiling

牧云@^-^@ 提交于 2019-12-13 00:53:21
问题 As an extension to my previous question (IntelliJ can't find depencency when compiling, but can in editor.) which got solved, I now have a new issue which has sprung up. Within the same packages, references to other classes are showing up with errors: As you can see in the picture, there is happening at the line involving the BifCreatorController , even though that class is in the same package as the BifCreatorView . Just like my previous question, I am failing to understand why IntellJ is

ignore maven dependency during specific execution phase

安稳与你 提交于 2019-12-13 00:28:02
问题 I have a (custom) embedded jetty launcher which I had been using to develop/test my web application (before moving to maven). I am able to trick m2eclipse into putting the maven managed dependencies to libraries for the war file onto the launcher classpath (when run from eclipse). I did this by creating two dependencies for the same artifact: one of the type "war" and one the type "jar" ("jar" dependence tricks m2eclipse into doing what I want). However the maven-assembly-plugin for the

How do to manage Dependencies between different maven projects, globally?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 23:30:43
问题 I have X maven project which has dependencies on Y maven project. If I make changes in Y project and build it, how to start X's build also without any manual intervention? 回答1: I hope you mind you want to keep your X project up-to-date; so when you launch a new build of your Y project then the X project start a new compilation and takes the latest version of Y artifact. If so, the best way is to relay all these operations on a continuous integration strategy. In your case, for instance, you

Get name of missing dependencies at runtime - The specified module could not be found

萝らか妹 提交于 2019-12-12 22:50:29
问题 The following code is part of a plugin system I'm developing. Basically it loads a DLL and, if fails, shows an error message. HMODULE loadPlugin(LPTSTR path) { const auto module = LoadLibraryEx(path, NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS); if (module != nullptr) return module; LPTSTR errorText = nullptr; FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, GetLastError(), 0, (LPTSTR)&errorText, 0, NULL); if (errorText != nullptr) {

Is it possible to deploy artifacts from local folder in Sonatype Nexus Repository Manager 3.x

妖精的绣舞 提交于 2019-12-12 22:31:38
问题 I use Sonatype Nexus Repository Manager 3.5.2 and want to add artifacts to nexus blob store from local folder ( where nexus is lockated ). I couldn't find solution in Nexus documentation and tryed to find in the Net - unsuccessfully . Is it possible and how to do this ( maybe Nexus has some plugin )? thx for any help ..... Update: I have found a solution -> see Answers. 回答1: I have found a temporary solution (I checked Nexus documentation and did not found paragraph about it) => I have shared

Dependency javax.mail:mail:1.4 not found

馋奶兔 提交于 2019-12-12 20:00:55
问题 After I imported a maven project in IntelliJ IDEA, there are two errors in the pom.xml file: "Failed to read artifact descriptor for javax.mail:mail:jar:1.4" "Dependency javax.mail:mail:1.4 not found" Does anyone know the reason behind these errors and how can I fix them? Thank you and have a great day! 回答1: Due to license restrictions the older java mail classes are not in maven central or the java.net repository. usually companies host their own maven proxy and add these classes there.

Android dependency com.google.firebase:firebase-core different version for the compile (12.0.1) and runtime (11.4.2)

妖精的绣舞 提交于 2019-12-12 19:41:14
问题 this is my Project Gradle dependencies classpath 'com.android.tools.build:gradle:3.1.0' classpath 'com.google.gms:google-services:3.0.0' classpath "io.realm:realm-gradle-plugin:4.2.0" classpath 'com.google.firebase:firebase-plugins:1.1.1' this is my App Gradle dependencies implementation 'com.google.android.gms:play-services-ads:11.4.2' implementation 'com.google.firebase:firebase-core:11.4.2' implementation 'com.google.android.gms:play-services-base:11.4.2' implementation 'com.google

Conflicting UNMET Dependency hell angular@2 / rxjs zone.js

核能气质少年 提交于 2019-12-12 19:34:54
问题 I believe I have successfully resolved this kind of issue beforehand, more or less following the approach outlined in this popular question: https://stackoverflow.com/a/35738361/108350 If you skip to the bottom the reported errors indicate the rxjs@ 5.0.0-beta.12 zone.js@^ 0.6.21 By this stage (as shown below from my bash session) both of these modules are installed first . node $ sudo npm -g --save install zone.js@^0.6.21 /usr/lib └── zone.js@0.6.25 node $ sudo npm -g --save install rxjs@5.0

Multiple versions of same JS library with Bower and django-pipeline

半城伤御伤魂 提交于 2019-12-12 19:29:53
问题 Two of the libraries I use in my single page application are moment and backgrid-moment-cell. I use bower to manage my front-end libraries and django-pipeline for asset packaging. I'd like to use version 2.8.1 of moment, but backgrid-moment-cell requires version ~2.5.0. How can I get both version into my project? 回答1: Front-end development should use a single dependency because you want to minimize the amount of code your users need to download. Bower helps you to manage this, which is a