Uploaded image for project: 'OpenNMS Horizon'
  1. OpenNMS Horizon
  2. HZN-1359

jrb-to-rrd-converter doesn't support maven-assembly-plugin 3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 22.0.1
    • Fix Version/s: None
    • Component/s: CLI Tools
    • Labels:
      None
    • Environment:
      RHEL 7

      Description

      Seems that the jrb-to-rrd-converter tool doesn't compile correctly anymore:

      pioto@opennms 2018-07-19 06:40:32
       (0) ~/git/opennms/opennms-tools/jrb-to-rrd-converter (develop@opennms-22.0.1-1-158-g31f435c) $ mvn package
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JRobin to RRDtool File Converter 23.0.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.713s
      [INFO] Finished at: Thu Jul 19 06:40:35 EDT 2018
      [INFO] Final Memory: 7M/102M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Could not find goal 'attached' in plugin org.apache.maven.plugins:maven-assembly-plugin:3.0.0 among available goals help, single -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
      

      The fix seems to be to just use single instead of attached as the goal. I'll send a PR shortly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pioto Mike Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: