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

RE: Version failures creating a package with mh_make on Sid



> I'm trying to package dnssecjava (ITP 845371). I used mh_make on Jessie to
> do this and succeeded to upload a version to mentors. Emmanuel asked me to
> do the packaging on Sid instead, where I'm now failing.
> 
> What I did so far:
> - apt install'ed maven-debian-helper and the required (Maven-)dependencies
> - Cloned my repo
> - Created a debian/sid branch based off the dnssecjava-1.1.3 tag
> - Run mh_make
> 
> Now mh_make complains that it can't find
> org.apache.felix:maven-bundle-plugin:2.3.7. So far this makes sense,
because
> Sid comes with version 2.5.4 of this plugin. Removing the version tag
> entirely (as you could with Maven 2) is apparently no longer a possibility
> and leads to this error:
> 
>> Unresolveable build extension: Error resolving version for plugin
> 'org.apache.felix:maven-bundle-plugin'
> 
> Updating the plugin version in the pom.xml to 2.5.4 succeeds for the
> bundle-plugin, but leads to the next error:
> 
>> Error resolving version for plugin
> 'org.apache.maven.plugins:maven-resources-plugin'
> 
> The resources plugin is not something I reference from my own pom. Both
> plugins are present at /usr/share/maven-repo. What am I missing here?

Follow up:
- mh_make still references a Maven 2 jar which doesn't exist anymore
- Maven fails to execute because /usr/share/maven-repo doesn't have the
maven-metadata-*.xml files. These are required since Maven 3.
- Adding all plugins with the specific Debian versions to my pom gets Maven
running, but I need to answer "keep" on the question about the
maven-deploy-plugin

> Thanks,
> Ingo

Ingo


Reply to: