Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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.
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 ofattached
as the goal. I'll send a PR shortly.