On Mon, 2015-03-16 at 17:58 +0100, Emmanuel Bourg wrote: > > A quick look at deb-triggers looks like it's just what we need. I'll > > investigate a solution similar to the triggers in man-db. > > Ideally a trigger that doesn't use Java would be necessary, since the > Java libraries do not depend on a JRE. I suppose it depends on which package triggers the trigger. My thought was to put it solely in maven-debian-helper which does depend on default-jdk and therefore a JRE. In either case, pure shell scripts were the first thing that came to mind. But if we can get Maven to generate them, that's less code for us to maintain. > > > We know we need metadata for plugins, but it'll likely be needed for all > > artifacts if we start using more features of Maven. > > I suggest we move forward with the following plan: > > 1. add the metadata to libmaven-javadoc-plugin-java (I just uploaded a > new version of the plugin in experimental with the metadata included) You were close with your commit. The metadata needs to be the one found in remote repositories: named maven-metadata.xml, not maven-medatadata-local.xml. Luckily contents of that and *-local appear to be identical. See [1] for where this happens. > > 2. merge your changes in maven-debian-helper and bump the version to 2.0 > > 3. install the metadata with the prefixes in maven-debian-helper > > 4. upload maven-debian-helper 2.0 to experimental > > 5. request a rebuild of the ~320 packages depending on maven-debian-helper > > And in a second phase, adopt a trigger based metadata generation. Sounds like a plan. I'm going to move my changes to a branch [2] and rebase them on top of upstream/master so I can make a few changes. The branch doesn't exist yet, but should be there before the weekend. I've moved machines since the last time I touched this and looks like I depended a few stale files that don't exist on this machine. Andrew [1] http://maven.apache.org/ref/3.0.5/maven-core/xref/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.html#121 [2] https://github.com/arcticwaters/maven-debian-helper/tree/maven3
Attachment:
signature.asc
Description: This is a digitally signed message part