On Sun, Sep 4, 2011 at 7:10 PM, Brett Porter <br...@apache.org> wrote: > > On 05/09/2011, at 3:49 AM, Benson Margulies wrote: > >> I'm trying to be slightly helpful to the Tycho project. They have a >> problem: they need to define a lifecycle that adds a plugin to a phase >> *not at the end* of the plugins in the standard lifecycle. >> >> Has anyone else thought about this? > > What's the specific use case? >
I've copied Igor, the source of this. The problem is to get the jarsigner plugin into the correct relationship with making P2 metadata in eclipse. The Tycho lifecycle can be found at [1]. If signing is going to happen it has to happen before p2-metadata. Just shooting my mouth off, I wonder if there should be another phase for signing, since any time it's going to be used it's likely to have to be carefully timed between putting the jar together packaging the jar into something else. [1] https://github.com/sonatype/sonatype-tycho/blob/master/tycho-maven-plugin/src/main/resources/META-INF/plexus/components.xml > When this part of the code was developed, phases were thought more as > buckets, with very little support for ordering within them. The ability to > dictate order through the POM has increased over time, but there's no > mechanism I'm aware of to achieve this without changes to the core. > > - Brett > > -- > Brett Porter > br...@apache.org > http://brettporter.wordpress.com/ > http://au.linkedin.com/in/brettporter > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org