使用 mvn install 时未解决以下文件? [英] The following files have NOT been resolved when using mvn install?

查看:108
本文介绍了使用 mvn install 时未解决以下文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我有一个使用(spring-hibernate)框架的 Web 应用程序当尝试使用 mvn install 命令使用 maven2 构建应用程序时我通过以下注释成功构建:

greetings all i have a web application using (spring-hibernate) frameworks and when tried to build the application with maven2 using the command mvn install i get a build successful with the following note:

以下文件尚未解决:

[INFO] The following files have NOT been resolved:
[INFO]    antlr:antlr:java-source:sources:2.7.7
[INFO]    com.sun.jdmk:jmxtools:java-source:sources:1.2.1
[INFO]    com.sun.jmx:jmxri:java-source:sources:1.2.1
[INFO]    commons-dbcp:commons-dbcp:java-source:sources:1.2.2
[INFO]    commons-httpclient:commons-httpclient:java-source:sources:3.1
[INFO]    commons-logging:commons-logging:java-source:sources:1.1.0.jboss
[INFO]    hibernate-commons-annotations:hibernate-commons-annotations:java-source:sources:3.0.0.GA
[INFO]    hsqldb:hsqldb:java-source:sources:1.8.0.2
[INFO]    javassist:javassist:java-source:sources:3.4.GA
[INFO]    javax.jms:jms:java-source:sources:1.1
[INFO]    net.java.dev.stax-utils:stax-utils:java-source:sources:20040917
[INFO]    org.apache.solr:solr-commons-csv:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-analyzers:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-core:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-highlighter:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-queries:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-snowball:java-source:sources:1.3.0
[INFO]    org.apache.solr:solr-lucene-spellchecker:java-source:sources:1.3.0
[INFO]    org.apache.velocity:velocity:java-source:sources:1.5
[INFO]    org.tuckey:urlrewritefilter:java-source:sources:3.1.0
[INFO]    quartz:quartz:java-source:sources:1.6.0
[INFO]    stax:stax-api:java-source:sources:1.0.1

这是什么意思?

推荐答案

这看起来像是 maven-dependency-plugin 和sources"目标的输出——看起来有人已经配置了 Maven 构建来提取源工件.此输出意味着 Maven 无法在任何 Maven2 存储库中找到源工件.

This looks like output from the maven-dependency-plugin and the 'sources' goal -- it looks like someone has configured the Maven build to pull source artifacts. What this output means is that Maven was unable to find source artifacts in any Maven2 repositories.

http://maven.apache.org/plugins/maven-dependency-plugin/sources-mojo.html

在无法看到它的情况下,我假设无论这些消息如何,您的编译和打包都已成功.

Without being able to see it, I am assuming that your compilation and packaging was successful regardless of these messages.

这篇关于使用 mvn install 时未解决以下文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆