Add ArchetypeGenerationRequest in the context of the groovy script.

Add the ArchetypeGenerationRequest in the context of the groovy script, so that we can get the outputDirectory
and other useful information when executing the groovy script during archetype generation.

Related to https://issues.apache.org/jira/browse/ARCHETYPE-494
1 file changed