Hello, I'm getting the following build failure on OpenNMS 1.6.1. This began happening more recently (it used to build OK), and I think perhaps Maven updated some files, and now it's broken. I've tried several times to clear out my '.m2' repository, and repopulate it (also with the public nexus proxy that Benjamin set up). Is this a bug in the maven webstart plugin? Here is the log:
[INFO] ------------------------------------------------------------------------ [INFO] Building OpenNMS Web Application [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-resources-plugin. The plugin artifact has changed. [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-war-plugin. The plugin artifact has changed. [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-surefire-plugin. The plugin artifact has changed. [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-resources-plugin. The plugin artifact has changed. [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-install-plugin. The plugin artifact has changed. [INFO] [castor:generate {execution: default}] [INFO] Nothing to process - all xsds are up to date [INFO] [groovy:execute {execution: generate-key}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [webstart:jnlp-download-servlet {execution: default}] [INFO] No resources found in /build1/sm/build/cvs1/src/top/gm/NETMON/NETMON__HEAD.Pl4.24.200906051552/src/third-party/opennms-1.6.1__HEAD/opennms-webapp/src/main/jnlp/resources [INFO] [INFO] Warning: The signer certificate will expire within six months. [debug] jarsigner executable=[/re/tools/build/java/jdk1.5.0_06/jre/../bin/jarsigner] [debug] Executing: /bin/sh -c "cd /build1/sm/build/cvs1/src/top/gm/NETMON/NETMON__HEAD.Pl4.24.200906051552/src/third-party/opennms-1.6.1__HEAD/opennms-webapp/target/jnlp && /re/tools/build/java/jdk1.5.0_06/jre/../bin/jarsigner -verify /build1/sm/build/cvs1/src/top/gm/NETMON/NETMON__HEAD.Pl4.24.200906051552/src/third-party/opennms-1.6.1__HEAD/opennms-webapp/target/jnlp/opennms-remote-poller-1.6.1-jar-with-dependencies.jar" [info] jar verified. [info] [info] Warning: This jar contains entries whose signer certificate will expire within six months. Re-run with the -verbose and -certs options for more details. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] The number of signed artifacts (1) differ from the number of modified artifacts (2). Implementation error [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: The number of signed artifacts (1) differ from the number of modified artifacts (2). Implementation error at org.codehaus.mojo.webstart.AbstractBaseJnlpMojo.signOrRenameJars(AbstractBaseJnlpMojo.java:613) at org.codehaus.mojo.webstart.JnlpDownloadServletMojo.execute(JnlpDownloadServletMojo.java:139) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 47 seconds [INFO] Finished at: Fri Jun 05 16:58:08 PDT 2009 [INFO] Final Memory: 32M/59M [INFO] ------------------------------------------------------------------------ Benjamin Reed wrote: > On 6/2/09 5:26 PM, Sachin Naik wrote: > >> I looks like the 'xerces-1.4.0.jar' file moved to another location. The >> jar file contents that Maven downloaded was actually an HTML file: >> > > No, I think it's just a bug in how maven resolves things; it happens to > be checking the java.net maven repo first, even though the files are in > the main ("central") maven repo. > > To work around this issue, I've set up a public nexus proxy, if you want > to give it a shot. > > Download http://www.opennms.org/~ranger/maven-proxy-settings.xml and > save it as ~/.m2/settings.xml (or, if you already have one, integrate > the mirrors section into your existing settings.xml) and everything > should work again. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-devel mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this > page: > https://lists.sourceforge.net/lists/listinfo/opennms-devel ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel