[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?



Hi,

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] 
[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] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------< uk.ac.sanger:artemis >------------------------
[INFO] Building Artemis 18.0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[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] 
[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/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

     Andreas.


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

-- 
http://fam-tille.de


Reply to: