Package org.apache.openjpa.tools.maven

Examples of org.apache.openjpa.tools.maven.OpenJpaEnhancerMojo


   
   
    public void testExecution() throws Exception {
      File testPom = new File( getBasedir(), "target/test-classes/projects/project-01/plugin-config.xml" );
     
      OpenJpaEnhancerMojo mojo = (OpenJpaEnhancerMojo) lookupMojo( "enhance", testPom );
      assertNotNull( mojo );
     
      mojo.classes = new File( getBasedir(), "target/test-classes/" );
      mojo.compileClasspathElements = new ArrayList<String>();
      mojo.compileClasspathElements.add( mojo.classes.getAbsolutePath() );
     
      mojo.execute();
    }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.tools.maven.OpenJpaEnhancerMojo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.