[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

New version has switched build system to Maven - any hint how to resolve dependencies?


I've commited the new version of artemis to Git[1] and started to switch
the packaging system and added new dependencies.  Unfortunately I did it
probably wring since I'm running into:

[INFO] Scanning for projects...
[WARNING] Some problems were encountered while building the effective model for uk.ac.sanger:artemis:jar:18.0.1
[WARNING] 'build.plugins.plugin.version' for org.jacoco:jacoco-maven-plugin is missing. @ line 620, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ line 359, column 12
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO] ------------------------< uk.ac.sanger:artemis >------------------------
[INFO] Building Artemis 18.0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.585 s
[INFO] Finished at: 2019-01-28T09:02:43Z
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'org.jacoco:jacoco-maven-plugin' from the repositories [local (/build/artemis-18.0.1+dfsg/debian/maven-repo), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/artemis-18.0.1\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/artemis-18.0.1\+dfsg/debian -Dmaven.repo.local=/build/artemis-18.

Any hint how to make it detect the Build-Dependency "libjacoco-java (>= 0.8.2)"
I've just added?

Kind regards


[1] https://salsa.debian.org/med-team/artemis


Reply to: