`

SNAPSHOT更新不下来

    博客分类:
  • java
 
阅读更多
项目发布正式版1.2了,重新修改1.0的SNAPSHOT版本,deploy后,
其它项目里再依赖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)


分享到:
评论

相关推荐

    mybatis-3.2.8 mybatis-3.3.0-SNAPSHOT.jar

    SNAPSHOT版本表示它是一个不稳定版本,可能每天都在更新。尽管如此,我们可以期待以下潜在的新特性: 1. **新功能引入**:可能会添加新的API或功能,以满足不断发展的需求,比如支持更多的数据库特性和优化SQL执行...

    dex2jar-0.0.7-SNAPSHOT

    这个版本号表明这是一个开发中的不稳定版本,通常"SNAPSHOT"标识意味着软件开发者正在持续进行更新和改进。 在Android应用开发中,Dalvik Executable (DEX) 文件是应用程序的编译结果,它包含了运行在Android设备上...

    zlib mtd-snapshot yaffs2

    接下来是“mtd-snapshot_20050519”。MTD(Memory Technology Device)在Linux系统中用于处理非易失性内存,如闪存。MTD层抽象了各种类型的存储设备,为上层提供统一的接口。"snapshot"可能指的是某个时刻的快照,即...

    geoserver相关包,备份一下免得旧东西不维护下载不到

    "SNAPSHOT"通常指的是开发版本,可能存在不稳定因素,而正式版本如“1.7.0”是经过测试和发布的稳定版本。 6. **安装与配置**:GeoServer的安装通常是解压运行,配置主要通过修改`conf`目录下的`geoserver.xml`和`...

    gradle6.8.3 openJDK1.8.0_302 适合搭建spring5.3.10-SNAPSHOT源码环境

    SNAPSHOT版本通常用于开发阶段,意味着它可能会有频繁的更新和变动,开发者需要定期同步以获取最新的改动。 要搭建Spring 5.3.10-SNAPSHOT的源码环境,首先你需要安装OpenJDK 1.8.0_302。这通常涉及下载OpenJDK的...

    x264-snapshot-20091006-2245-msvc2010版本

    接下来,打开VS2010,创建一个新的解决方案,将源代码添加到项目中。配置编译选项,包括选择适当的平台(如Win32或x64)、构建类型(Debug或Release)以及优化级别。最后,执行编译过程,若无错误,将生成可执行文件...

    maven 工程升级版本步骤

    - 例如,将版本号从`1.4.27-jgt-SNAPSHOT`更新为`1.0.1-SNAPSHOT`。 3. **更新子模块版本**: - 如果项目包含多个子模块,还需要确保这些子模块的版本与Parent POM保持一致。这可以通过更新Parent POM中的`...

    系统稳定性——NoSuchMethodError常见原因及解决方法1

    2. SNAPSHOT版本不一致:如果未及时更新SNAPSHOT版本并重新部署,线上环境可能还在使用旧的SNAPSHOT包。 3. Maven依赖生命周期为`provided`:这类依赖只在开发和测试阶段提供,但在运行时可能会从其他依赖中加载不同...

    Datax 开源修改版,增加 greenplum sqlserver2000 tbase Amazon s3 插件

    接下来,我们将详细探讨这些技术及其在DataX中的应用。 首先,**Greenplum**是一种大规模并行处理(MPP)的数据库系统,广泛应用于大数据分析和商业智能。在DataX中添加Greenplum插件,意味着用户可以方便地将数据...

    seam-forge dist

    1. **跟踪更新**:由于是`SNAPSHOT`版本,建议定期检查更新,以获取最新修复和增强。 2. **问题报告**:如果遇到问题,应及时报告给`seam-forge`的开发团队,以便他们了解并解决。 3. **社区支持**:参与Seam社区,...

    Code_Snapshot.:跟踪我的leetcode实践并记下一些经典的代码段或片段,这也是我日常编程生活中常见的算法实现

    "Code_Snapshot." 这个标题表明这是一个关于编程代码片段的集合,特别是作者在解决LeetCode问题时记录下来的代码实践。LeetCode是一个在线平台,它提供了各种编程挑战,帮助开发者提高算法技能和解决问题的能力。...

    MS SQL Server 2008数据库快照

    当源数据库的页面第一次被修改时,其原始状态会被复制并存储在快照数据库中,确保了快照内容不受后续更新的影响。这种机制使得快照能够保留自创建以来所有修改前的数据记录,同时允许应用程序继续在源数据库上进行...

    XWDragCellColletionView

    确保在更新数据源和视图之间保持同步是至关重要的,否则可能会导致界面不一致。 为了使用户体验更流畅,可能还需要处理一些边界条件,比如防止cell拖出视图范围,或者阻止cell拖放到不允许的位置。此外,如果应用...

    eclipse 创建多模块maven项目

    假设父模块的版本由`1.0.0-SNAPSHOT`修改为`1.0.1-SNAPSHOT`,那么在子模块的`pom.xml`文件中,需要将`parent`元素的版本号也更新为`1.0.1-SNAPSHOT`。 - 打开任意子模块的`pom.xml`文件。 - 查找`<parent>`标签,...

    在Linux操作系统下去掉光盘源的实用技巧

    接下来,你可以添加新的网络源。这里以Debian为例,我们可以选择一个可靠的镜像站点,例如`http://debian.cn99.com/debian/`。将以下行添加到`sources.list`文件中: ```text deb ...

    android3.1快速环境搭建

    接下来,我们需要获取Android SDK。你可以通过访问Android开发者官网下载SDK Tools。这个工具包包含了构建、测试和调试Android应用所需的组件。安装SDK后,启动SDK Manager,这里你可以选择下载Android 3.1 (API ...

    如何取clearcase基线版本

    - 接下来,设置视图存储和视图路径。视图存储通常是在服务器上,而视图路径是本地机器上的目录。 - 为视图命名,例如,你可以用“wangna_OA_BL_view”来标识这是一个用于查看OA_CVOB中基线的视图。 - 最后,通过...

    WPF利用Emgu CV调用计算机摄像头

    接下来,我们需要在WPF项目中创建一个用户界面,以便显示摄像头的视频流。这通常通过创建一个`Image`控件来完成,该控件将作为摄像头图像的显示区域。同时,我们需要设置一个按钮来触发拍照或截图功能。 在代码层面...

    oracle dblink 创建过程

    接下来,在本地创建一个快照,该快照指向远程数据库中的`dblink_test`表: ```sql CREATE SNAPSHOT sn_test AS SELECT * FROM dblink_test@creditdb; ``` ##### 3. 定期刷新快照 为了保持快照与远程数据的一致性...

    数据库内核_TDSQL--多级一致性--.pdf

    PostgreSQL通过一种称为Snapshot Isolation(SSI)的技术来实现这一点,它能够检测到并防止可能导致不一致性的并发模式。在例子中,PostgreSQL通过依赖图检测到了T3对T1的依赖,从而避免了错误的发生。 在分布式...

Global site tag (gtag.js) - Google Analytics