public class EarMojoIT extends AbstractEarPluginIT
Constructor and Description |
---|
EarMojoIT() |
Modifier and Type | Method and Description |
---|---|
void |
testProject001()
Builds an EAR with a single EJB and no configuration.
|
void |
testProject002()
Builds an EAR with a customized artifact location and a customized artifact name.
|
void |
testProject003()
Builds an EAR with a default bundle directory for
java modules. |
void |
testProject004()
Builds an EAR with a default bundle directory for _java_ modules and a custom location overriding the default.
|
void |
testProject005()
Builds an EAR with a custom URI.
|
void |
testProject006()
Builds an EAR with an excluded module.
|
void |
testProject007()
Builds an EAR with a classified artifact and no extra configuration.
|
void |
testProject008()
Builds an EAR with deployment descriptor configuration for J2EE 1.3.
|
void |
testProject009()
Builds an EAR with deployment descriptor configuration for J2EE 1.4.
|
void |
testProject010()
Builds an EAR with deployment descriptor configuration for Java EE 5.
|
void |
testProject011()
Builds an EAR and make sure that deployment descriptor default settings are applied.
|
void |
testProject012()
Builds an EAR and make sure that EAR resources are bundled within the EAR.
|
void |
testProject013()
Builds an EAR and make sure that EAR resources in a customized resources directory are bundled within the EAR.
|
void |
testProject014()
Builds an EAR and make sure that EAR resources are bundled within the EAR using includes and excludes.
|
void |
testProject015()
Builds an EAR and make sure that default manifest is taken into account.
|
void |
testProject016()
Builds an EAR and make sure that custom manifest is taken into account.
|
void |
testProject017()
Builds an EAR and make sure that custom application.xml is taken into account.
|
void |
testProject018()
Builds an EAR with a custom final name.
|
void |
testProject019()
Builds an EAR with unpacked archives using the unpackTypes.
|
void |
testProject020()
Builds an EAR with unpacked archives using the unpack module attribute.
|
void |
testProject021()
Builds an EAR with unpacked archives using both unpackTypes and the unpack module attribute.
|
void |
testProject022()
Builds an EAR with a classifier.
|
void |
testProject023()
Builds an EAR and make sure that a single classified dependency is detected without specifying the classifier.
|
void |
testProject024()
Builds an EAR and make sure that a single classified dependency is detected when specifying the classifier.
|
void |
testProject025()
Builds an EAR and make sure that a classified dependency with multiple candidates is detected when specifying the
classifier.
|
void |
testProject026()
Builds an EAR and make sure that the build fails if a unclassifed module configuration with multiple candidates is
specified.
|
void |
testProject027()
Builds an EAR and make sure that provided dependencies are not included in the EAR.
|
void |
testProject028()
Builds an EAR and make sure that test dependencies are not included in the EAR.
|
void |
testProject029()
Builds an EAR and make sure that system dependencies are not included in the EAR.
|
void |
testProject030()
Builds an EAR and make sure that ejb-client dependencies are detected and not added by default in the generated
application.xml.
|
void |
testProject031()
Builds an EAR with a Jboss 4 configuration specifying the security domain and the unauthenticated-principal to
use.
|
void |
testProject032()
Builds an EAR with a Jboss 3.2 configuration specifying the jmx-name to use.
|
void |
testProject033()
Builds an EAR with a Jboss 4 configuration and Jboss specific modules.
|
void |
testProject034()
Builds an EAR with custom security settings.
|
void |
testProject035()
Builds an EAR with a full filename mapping and make sure that custom locations are not overridden.
|
void |
testProject036()
Builds an EAR with a full filename mapping and make sure that groupIds with dots are replaced by dashes in
filenames.
|
void |
testProject037()
Builds an EAR and make sure that ejb-client dependencies are detected and added in the generated application.xml
if includeInApplicationXml is set.
|
void |
testProject038()
Builds an EAR and make sure that a non-classified dependency with multiple candidates is detected when specifying
the mainArtifactId as classifier.
|
void |
testProject039()
Builds an EAR with a Jboss 4 configuration specifying specifying the loader repository to use.
|
void |
testProject040()
Builds an EAR with deployment descriptor configuration for Java EE 5 and an alternative deployment descriptor.
|
void |
testProject041()
Builds an EAR with a Jboss 4.2 configuration specifying the module order to use.
|
void |
testProject042()
Builds an EAR with a Jboss 4.2 configuration specifying a datasource to add.
|
void |
testProject043()
Builds an EAR with a custom descriptor location (generatedDescriptorLocation setting).
|
void |
testProject044()
Builds an EAR with a custom library-directory.
|
void |
testProject045()
Builds an EAR and filter the content of the sources directory.
|
void |
testProject046()
Builds an EAR and filter the content of the sources directory using a custom filter file.
|
void |
testProject047()
Builds an EAR and filter the content with a list of extensions.
|
void |
testProject048()
Builds an EAR with a JBoss 5 configuration containing library directory.
|
void |
testProject049()
Builds an EAR with a JBoss 4.2 configuration containing a library directory.
|
void |
testProject050()
Builds an EAR with a Jboss 5 configuration containing a loader repository configuration definition.
|
void |
testProject051()
Builds an EAR with a Jboss 5 configuration containing a loader repository class definition.
|
void |
testProject052()
Builds an EAR with a Jboss 5 configuration containing a configuration parser class definition.
|
void |
testProject053()
Builds an EAR with a Jboss 5 configuration containing only the loader repo configuration
|
void |
testProject054()
Builds an EAR with deployment descriptor configuration for Java EE 5 and no application.xml
|
void |
testProject055()
Builds an EAR with jar dependencies added in application.xml.
|
void |
testProject056()
Builds an EAR with deployment descriptor configuration for J2EE 1.4 and an alternative deployment descriptor.
|
void |
testProject057()
Builds an EAR with a complete JBoss 4.2 configuration and validate it matches the DTD (MEAR-104).
|
void |
testProject058()
Builds an EAR with deployment descriptor configuration for Java EE 6.
|
void |
testProject059()
Builds an EAR with no display name entry at all.
|
void |
testProject060()
Builds an EAR with ejb-client packaged for J2EE 1.3 (MEAR-85)
|
void |
testProject061()
Builds an EAR with ejb-client packaged for J2EE 1.4 (MEAR-85)
|
void |
testProject062()
Builds an EAR with ejb-client packaged for JavaEE 5 (MEAR-85)
|
void |
testProject063()
Builds an EAR with ejb-client packaged for JavaEE 6 (MEAR-85)
|
void |
testProject064()
Builds an EAR with ejb-client packaged for JavaEE 5 and still put it in the root (MEAR-85)
|
void |
testProject065()
Builds an EAR with a custom moduleId.
|
void |
testProject066()
Builds an EAR with generateModuleId enabled.
|
void |
testProject067()
Builds an EAR with generateModuleId enabled and a custom module.
|
void |
testProject068()
Builds an EAR with the no-version file name mapping.
|
void |
testProject069()
Builds an EAR with a custom library-directory and JavaEE 6.
|
void |
testProject070()
Builds an EAR with application-name and initialize-in-order tags.
|
void |
testProject071()
Builds an EAR with application-name and initialize-in-order tags for unsupported version.
|
void |
testProject072()
Builds an EAR with an application client module (app-client).
|
void |
testProject073()
Builds an EAR with an application client module (app-client) and a default bundle directory for _java_ modules.
|
void |
testProject074()
Builds an EAR with custom env entries settings and J2EE 1.3.
|
void |
testProject075()
Builds an EAR with custom env entries settings and J2EE 1.4.
|
void |
testProject076()
Builds an EAR with custom env entries settings and JavaEE 5.
|
void |
testProject077()
Builds an EAR with custom env entries settings and JavaEE 6.
|
void |
testProject078()
Builds an EAR with the no version for ejb file name mapping.
|
void |
testProject079()
Builds an EAR with the 'default' library directory mode.
|
void |
testProject080()
Builds an EAR with the 'empty' library directory mode.
|
void |
testProject081()
Builds an EAR with the 'none' library directory mode.
|
void |
testProject082()
Builds an EAR with deployment descriptor configuration for JavaEE 7.
|
void |
testProject083()
Builds an EAR with a library directory and custom env entries.
|
void |
testProject084()
Support of an application id (MEAR-174).
|
void |
testProject085()
Builds an EAR with custom ejbRef entries settings and JavaEE 6.
|
void |
testProject086()
Builds an EAR with custom ejbRef entries plus lookup-name entry.
|
void |
testProject087()
Builds an EAR with resource-ref entries.
|
void |
testProject088()
Builds WAR and EAR as part of multi-module project twice so that the 2nd build is guaranteed to be performed when
target directories and files exist.
|
void |
testProject089()
Validates modification of Class-Path entry of EAR modules manifest when
skinnyWars option is turned on
skipClassPathModification option is turned off
|
void |
testProject090()
Validates modification of Class-Path entry of EAR modules manifest when
skinnyWars option is turned on
skipClassPathModification option is turned on
|
void |
testProject091()
Validates modification of Class-Path entry of EAR modules manifest when
skinnyWars option is turned off
skipClassPathModification option is turned off
unpacking of EJB JARs is turned on
|
void |
testProject092()
Ensures that when
skinnyWars option is turned off (has default value)
skinnyModules options is turned on
then movement of JARs and modification of manifest Class-Path entry is performed for WAR, SAR, HAR and RAR
modules.
|
void |
testProject093()
Ensures that when
skinnyWars option is turned on
skinnyModules options is turned off (has default value)
then movement of JARs and modification of manifest Class-Path entry is performed only for WAR module and not for
SAR, HAR and RAR modules.
|
void |
testProject094()
Ensures that when
skinnyWars option is turned off (has default value)
skinnyModules options is turned off (has default value)
then
movement of JARs and modification of the manifest Class-Path entry is not performed for WAR, SAR, HAR and
RAR modules
modification of the manifest Class-Path entry is performed for EJB module
provided JAR is removed from the manifest Class-Path entry of EJB module
|
void |
testProject095()
Ensures that test JAR dependency of WAR is handled as regular JAR in terms of packaging and manifest modification
when skinnyWars option is turned on.
|
void |
testProject096()
Ensures that test JAR dependency representing Java module is described in deployment descriptor
if includeInApplicationXml property of module is
true . |
void |
testProject097()
Ensures that artifacts with jboss-sar, jboss-har and jboss-par types are packaged in EAR and
described in deployment descriptor when respective types are configured for EAR modules.
|
void |
testProject098()
Ensures that when skinnyModules option is turned on then
EAR module whose classPathItem property is
false is removed from the Class-Path entry of
MANIFEST.mf of other modules
EAR module whose classPathItem property is true is added into the Class-Path entry of MANIFEST.mf
or existing reference is updated to match location of the module
EAR module is removed from WARs and RARs (from modules which include their dependencies)
|
void |
testProject099()
Builds an EAR with deployment descriptor configuration for JakartaEE 9.
|
void |
testProject100()
Builds an EAR with deployment descriptor configuration for JakartaEE 10.
|
void |
testProject101()
Ensure that
defaultLibBundleDir with dot at begin don't remove artifacts during second execution. |
assertClassPathElements, assertDeploymentDescriptors, assertEarArchive, assertEarDirectory, assertEarModulesContent, buildFinalName, doTestProject, doTestProject, doTestProject, doTestProject, executeMojo, executeMojo, getClassPathElements, getEarArchive, getEarDirectory, getEarModuleDirectory, getTargetDirectory, getTestDir
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public void testProject001() throws Exception
Exception
public void testProject002() throws Exception
Exception
public void testProject003() throws Exception
java
modules.Exception
public void testProject004() throws Exception
Exception
public void testProject005() throws Exception
Exception
public void testProject006() throws Exception
Exception
public void testProject007() throws Exception
Exception
public void testProject008() throws Exception
Exception
public void testProject009() throws Exception
Exception
public void testProject010() throws Exception
Exception
public void testProject011() throws Exception
Exception
public void testProject012() throws Exception
Exception
public void testProject013() throws Exception
Exception
public void testProject014() throws Exception
Exception
public void testProject015() throws Exception
Exception
public void testProject016() throws Exception
Exception
public void testProject017() throws Exception
Exception
public void testProject018() throws Exception
Exception
public void testProject019() throws Exception
Exception
public void testProject020() throws Exception
Exception
public void testProject021() throws Exception
Exception
public void testProject022() throws Exception
Exception
public void testProject023() throws Exception
Exception
public void testProject024() throws Exception
Exception
public void testProject025() throws Exception
Exception
public void testProject026() throws Exception
Exception
public void testProject027() throws Exception
Exception
public void testProject028() throws Exception
Exception
public void testProject029() throws Exception
Exception
public void testProject030() throws Exception
Exception
public void testProject031() throws Exception
Exception
public void testProject032() throws Exception
Exception
public void testProject033() throws Exception
Exception
public void testProject034() throws Exception
Exception
public void testProject035() throws Exception
Exception
public void testProject036() throws Exception
Exception
public void testProject037() throws Exception
Exception
public void testProject038() throws Exception
Exception
public void testProject039() throws Exception
Exception
public void testProject040() throws Exception
Exception
public void testProject041() throws Exception
Exception
public void testProject042() throws Exception
Exception
public void testProject043() throws Exception
Exception
public void testProject044() throws Exception
Exception
public void testProject045() throws Exception
Exception
public void testProject046() throws Exception
Exception
public void testProject047() throws Exception
Exception
public void testProject048() throws Exception
Exception
public void testProject049() throws Exception
Exception
public void testProject050() throws Exception
Exception
public void testProject051() throws Exception
Exception
public void testProject052() throws Exception
Exception
public void testProject053() throws Exception
Exception
public void testProject054() throws Exception
Exception
public void testProject055() throws Exception
Exception
public void testProject056() throws Exception
Exception
public void testProject057() throws Exception
Exception
public void testProject058() throws Exception
Exception
public void testProject059() throws Exception
Exception
public void testProject060() throws Exception
Exception
public void testProject061() throws Exception
Exception
public void testProject062() throws Exception
Exception
public void testProject063() throws Exception
Exception
public void testProject064() throws Exception
Exception
public void testProject065() throws Exception
Exception
public void testProject066() throws Exception
Exception
public void testProject067() throws Exception
Exception
public void testProject068() throws Exception
Exception
public void testProject069() throws Exception
Exception
public void testProject070() throws Exception
Exception
public void testProject071() throws Exception
Exception
public void testProject072() throws Exception
Exception
public void testProject073() throws Exception
Exception
public void testProject074() throws Exception
Exception
public void testProject075() throws Exception
Exception
public void testProject076() throws Exception
Exception
public void testProject077() throws Exception
Exception
public void testProject078() throws Exception
Exception
public void testProject079() throws Exception
Exception
public void testProject080() throws Exception
Exception
public void testProject081() throws Exception
Exception
public void testProject082() throws Exception
Exception
public void testProject083() throws Exception
Exception
public void testProject084() throws Exception
Exception
public void testProject085() throws Exception
Exception
public void testProject086() throws Exception
Exception
public void testProject087() throws Exception
Exception
public void testProject088() throws Exception
Exception
public void testProject089() throws Exception
Exception
public void testProject090() throws Exception
Exception
public void testProject091() throws Exception
Exception
public void testProject092() throws Exception
Exception
public void testProject093() throws Exception
Exception
public void testProject094() throws Exception
Exception
public void testProject095() throws Exception
Exception
public void testProject096() throws Exception
true
.Exception
public void testProject097() throws Exception
Exception
public void testProject098() throws Exception
false
is removed from the Class-Path entry of
MANIFEST.mf of other modulestrue
is added into the Class-Path entry of MANIFEST.mf
or existing reference is updated to match location of the moduleException
public void testProject099() throws Exception
Exception
public void testProject100() throws Exception
Exception
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.