未能执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.10:test
Posted
技术标签:
【中文标题】未能执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.10:test【英文标题】:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test 【发布时间】:2012-10-21 16:09:54 【问题描述】:我已经在互联网上搜索了将近五天来寻找解决此问题的方法,但我似乎无法自己找到并修复它,主要是因为我对 Maven 和 PlayN 都很陌生,所以我不是完全确定我在看什么。但是,它显然在建立核心。似乎它无法下载“神器过滤器”,并且无法运行 Surefire 的测试。但是,我只是在猜测一些我不太了解的东西,尽管我一直在疯狂地研究这些东西。来自更有经验的人的任何帮助将非常非常感激。我正在失去理智。
[INFO] Building Synthesis Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ synthesis-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ synthesis-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] skip non existing resourceDirectory C:\Users\Josiah\synthesis\core\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ synthesis-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ synthesis-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Josiah\synthesis\core\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ synthesis-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ synthesis-core ---
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Synthesis Metaproject ............................. SUCCESS [1.059s]
[INFO] Synthesis Core .................................... FAILURE [3.538s]
[INFO] Synthesis Java .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.997s
[INFO] Finished at: Wed Oct 31 23:57:38 EDT 2012
[INFO] Final Memory: 6M/109M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project synthesis-core: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.10 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10 (): Failed to read artifact descriptor for org.apache.maven.shared:maven-common-artifact-filters:jar:1.3: Could not transfer artifact org.apache.maven.shared:maven-common-artifact-filters:pom:1.3 from/to central (http://repo.maven.apache.org/maven2): Remotely Closed [id: 0x0847a8f3, /192.168.1.54:65153 :> repo.maven.apache.org/93.184.215.223:80] -> [Help 1]
然后我让它打印整个调试日志,并详细说明 Surefire 位,显示所有调用的异常:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
10:test (default-test) on project synthesis-core: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: Plugin org.apa
che.maven.plugins:maven-surefire-plugin:2.10 or one of its dependencies could no
t be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven
-surefire-plugin:jar:2.10 (): Failed to read artifact descriptor for org.apache.
maven.shared:maven-common-artifact-filters:jar:1.3: Could not transfer artifact
org.apache.maven.shared:maven-common-artifact-filters:pom:1.3 from/to central (h
ttp://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on projec
t synthesis-core: Execution default-test of goal org.apache.maven.plugins:maven-
surefire-plugin:2.10:test failed: Plugin org.apache.maven.plugins:maven-surefire
-plugin:2.10 or one of its dependencies could not be resolved: Failed to collect
dependencies for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10 ()
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:225)
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.buildProje
ct(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-t
est of goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: Plu
gin org.apache.maven.plugins:maven-surefire-plugin:2.10 or one of its dependenci
es could not be resolved: Failed to collect dependencies for org.apache.maven.pl
ugins:maven-surefire-plugin:jar:2.10 ()
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:82)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)
... 19 more
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.
maven.plugins:maven-surefire-plugin:2.10 or one of its dependencies could not be
resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-sur
efire-plugin:jar:2.10 ()
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.re
solve(DefaultPluginDependenciesResolver.java:211)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPlug
inRealm(DefaultMavenPluginManager.java:353)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPlugi
nRealm(DefaultMavenPluginManager.java:321)
at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(Defa
ultBuildPluginManager.java:175)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:78)
... 20 more
Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed
to collect dependencies for org.apache.maven.plugins:maven-surefire-plugin:jar:2
.10 ()
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectD
ependencies(DefaultDependencyCollector.java:258)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDepe
ndencies(DefaultRepositorySystem.java:308)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.re
solve(DefaultPluginDependenciesResolver.java:199)
... 24 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to
read artifact descriptor for org.apache.maven.shared:maven-common-artifact-filt
ers:jar:1.3
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.
loadPom(DefaultArtifactDescriptorReader.java:296)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.
readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(
DefaultDependencyCollector.java:412)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(
DefaultDependencyCollector.java:544)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectD
ependencies(DefaultDependencyCollector.java:240)
... 26 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not
transfer artifact org.apache.maven.shared:maven-common-artifact-filters:pom:1.3
from/to central (http://repo.maven.apache.org/maven2): Connection reset
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Def
aultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
facts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
fact(DefaultArtifactResolver.java:193)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.
loadPom(DefaultArtifactDescriptorReader.java:281)
... 30 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not tra
nsfer artifact org.apache.maven.shared:maven-common-artifact-filters:pom:1.3 fro
m/to central (http://repo.maven.apache.org/maven2): Connection reset
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(W
agonRepositoryConnector.java:951)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(W
agonRepositoryConnector.java:941)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.
run(WagonRepositoryConnector.java:669)
at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(Run
nableErrorForwarder.java:60)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.wagon.TransferFailedException: Connection reset
at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInput
Data(AbstractHttpClientWagon.java:799)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:11
6)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.
run(WagonRepositoryConnector.java:601)
... 4 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSess
ionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.SocketInputB
uffer.fillBuffer(SocketInputBuffer.java:110)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSess
ionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultRes
ponseParser.parseHead(DefaultResponseParser.java:98)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractMess
ageParser.parse(AbstractMessageParser.java:252)
at org.apache.maven.wagon.providers.http.httpclient.impl.AbstractHttpCli
entConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultCli
entConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.AbstractCl
ientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequest
Executor.doReceiveResponse(HttpRequestExecutor.java:298)
at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequest
Executor.execute(HttpRequestExecutor.java:125)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultR
equestDirector.tryExecute(DefaultRequestDirector.java:645)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultR
equestDirector.execute(DefaultRequestDirector.java:464)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.Abstract
HttpClient.execute(AbstractHttpClient.java:820)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.Abstract
HttpClient.execute(AbstractHttpClient.java:754)
at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(A
bstractHttpClientWagon.java:674)
at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInput
Data(AbstractHttpClientWagon.java:793)
... 8 more
编辑:添加我的 pom.xml 进行分析。
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.googlecode.playn</groupId>
<artifactId>playn-project</artifactId>
<version>1.3.1</version>
</parent>
<groupId>com.hijackedlongboat</groupId>
<artifactId>synthesis</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Synthesis Metaproject</name>
<properties>
<playn.version>1.3.1</playn.version>
</properties>
<profiles>
<profile>
<id>java</id>
<activation><activeByDefault>true</activeByDefault></activation>
<modules><module>java</module></modules>
</profile>
<profile>
<id>android</id>
<modules><module>android</module></modules>
</profile>
<profile>
<id>ios</id>
<modules><module>ios</module></modules>
</profile>
<profile>
<id>html</id>
<modules><module>html</module></modules>
</profile>
<profile>
<id>flash</id>
<modules><module>flash</module></modules>
</profile>
</profiles>
<modules>
<module>core</module>
</modules>
</project>
编辑 2:已解决 通过使用命令“mvn dependency::tree”,我能够找到未显示在调试和堆栈跟踪中的缺失存储库。缺少的存储库是“forplay-legacy”,然后我将其添加到 pom.xml 中,如下所示:
<repositories>
<repository>
<id>forplay-legacy</id>
<url>http://forplay.googlecode.com/svn/mavenrepo</url>
</repository>
</repositories>
【问题讨论】:
向我们展示最重要的部分,您的 pom.xml。那么我们也许可以提供帮助。 我的pom。先生,您真客气。现在编辑我的帖子以添加它。 @user1784668 我们怎么知道丢失了哪一个? mvn install 为我解决了这个问题,它安装了所有的依赖项 呃,如果您在 Spring Boot 构建中遇到类似的错误,并且您神秘地跳过了一些测试用例,请检查有关默认 junit 排除项的答案,这些排除项进入了循环的默认 pom.xml 文件在那里***.com/a/60831916/57033 【参考方案1】:我有类似的问题,我可以使用 -U 选项和 mvn 命令解决它
mvn clean install -U
这对我有用,希望对你有帮助。
【讨论】:
-U 是做什么的? @Spikolynn, -U 重新下载所有依赖项 使用 Eclipse:右键单击项目 > 运行方式 > maven clean..这对我有用【参考方案2】:您可能缺少一些依赖项。
使用mvn dependency:tree
找到您缺少的依赖项,然后手动安装它们,并使用-o
(离线)选项构建您的项目。
【讨论】:
我无法想象我的笔记本电脑从我自己的家庭 wifi 连接到互联网时遇到了什么麻烦。我的防火墙也在我的安全路由器下关闭。不过,你提出了一个有效的观点,所以我肯定会试一试,我会写回结果。 天哪,非常感谢。这不是我的互联网的问题,但是在您在评论中告诉我之前我不知道的“mvn dependency::tree”命令导致我找到了一个缺少调试和堆栈跟踪命令的存储库没有给我看。缺少的存储库是“forplay-legacy”。然后我在这个存储库上进行了一些谷歌搜索,并找到了一些关于它的信息,然后我将它添加到我的存储库列表中。而且,瞧,它安装正确。如果你没有提到那个命令,我永远不会发现它。非常感谢! 好吧!!这个技巧也帮助了我。我不知道为什么 UI(Maven -> 更新项目)对我有帮助。 哈哈,我完全忘记了我有 -o 并且我的快照不会更新。谢谢提醒! Pratik 在下面的回答 mvn clean install -U 更容易解决。【参考方案3】:我遇到了类似的问题,但这里的所有答案都没有帮助我。
对我来说,问题是测试失败。如果您正在进行测试驱动开发,那么失败或未实施的测试不应破坏构建。我仍然希望我的项目能够构建。
为了解决这个问题,我向 surefire 添加了一个配置,以便它忽略失败的测试。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
【讨论】:
我认为这不是一个好主意。更改是将此 get 签入 SCM,然后您的 CI 服务器不会捕获代码中的错误。 @britter 这并不意味着它会忽略错误(测试失败)。只有在测试失败时它才不会破坏构建。使用测试驱动风格,这在 CI 服务器上也可以。您仍然可以对失败的测试执行任何您喜欢的操作,并查看哪些测试失败了。 这完全是错误的答案:它不允许 testFailure 来解决问题【参考方案4】:如果某些单元测试用例失败,则会出现此错误。
在我的应用程序中,某些单元测试与 Java 8 不兼容,因此它们失败了。将jdk1.8.0_92
更改为jdk1.7.0_80
后,我的错误得到解决。
使用mvn clean install -DskipTests
会成功构建,但这会跳过单元测试。因此,只需确保在构建完成后单独运行即可。
【讨论】:
是的,这对我来说也是如此。测试用例失败,因此我们得到提到的错误【参考方案5】:更新 Maven 项目:
步骤:
-
右键单击“项目”
转到“Maven”>>“更新”
等待应用所有更改
提交更改(如果代码在 repo 上)
运行
【讨论】:
【参考方案6】:我尝试按照此线程上大多数 cmets 中给出的说明进行操作,包括选择的答案,但错误仍然存在。我做了一些研究,发现了这个page,它提供了一个帮助我解决问题的解决方案(好吧,虽然我有一些猜测)。
所以我所做的就是将maven surefire插件中的版本号替换为如下:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M1</version>
我希望这会有所帮助!
【讨论】:
【参考方案7】:我遇到了同样的错误,但在我的情况下,删除/target
文件夹和nbactions.xml
文件后问题得到解决。
【讨论】:
就我而言 - 只需从高级文件夹中删除/target
文件夹,所有子文件夹都可以解决问题。【参考方案8】:
我遇到了同样的问题,我通过以下步骤解决了:
-
右键项目->maven->更新项目
这里我选择了“强制更新快照/发布”
之后我再次编译了我的项目并修复了问题
【讨论】:
【参考方案9】:当我遇到问题时,changes.xml
文档格式不正确(缺少结束标记)。解决方法是编辑 XML 以使其格式正确。
因此检查 XML 格式是否正确可能很重要,尤其是当发布插件没有抱怨时。
【讨论】:
【参考方案10】:对我来说,更改 Jenkins 版本很有帮助。
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.642.4</version><!-- which version of Jenkins is this plugin built against? -->
</parent>
【讨论】:
【参考方案11】:有时您会遇到类似的错误,但原因与工具无关 - 在本例中是 Surefire 插件。
对我来说,我遇到了类似的错误,但原因是我没有指向正确的数据库 url!
在很多冗长(使用 mvn -X 标志)中,我看到了一条超时消息。
我做的一个技巧是在构建服务器上安装 IntelliJ(用于调试目的)并首先通过它修复问题,然后卸载它并确保一切在构建服务器上也能正常工作。
【讨论】:
【参考方案12】:或者
导航到项目根文件夹并使用以下命令:
mvn 全新安装 -U 要么 mvn clean install --update-snapshots
这里 -U 将强制检查远程存储库上缺少的版本和更新的快照
【讨论】:
【参考方案13】:我遇到了类似的问题,我的解决方案与其他用户发布的完全不同。
我的问题与我去年工作的项目有关,该项目需要 maven 设置上的某个代理(位于 <path to maven folder>\maven\conf\settings.xml
和 C:\Users\<my user>\.m2\settings.xml
)。代理正在阻止下载所需的外部包。
解决方案是将原始文件 (settings.xml
) 放回那些地方。一切恢复后,我就可以下载软件包并且一切正常。
【讨论】:
【参考方案14】:请按照本教程进行操作: https://www.petrikainulainen.net/programming/maven/creating-code-coverage-reports-for-unit-and-integration-tests-with-the-jacoco-maven-plugin/
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>$surefireArgLine</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true -->
<skipTests>$skip.unit.tests</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes>
<exclude>**/IT*.java</exclude>
</excludes>
</configuration>
【讨论】:
以上是关于未能执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.10:test的主要内容,如果未能解决你的问题,请参考以下文章
未能执行目标... maven-install-plugin ... 无法安装工件...(访问被拒绝)
未能执行目标 org.apache.maven.plugins:maven-enforcer-plugin
未能执行目标 maven-antrun-plugin - GitHub 操作上的连接超时
未能执行目标 org.apache.maven.plugins:maven-resources-plugin:2.5:resources