
Hope to see you there.

This is from the Sonatype Blog. On its own this is a tiny mistake. A blog has had the POM XML fragment stripped out of it. A bit of spelunking on the web produces this link as the definitive documentation for the plugin. Let's go and read the code for the plugin and see if we can't figure out what the missing tags are.
Over on github we find the emma4it plugin's source code. Diving this code we find that the project is actually pretty darn thin... and that's good because it is easy to understand. What does the JavaDoc say about how to configure this plugin? Thankfully there is at least documentation telling us what each of the Java files are for in the Maven lifecycle.
Does any of this include an example like the one Sonatype accidentally destroyed the only canonical example of in their blog? Sadly, no.
So my best guess is the first "report" word shown is a "report" id for the execution since we have more than one execution. My next guess is the phase we use in the documentation from the blog is different from the phase shown in the JavaDoc. The phase here is the "post-integration-test" phase by my guess. Next I have to take a wild leap. My guess is "project.build.sourcesDirectory" is the value set in the sourcesDirectory tag.
This is my best guess at the missing POM fragment:<execution>
<id>report</id>
<phase>post-integration-test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<sourcesDirectory>
${project.build.sourcesDirectory}
</sourcesDirectory>
</configuration>
</execution>
Mary and Sally are friends. Mary gives Sally a gift for her birthday. Mary hangs up the telephone.
def exchangeIfRelated(def mary, def sally) {
if( canRelate(mary,sally) ) {
mary.exchange(sally)
}
mary.closeConnection()
}
public void friends(FooService mary, BarService sally) {
mary.openConnection()
sally.openConnection()
exchangeIfRelated(mary,sally)
sally.closeConnection()
}
public void friends(FooService mary, BarService sally) {
mary.openConnection()
sally.openConnection()
exchangeIfRelated(mary,sally)
mary.closeConnection()
sally.closeConnection()
}