dependencies 相关问题

如果对一个元素的定义的更改可能导致另一个元素的更改,则两个元素之间存在依赖关系。

如何理解命令“gradle dependency”的输出?

有部分输出: gradle 依赖项的输出 符号('+'、'\'、'->'、'()'、'(*)')到底意味着什么?

回答 1 投票 0

如何通过exec或shell_exec在php脚本中运行composer install?

我正在尝试通过 php exec 或 shell_exec 运行composer update --lock -n $命令=数组( '回显$PWD', '我是谁', 'git 获取', 'git Reset --hard HEAD', ...

回答 1 投票 0

WPF 依赖属性

我正在努力了解 WPF 中的依赖属性,也许是因为我正在寻找的用例非常具体并且没有很好的文档记录。 我拥有的是一个自定义控件,看起来...

回答 1 投票 0

MAVEN:- 无法解决项目的依赖关系

我希望有人面临同样的问题来解决依赖关系。下面提到的 POM.xml 文件 我希望有人面临同样的问题来解决依赖关系。 POM.xml 下面提到的文件 <?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.shopizer</groupId> <artifactId>habbit</artifactId> <version>2.12.0</version> </parent> <artifactId>habbit-core</artifactId> <packaging>jar</packaging> <name>habbit-core</name> <url>http://www.shopizer.com</url> <properties> <coverage.lines>.00</coverage.lines> <coverage.branches>.00</coverage.branches> <google-client-maps-services-version>0.1.6</google-client-maps-services-version> </properties> <dependencies> <!-- jpa, crud repository --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-ehcache --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> </dependency> <!-- sm-core-model --> <dependency> <groupId>com.shopizer</groupId> <artifactId>habbit-core-model</artifactId> </dependency> <!-- sm-core-modules --> <dependency> <groupId>com.shopizer</groupId> <artifactId>habbit-core-modules</artifactId> </dependency> <!-- canadapost --> <dependency> <groupId>com.shopizer</groupId> <artifactId>shopizer-shipping-canadapost-module</artifactId> <version>${shopizer-canadapost.version}</version> </dependency> <!-- Google Map API --> <dependency> <groupId>com.google.maps</groupId> <artifactId>google-maps-services</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-ci</artifactId> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.drools</groupId> <artifactId>drools-decisiontables</artifactId> </dependency> <dependency> <groupId>org.drools</groupId> <artifactId>drools-core</artifactId> </dependency> <dependency> <groupId>org.drools</groupId> <artifactId>drools-compiler</artifactId> </dependency> <!--spring integration --> <dependency> <groupId>org.kie</groupId> <artifactId>kie-spring</artifactId> </dependency> <!-- end rules engine --> <!-- Infinispan --> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-core</artifactId> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-tree</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <!--<version>${commons-collections4.version}</version> --> </dependency> <!-- https://mvnrepository.com/artifact/commons-validator/commons-validator --> <dependency> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> <!--<version>${commons-validator.version}</version> --> <exclusions> <exclusion> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </exclusion> </exclusions> </dependency> <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker --> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3 --> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-ses --> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-ses</artifactId> </dependency> <!-- google cloud storage --> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-storage</artifactId> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> <!-- Payment dependencies --> <!-- Paypal --> <dependency> <groupId>com.paypal.sdk</groupId> <artifactId>merchantsdk</artifactId> </dependency> <!-- Stripe --> <dependency> <groupId>com.stripe</groupId> <artifactId>stripe-java</artifactId> </dependency> <!-- Braintree --> <dependency> <groupId>com.braintreepayments.gateway</groupId> <artifactId>braintree-java</artifactId> </dependency> <!-- Invoices --> <!-- <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> </dependency> <dependency> <groupId>org.jopendocument</groupId> <artifactId>jOpenDocument</artifactId> </dependency> --> <!-- https://mvnrepository.com/artifact/com.maxmind.geoip2/geoip2 --> <dependency> <groupId>com.maxmind.geoip2</groupId> <artifactId>geoip2</artifactId> </dependency> <!-- google cloud storage --> <!-- https://mvnrepository.com/artifact/com.google.guava/guava --> <!-- Up to date for GCP storage issue --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <!-- tests dependencies --> <!-- http://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> </dependency> <!-- H2 DB --> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency> <!-- Elastic search --> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> </dependency> <dependency> <groupId>com.shopizer</groupId> <artifactId>sm-search</artifactId> <exclusions> <exclusion> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> 当我运行命令 mvn clean install 时:- [INFO] Scanning for projects... [INFO] Inspecting build with total of 6 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 6 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] habbit [pom] [INFO] habbit-core-model [jar] [INFO] habbit-core-modules [jar] [INFO] habbit-core [jar] [INFO] habbit-shop-model [jar] [INFO] habbit-shop [jar] [INFO] [INFO] ------------------------< com.shopizer:habbit >------------------------- [INFO] Building habbit 2.12.0 [1/6] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit --- [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h abbit\\target\\jacoco.exec [INFO] [INFO] -------------------< com.shopizer:habbit-core-model >------------------- [INFO] Building habbit-core-model 2.12.0 [2/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit-core-model --- [INFO] Deleting D:\myProject\habbit\habbit-core-model\target [INFO] [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit-core-model --- [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h abbit\\habbit-core-model\\target\\jacoco.exec [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ habbit-core-model --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-model\src\main\resources [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-model\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ habbit-core-model --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 182 source files to D:\myProject\habbit\habbit-core-model\target\classes [INFO] [INFO] ------------------< com.shopizer:habbit-core-modules >------------------ [INFO] Building habbit-core-modules 2.12.0 [3/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit-core-modules --- [INFO] Deleting D:\myProject\habbit\habbit-core-modules\target [INFO] [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit-core-modules --- [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h abbit\\habbit-core-modules\\target\\jacoco.exec [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ habbit-core-modules --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-modules\src\main\resources [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-modules\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ habbit-core-modules --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to D:\myProject\habbit\habbit-core-modules\target\classes [INFO] [INFO] ----------------------< com.shopizer:habbit-core >---------------------- [INFO] Building habbit-core 2.12.0 [4/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for habbit 2.12.0: [INFO] [INFO] habbit ............................................. SUCCESS [ 2.919 s] [INFO] habbit-core-model .................................. SUCCESS [ 14.010 s] [INFO] habbit-core-modules ................................ SUCCESS [ 2.125 s] [INFO] habbit-core ........................................ FAILURE [ 2.078 s] [INFO] habbit-shop-model .................................. SKIPPED [INFO] habbit-shop ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.245 s [INFO] Finished at: 2020-05-22T15:12:57+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project habbit-core: Could not resolve dependencies for project com.shopizer:habbit-core:jar:2.12.0: Failed to collect dependenci es at com.shopizer:shopizer-shipping-canadapost-module:jar:2.11.0 -> com.shopizer:sm-core-model:jar:2.10.0: Failed to read artifact descriptor for com.shopizer:sm- core-model:jar:2.10.0: Failure to find com.shopizer:shopizer:pom:2.10.0 in https://oss.sonatype.org/content/repositories/snapshots/ was cached in the local reposit ory, resolution will not be reattempted until the update interval of oss-sonatype has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :habbit-core 从依赖项中删除 canadapost-module。

回答 1 投票 0

在 Pubspec.lock 文件中,razor_pay flutter 的版本为 1.3.2,而 Pubspec.yaml 中的版本为 1.3.2

在 pubspec.lock 中版本是:“1.3.4”,在 pubspec.yml 中版本是 razorpay_flutter:^1.3.2 我尝试删除锁定文件然后运行 pub get 但它仍然转到 1.3.4 ,我想要我们...

回答 1 投票 0

循环依赖解决方案?

我最近升级到了最新的 Spring,现在遇到了循环依赖问题(我知道默认值现在不再允许循环依赖),但甚至将其设置为 true ...

回答 2 投票 0

裸机微控制器上的 Google Lyra

Google Lyra 提供 3 kbps 语音编码。我想在裸机微控制器上使用它:没有操作系统(尽管 libc 可用)。我找不到任何有关此可行性的信息,或者甚至...

回答 2 投票 0

动态内容/DIV ID 使用 jQuery 检查是否存在

以下代码有问题: // 将滚动触发的动画应用于各种画廊的函数 // 使用特定设置将滚动触发的动画应用于每个图库 常量滚动=...

回答 1 投票 0

在 Clojure/Clojurescript 项目中,在“shadow-cljs.edn”和“deps.edn”文件上声明依赖项是否有意义?

我一直在使用 Clojure、ClojureScript、lein、shadow-cljs、re-frame、reagent、Emacs 和 CIDER 来开发 Clojure/ClojureScript 动态 Web 应用程序项目。 在其中一个私人存储库中,有...

回答 1 投票 0

在 scala 版本 2.13 中替换 scalamock-scalatest-support

同时将scala版本从2.12升级到2.13。 scala 版本 2.13 不支持依赖项“scalamock-scalatest-support”(从此页面检查 https://

回答 1 投票 0

使用 androidx.navigation.safeargs.kotlin 构建失败

我无法将导航组件添加到我的项目中。 我不断收到以下错误: 应用插件请求 [id: 'androidx.navigation.safeargs.kotlin'] 时发生异常 失败...

回答 1 投票 0

Typescript 阻止从项目中的某些目录导入

我想知道是否有一种方法可以防止某个范围内的所有文件从不同的第二个范围导入任何文件。例子: 鉴于此项目结构: 项目/ ├── 节点模块/ ├── 测试...

回答 3 投票 0

NoSuchMethodError:org.glassfish.jersey.internal.LocalizationMessages.WARNING_PROPERTIES()Ljava / lang / String

我在下面收到此错误,我尝试从每个依赖项中排除 Jersey 并同步版本,但仍然收到错误。我已经隔离了我能想到的每一件球衣。可以 FastXML...

回答 1 投票 0

我想在flutter项目中启用“空安全”,我该怎么做?

我必须启用此功能才能添加一些依赖项。我尝试了几种方法,但仍然无法添加我想要添加“video_player”和“showcaseview”依赖的依赖...

回答 1 投票 0

如何在生产环境中部署Python脚本

我正在开发一个 pytho 应用程序,下面是 Flask 控制器,其中暴露了一个端点,并在收到请求后触发另一个脚本。 导入子流程 从烧瓶导入烧瓶,请求,j...

回答 1 投票 0

Flutter - 如何检查 pubspec.yaml 中的包是否正在使用?

我在开发过程中将不同的包导入到 pubspec.yaml 的依赖项部分。目前我没有使用其中一些,但不确定是哪些。有没有简单的方法可以查...

回答 1 投票 0

即使在安装和更新之后,由于gunicorn,诗歌命令也无法运行

我正在尝试运行由我的一位队友开发的程序,但由于没有明显的原因,由于gunicorn,诗歌命令无法工作。 theiago@Theiago:~/kuhlenbier_webapi_tap$ 诗歌锁

回答 1 投票 0

Unity 未找到另一个 DLL 的 DLL 依赖项(均在 Assets 文件夹中)

背景信息(可能相关): 使用 Unity 2017.2,并将“脚本运行时版本”设置为“实验性(.NET 4.6 等效版本)” 在 Visual Studio 2017(不是 MonoDevelop)中编写代码 我有一个...

回答 4 投票 0

如何 Gradle 仅加载当前平台的 JavaCV 二进制文件?

我正在使用 JavaCV 构建一个 Java 桌面应用程序。 当我的应用程序构建时,它是巨大的(1.2GB,几乎是所有未使用的 JavaCV 依赖项)。我正在尝试减少加载的部门,因为......

回答 1 投票 0

如何在具有项目依赖关系的一个解决方案中使用两个不同的包版本

我创建了一个包含三个项目的解决方案。 其中一个项目名为 Controller 并使用 Appium.WebDriver,这需要 Selenium 版本 3.141。 第二个项目名为 Runner 且...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.