项目发布正式版1.2了,重新修改1.0的SNAPSHOT版本,deploy后,
其它项目里再依赖1.0-SNAPSHOT版本时,更新出错,使用版本1.2-SNAPSHOT不会报错
其它项目里再依赖1.0-SNAPSHOT版本时,更新出错,使用版本1.2-SNAPSHOT不会报错
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.980 s [INFO] Finished at: 2015-09-07T15:19:52+08:00 [INFO] Final Memory: 9M/154M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx.stage:xxx:war:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT: Failure to find com.xxx.q:gome-xxx:pom:1.0-SNAPSHOT in http://maven.xxx.com.cn/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx.stage:xxx:war:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.xxx.stage:xxx:war:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:167) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195) ... 32 more Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:292) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:159) ... 33 more Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.xxx.q:xxx-interfaces:jar:1.0-SNAPSHOT at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:384) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:231) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:461) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:261) ... 35 more Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Failure to find com.xxx.q:gome-xxx:pom:1.0-SNAPSHOT in http://maven.xxx.com.cn/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:170) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:219) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:898) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:750) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:375) ... 38 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.xxx.q:gome-xxx:pom:1.0-SNAPSHOT in http://maven.xxx.com.cn/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:166) ... 43 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.xxx.q:gome-xxx:pom:1.0-SNAPSHOT in http://maven.xxx.com.cn/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232) at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
发表评论
-
charles4.2下载与破解方法以及配置https
2020-02-26 09:03 2有两个抓包工具 一个是fidder,一个是charles,两个 ... -
序列号批量生成算法
2019-12-05 14:11 0业务处理过程当中,经常需要生成订单号、序列号等,简单的可 ... -
使用ANTLR处理文本
2019-08-28 17:32 767引用 使用 Antlr 处理文本 https://www.ib ... -
解决maven-metadata.xml文件下载卡死问题
2019-04-11 14:02 3986http://192.168.1.110:8081/nexus ... -
rsync备份和删除指定文件
2018-01-02 10:23 2051文件异地备份时,需要将本地文件合并到服务器上,且不能删除服务器 ... -
javaLocale格式化日期和数字
2017-08-25 09:26 870public static void main(Strin ... -
centos6 tomcat 启动脚本 tomcat服务
2017-08-23 11:24 1441系统自动启动tomcat 复制该脚本到/etc/init.d/ ... -
win7 命令行改IP和DNS
2016-12-21 18:35 738使用管理员权限运行CMD //改DNS netsh ... -
jenkins中集成sonar,使用findbug、pmd、checkstyle提升代码质量
2016-09-29 14:58 6175实际上jenkins单独也 ... -
jenkins 集成sonar
2016-09-18 10:14 0jenkins集成sonar可以从插件中心直接更新安装 son ... -
activeMQ5.14权限配置
2016-08-17 13:47 2673activeMQ默认的消息队列没有用户名和密码,可以直接通过T ... -
solaris 使用解压版的jdk
2016-07-27 15:17 764solaris上配置jdk其实也很简单 由于solaris有 ... -
solaris tomcat开机启动
2016-07-27 16:17 621创建文件夹/var/svc/manifes ... -
HibernateTemplate Vs HibernateDaoSupport Vs Direct Hibernate Access
2016-07-26 11:07 734http://forum.spring.io/forum/sp ... -
spring mvc mybatis will not be managed by Spring
2016-07-20 17:30 9887项目运行时发现事务提交不完整,回滚时只能回滚一半。 系统配置 ... -
java里判断一点是否在某个区域
2016-06-03 17:47 1845import java.awt.geom.Path2D ... -
12306的技术升级
2016-04-20 16:17 1034升级的核心是余票查询的升级,余票查询使用存储过程,sybase ... -
工作流的123
2016-04-20 12:58 577三分钟了解Activity工作流 工作流一般会给开发人员提供流 ... -
sping mvc 使用@Value注解为controller注入值
2016-04-17 17:39 10836spring mvc 里有两个配置文件, 第一个,为sprin ... -
googleapis.com域名访问慢的解决办法
2016-04-13 12:09 9721、安装火狐 2、安装插件ReplaceGoogleCDN
相关推荐
SNAPSHOT版本表示它是一个不稳定版本,可能每天都在更新。尽管如此,我们可以期待以下潜在的新特性: 1. **新功能引入**:可能会添加新的API或功能,以满足不断发展的需求,比如支持更多的数据库特性和优化SQL执行...
这个版本号表明这是一个开发中的不稳定版本,通常"SNAPSHOT"标识意味着软件开发者正在持续进行更新和改进。 在Android应用开发中,Dalvik Executable (DEX) 文件是应用程序的编译结果,它包含了运行在Android设备上...
接下来是“mtd-snapshot_20050519”。MTD(Memory Technology Device)在Linux系统中用于处理非易失性内存,如闪存。MTD层抽象了各种类型的存储设备,为上层提供统一的接口。"snapshot"可能指的是某个时刻的快照,即...
"SNAPSHOT"通常指的是开发版本,可能存在不稳定因素,而正式版本如“1.7.0”是经过测试和发布的稳定版本。 6. **安装与配置**:GeoServer的安装通常是解压运行,配置主要通过修改`conf`目录下的`geoserver.xml`和`...
SNAPSHOT版本通常用于开发阶段,意味着它可能会有频繁的更新和变动,开发者需要定期同步以获取最新的改动。 要搭建Spring 5.3.10-SNAPSHOT的源码环境,首先你需要安装OpenJDK 1.8.0_302。这通常涉及下载OpenJDK的...
接下来,打开VS2010,创建一个新的解决方案,将源代码添加到项目中。配置编译选项,包括选择适当的平台(如Win32或x64)、构建类型(Debug或Release)以及优化级别。最后,执行编译过程,若无错误,将生成可执行文件...
- 例如,将版本号从`1.4.27-jgt-SNAPSHOT`更新为`1.0.1-SNAPSHOT`。 3. **更新子模块版本**: - 如果项目包含多个子模块,还需要确保这些子模块的版本与Parent POM保持一致。这可以通过更新Parent POM中的`...
2. SNAPSHOT版本不一致:如果未及时更新SNAPSHOT版本并重新部署,线上环境可能还在使用旧的SNAPSHOT包。 3. Maven依赖生命周期为`provided`:这类依赖只在开发和测试阶段提供,但在运行时可能会从其他依赖中加载不同...
接下来,我们将详细探讨这些技术及其在DataX中的应用。 首先,**Greenplum**是一种大规模并行处理(MPP)的数据库系统,广泛应用于大数据分析和商业智能。在DataX中添加Greenplum插件,意味着用户可以方便地将数据...
1. **跟踪更新**:由于是`SNAPSHOT`版本,建议定期检查更新,以获取最新修复和增强。 2. **问题报告**:如果遇到问题,应及时报告给`seam-forge`的开发团队,以便他们了解并解决。 3. **社区支持**:参与Seam社区,...
"Code_Snapshot." 这个标题表明这是一个关于编程代码片段的集合,特别是作者在解决LeetCode问题时记录下来的代码实践。LeetCode是一个在线平台,它提供了各种编程挑战,帮助开发者提高算法技能和解决问题的能力。...
当源数据库的页面第一次被修改时,其原始状态会被复制并存储在快照数据库中,确保了快照内容不受后续更新的影响。这种机制使得快照能够保留自创建以来所有修改前的数据记录,同时允许应用程序继续在源数据库上进行...
确保在更新数据源和视图之间保持同步是至关重要的,否则可能会导致界面不一致。 为了使用户体验更流畅,可能还需要处理一些边界条件,比如防止cell拖出视图范围,或者阻止cell拖放到不允许的位置。此外,如果应用...
假设父模块的版本由`1.0.0-SNAPSHOT`修改为`1.0.1-SNAPSHOT`,那么在子模块的`pom.xml`文件中,需要将`parent`元素的版本号也更新为`1.0.1-SNAPSHOT`。 - 打开任意子模块的`pom.xml`文件。 - 查找`<parent>`标签,...
接下来,你可以添加新的网络源。这里以Debian为例,我们可以选择一个可靠的镜像站点,例如`http://debian.cn99.com/debian/`。将以下行添加到`sources.list`文件中: ```text deb ...
接下来,我们需要获取Android SDK。你可以通过访问Android开发者官网下载SDK Tools。这个工具包包含了构建、测试和调试Android应用所需的组件。安装SDK后,启动SDK Manager,这里你可以选择下载Android 3.1 (API ...
- 接下来,设置视图存储和视图路径。视图存储通常是在服务器上,而视图路径是本地机器上的目录。 - 为视图命名,例如,你可以用“wangna_OA_BL_view”来标识这是一个用于查看OA_CVOB中基线的视图。 - 最后,通过...
接下来,我们需要在WPF项目中创建一个用户界面,以便显示摄像头的视频流。这通常通过创建一个`Image`控件来完成,该控件将作为摄像头图像的显示区域。同时,我们需要设置一个按钮来触发拍照或截图功能。 在代码层面...
接下来,在本地创建一个快照,该快照指向远程数据库中的`dblink_test`表: ```sql CREATE SNAPSHOT sn_test AS SELECT * FROM dblink_test@creditdb; ``` ##### 3. 定期刷新快照 为了保持快照与远程数据的一致性...
PostgreSQL通过一种称为Snapshot Isolation(SSI)的技术来实现这一点,它能够检测到并防止可能导致不一致性的并发模式。在例子中,PostgreSQL通过依赖图检测到了T3对T1的依赖,从而避免了错误的发生。 在分布式...