mirror of https://github.com/apache/maven.git
o Added workaround for bug in plexus-velocity
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@801392 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76a1b62fac
commit
ffca6bafc9
|
@ -46,7 +46,11 @@ public class VelocityMojo
|
||||||
{
|
{
|
||||||
// velocityComponent engine should not be null
|
// velocityComponent engine should not be null
|
||||||
// this is the real test to check that we got the right Initializable interface in both Plexus and the component
|
// this is the real test to check that we got the right Initializable interface in both Plexus and the component
|
||||||
velocityComponent.getEngine().getTemplate( "/template.vm" );
|
/*
|
||||||
|
* NOTE: There's a bug in the plexus-velocity:1.1.7 component that fails to transform "/template.vm" into
|
||||||
|
* a proper resource name before searching the context class loader so we avoid the leading slash here.
|
||||||
|
*/
|
||||||
|
velocityComponent.getEngine().getTemplate( "template.vm" );
|
||||||
}
|
}
|
||||||
catch ( Exception e )
|
catch ( Exception e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue