mirror of https://github.com/apache/maven.git
o Deleted IT thas has been migrated to the corresponding plugin project
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@698153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4728faaf9c
commit
2ab2aaeacb
|
@ -244,7 +244,6 @@ MavenITmng3645POMSyntaxErrorTest
|
|||
suite.addTestSuite( MavenIT0022Test.class );
|
||||
suite.addTestSuite( MavenIT0021Test.class );
|
||||
suite.addTestSuite( MavenIT0019Test.class );
|
||||
suite.addTestSuite( MavenIT0017Test.class );
|
||||
suite.addTestSuite( MavenIT0014Test.class );
|
||||
suite.addTestSuite( MavenIT0012Test.class );
|
||||
suite.addTestSuite( MavenIT0011Test.class );
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
package org.apache.maven.integrationtests;
|
||||
|
||||
import org.apache.maven.it.Verifier;
|
||||
import org.apache.maven.it.util.ResourceExtractor;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0017Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test an EJB generation
|
||||
*/
|
||||
public void testit0017()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0017" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "package" );
|
||||
verifier.assertFilePresent( "target/classes/org/apache/maven/it0017/Person.class" );
|
||||
verifier.assertFilePresent( "target/maven-it-it0017-1.0.jar" );
|
||||
verifier.assertFilePresent( "target/maven-it-it0017-1.0.jar!/META-INF/ejb-jar.xml" );
|
||||
verifier.assertFilePresent( "target/maven-it-it0017-1.0.jar!/org/apache/maven/it0017/Person.class" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Maven Integration Test :: it0017</name>
|
||||
<groupId>org.apache.maven.its.it0017</groupId>
|
||||
<artifactId>maven-it-it0017</artifactId>
|
||||
<description>Test an EJB generation</description>
|
||||
<packaging>ejb</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<configuration>
|
||||
<generateClient>true</generateClient>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -1,16 +0,0 @@
|
|||
package org.apache.maven.it0017;
|
||||
|
||||
public class Person
|
||||
{
|
||||
private String name;
|
||||
|
||||
public void setName( String name )
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ejb-jar>
|
||||
<enterprise-beans>
|
||||
<session>
|
||||
<ejb-name>Hello</ejb-name>
|
||||
<home>org.apache.maven.it0017.HelloHome</home>
|
||||
<remote>org.apache.maven.it0017.Hello</remote>
|
||||
<ejb-class>org.apache.maven.it0017.HelloBean</ejb-class>
|
||||
<session-type>Stateless</session-type>
|
||||
<transaction-type>Container</transaction-type>
|
||||
</session>
|
||||
</enterprise-beans>
|
||||
<assembly-descriptor>
|
||||
<container-transaction>
|
||||
<method>
|
||||
<ejb-name>Hello</ejb-name>
|
||||
<method-name>*</method-name>
|
||||
</method>
|
||||
<trans-attribute>Required</trans-attribute>
|
||||
</container-transaction>
|
||||
</assembly-descriptor>
|
||||
</ejb-jar>
|
Loading…
Reference in New Issue