Examples of CactifyEarMojo


Examples of org.apache.cactus.maven2.mojos.CactifyEarMojo

     * Set-up method to instantiate the mojo.
     */
    public void setUp() throws Exception
    {
        super.setUp();
        this.cactifyEarMojo = new CactifyEarMojo();
    }
View Full Code Here

Examples of org.apache.cactus.maven2.mojos.CactifyEarMojo

     */
    public void testCactifyEarWithNoParametersSpecified() throws Exception
    {
        File testPom = new File(getBasedir(), "target/test-classes/unit/ear/basic-"
                + "cactify-noparameters/plugin-config.xml");
        CactifyEarMojo mojo = (CactifyEarMojo) lookupMojo("cactifyear", testPom);
        assertNotNull(mojo);
        try
        {
          mojo.execute();
          fail("Exception should have been raised!");
        }
        catch (MojoExecutionException mex)
        {
          assertEquals("You need to specify [srcFile] attribute for cactification!", mex.getMessage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.