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

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.

Environment

RHEL 7

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Mike Kelly July 19, 2018 at 10:43 AM

Won't Fix

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created July 19, 2018 at 10:41 AM
Updated November 22, 2021 at 10:16 PM
Resolved November 19, 2021 at 4:21 PM

Flag notifications