hadoop2.5编译出现The requested profile "native" could not be activated because it does not exist?怎么解决

wangxi得 发布于 2015/02/15 00:22
阅读 21K+
收藏 0

OSC年度开源问卷新鲜出炉,你的回答对我们很重要,参与开源可以从这份问卷开始>>>

Downloading: http://maven.oschina.net/content/groups/public/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar
Downloaded: http://maven.oschina.net/content/groups/public/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar (60 KB at 54.6 KB/sec)
Downloading: http://maven.oschina.net/content/groups/public/org/objenesis/objenesis/1.0/objenesis-1.0.jar
Downloaded: http://maven.oschina.net/content/groups/public/org/objenesis/objenesis/1.0/objenesis-1.0.jar (28 KB at 29.7 KB/sec)
Downloaded: http://maven.oschina.net/content/groups/public/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar (10 KB at 2.7 KB/sec)
Downloaded: http://maven.oschina.net/content/groups/public/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar (1308 KB at 828.5 KB/sec)
Downloaded: http://maven.oschina.net/content/groups/public/commons-collections/commons-collections/3.2/commons-collections-3.2.jar (558 KB at 162.9 KB/sec)
Downloaded: http://maven.oschina.net/content/groups/public/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar (262 KB at 150.3 KB/sec)
[INFO] Building jar: /root/software/hadoop-2.5.0-src/target/hadoop-auth-2.2.0-javadoc.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:50.230s
[INFO] Finished at: Sat Feb 14 10:51:15 EST 2015
[INFO] Final Memory: 13M/32M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "native" could not be activated because it does not exist.



加载中
0
s33ker
s33ker
[WARNING] The requested profile "Maven" could not be activated because it does not exist.

[WARNING] The requested profile "Dependencies" could not be activated because it does not exist.

我也遇到了,没有解决

0
杰乐优
杰乐优
我也遇到了,请教高手
0
B
BGStone

在maven 的 .m2/setting.xml 中,找到 “native” 其实,这是“projectname”。

根据情况调整:

<activeProfiles>
  <activeProfile>projectname</activeProfile>
</activeProfiles>

 

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部