免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4265 | 回复: 2
打印 上一主题 下一主题

安装OpenNMS安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-19 10:05 |只看该作者 |倒序浏览
源码安装OpenNMS安装问题,出现下列情况,正常吗?
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [castor:generate {execution: default}]
[INFO] Nothing to process - all xsds are up to date
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93-sources.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93-tests.jar
[INFO] [install:install]
[INFO] Installing /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93.jar to /root/.m2/repository/org/opennms/opennms-qosdaemon/1.5.93/opennms-qosdaemon-1.5.93.jar
[INFO] Installing /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93-sources.jar to /root/.m2/repository/org/opennms/opennms-qosdaemon/1.5.93/opennms-qosdaemon-1.5.93-sources.jar
[INFO] Installing /root/opennms/opennms-1.5.93-1/source/opennms-qosdaemon/target/opennms-qosdaemon-1.5.93-tests.jar to /root/.m2/repository/org/opennms/opennms-qosdaemon/1.5.93/opennms-qosdaemon-1.5.93-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenNMS WebStart Remote Poller
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact org.opennms.maven.pluginspennms-groovyc-plugin: checking for updates from opennms-repo
[INFO] artifact org.opennms.maven.pluginspennms-groovyc-plugin: checking for updates from codehaus
[INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking for updates from opennms-repo
[INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking for updates from codehaus
[INFO] [build-helper:add-source {execution: add-groovy-source}]
[INFO] Source directory: /root/opennms/opennms-1.5.93-1/source/opennms-webstart/src/main/groovy added.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/classes
[INFO] [groovyc:compile {execution: default}]

groovyc:
  [groovyc] Compiling 1 source file to /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/classes
  [groovyc] /root/opennms/opennms-1.5.93-1/source/opennms-webstart/src/main/groovy/org/opennms/groovy/poller/remote/GroovyPollerView.groovy
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [groovyc:test-compile {execution: default}]

groovyc:
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/opennms-webstart-1.5.93.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [build-helper:add-source {execution: add-groovy-source}]
[INFO] Source directory: /root/opennms/opennms-1.5.93-1/source/opennms-webstart/src/main/groovy added.
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/opennms-webstart-1.5.93-sources.jar
[INFO] artifact ant:ant: checking for updates from opennms-repo
[INFO] artifact ant:ant: checking for updates from codehaus
[INFO] artifact ant:ant: checking for updates from codehaus.org
[INFO] artifact ant:ant: checking for updates from central
[INFO] [webstart:jnlp {execution: default}]
[debug] keytool executable=[/usr/java/jdk1.6.0_06/jre/../bin/keytool]
[debug] mdkirs: false /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target
[debug] Executing: /usr/java/jdk1.6.0_06/jre/../bin/keytool -genkey -dname CN=root -alias opennms-webstart-key -keypass opennms -keystore /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/build-generated-keystore.ks -storepass opennms
[debug] jarsigner executable=[/usr/java/jdk1.6.0_06/jre/../bin/jarsigner]
[debug] Executing: /usr/java/jdk1.6.0_06/jre/../bin/jarsigner -verify /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/jnlp/jdhcp-1.1.1.jar
[info] 没有清单。
[info] jar 未签名。(缺少签名或签名无法解析)
[debug] jarsigner executable=[/usr/java/jdk1.6.0_06/jre/../bin/jarsigner]
[debug] Signing JAR in-place (overwritting original JAR).
[info]
[info] 警告:
[info] 签名者证书将在六个月内过期。
[debug] jarsigner executable=[/usr/java/jdk1.6.0_06/jre/../bin/jarsigner]
[debug] Executing: /usr/java/jdk1.6.0_06/jre/../bin/jarsigner -verify /root/opennms/opennms-1.5.93-1/source/opennms-webstart/target/jnlp/jdhcp-1.1.1.jar
[info] jar 已验证。
[info]
[info] 警告:
[info] 此 jar 包含签名者证书将在六个月内过期的条目。
[info]
[info] 要了解详细信息,请使用 -verbose 和 -certs 选项重新运行。
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Verify failed: jar 已验证。
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 9 seconds
[INFO] Finished at: Fri Sep 19 09:43:14 CST 2008
[INFO] Final Memory: 147M/245M
[INFO] ------------------------------------------------------------------------
[root@localhost source]#

请大侠们指教!谢谢!如何处理?

[ 本帖最后由 zhangxy6005 于 2008-9-19 10:06 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-09-22 11:01 |只看该作者

记录下安装错误信息

Install jicmp
Get the Jicmp source as jicmp.tar.gz and run the following commands:

tar zxvf jicmp.tar.gz

cd jicmp

./configure

make

make install


记录下安装错误信息:

Downloading: http://repo1.maven.org/maven2/co ... -maven-base-0.4.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.agilejava.docbkx:docbkx-maven-base:jar:0.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.agilejava.docbkx -DartifactId=docbkx-maven-base -Dversion=0.4 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.agilejava.docbkx -DartifactId=docbkx-maven-base -Dversion=0.4 -Dpackaging=jar -Dfile=/path/to/file -Durl= -DrepositoryId=[id]

  Path to dependency:
        1) org.opennms.maven.plugins\"\"pennms-docbook-plugin:maven-plugin:1.70.1
        2) com.agilejava.docbkx:docbkx-maven-base:jar:0.4

----------
1 required artifact is missing.

for artifact:
  org.opennms.maven.plugins\"\"pennms-docbook-plugin:maven-plugin:1.70.1

from the specified remote repositories:
  opennms-repo ([url]http://repo.opennms.org/maven2
),
  codehaus (http://repository.codehaus.org),
  agile-repo (http://agilejava.com/maven),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  opennms-snapshots (http://repo.opennms.org/snapshots)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 minutes 37 seconds
[INFO] Finished at: Fri Sep 26 18:10:57 CST 2008
[INFO] Final Memory: 56M/117M
[INFO] ------------------------------------------------------------------------

[ 本帖最后由 zhangxy6005 于 2008-9-26 18:24 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-03-20 07:47 |只看该作者

真是不好解决

版主,这帖子要管管啦,晕死了,运行sh build.sh install总是报《warning》:jar from forked lifecycle。。。。。。
无法接着运行下一步:/bin/runjava -s啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP