You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by hb...@apache.org on 2020/12/30 17:59:44 UTC
svn commit: r1884951 [27/42] - in
/maven/website/components/plugins-archives/maven-ear-plugin-LATEST: ./
apidocs/ apidocs/org/apache/maven/plugins/ear/
apidocs/org/apache/maven/plugins/ear/class-use/
apidocs/org/apache/maven/plugins/ear/util/ apidocs/o...
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EarModuleTest.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EarModuleTest.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EarModuleTest.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>EarModuleTest (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>EarModuleTest (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="EarModuleTest (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="EarModuleTest (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
@@ -153,7 +153,7 @@ extends <a href="https://docs.oracle.com
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/ear/EarModuleTest.html#testCleanBuildDir--">testCleanBuildDir</a></span>()</code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/ear/EarModuleTest.html#testCleanArchivePath--">testCleanArchivePath</a></span>()</code> </td>
</tr>
</table>
<ul class="blockList">
@@ -194,13 +194,13 @@ extends <a href="https://docs.oracle.com
<!-- -->
</a>
<h3>Method Detail</h3>
-<a name="testCleanBuildDir--">
+<a name="testCleanArchivePath--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
-<h4>testCleanBuildDir</h4>
-<pre>public void testCleanBuildDir()</pre>
+<h4>testCleanArchivePath</h4>
+<pre>public void testCleanArchivePath()</pre>
</li>
</ul>
</li>
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EnvEntryTest.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EnvEntryTest.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/EnvEntryTest.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>EnvEntryTest (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>EnvEntryTest (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="EnvEntryTest (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="EnvEntryTest (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/AbstractEarTestBase.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/AbstractEarTestBase.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/AbstractEarTestBase.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.maven.plugins.ear.AbstractEarTestBase (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>Uses of Class org.apache.maven.plugins.ear.AbstractEarTestBase (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.maven.plugins.ear.AbstractEarTestBase (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="Uses of Class org.apache.maven.plugins.ear.AbstractEarTestBase (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EarModuleTest.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EarModuleTest.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EarModuleTest.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.maven.plugins.ear.EarModuleTest (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>Uses of Class org.apache.maven.plugins.ear.EarModuleTest (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.maven.plugins.ear.EarModuleTest (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="Uses of Class org.apache.maven.plugins.ear.EarModuleTest (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EnvEntryTest.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EnvEntryTest.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/class-use/EnvEntryTest.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.maven.plugins.ear.EnvEntryTest (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>Uses of Class org.apache.maven.plugins.ear.EnvEntryTest (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.maven.plugins.ear.EnvEntryTest (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="Uses of Class org.apache.maven.plugins.ear.EnvEntryTest (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
Modified: maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html
==============================================================================
--- maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html (original)
+++ maven/website/components/plugins-archives/maven-ear-plugin-LATEST/testapidocs/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html Wed Dec 30 17:59:42 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AbstractEarPluginIT (Apache Maven EAR Plugin 3.1.0 Test API)</title>
+<title>AbstractEarPluginIT (Apache Maven EAR Plugin 3.2.0 Test API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
@@ -12,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AbstractEarPluginIT (Apache Maven EAR Plugin 3.1.0 Test API)";
+ parent.document.title="AbstractEarPluginIT (Apache Maven EAR Plugin 3.2.0 Test API)";
}
}
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -75,13 +75,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
-<li><a href="#field.summary">Field</a> | </li>
+<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
-<li><a href="#field.detail">Field</a> | </li>
+<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -140,39 +140,6 @@ extends junit.framework.TestCase</pre>
<div class="summary">
<ul class="blockList">
<li class="blockList">
-<!-- =========== FIELD SUMMARY =========== -->
-<ul class="blockList">
-<li class="blockList"><a name="field.summary">
-<!-- -->
-</a>
-<h3>Field Summary</h3>
-<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
-<caption><span>Fields</span><span class="tabEnd"> </span></caption>
-<tr>
-<th class="colFirst" scope="col">Modifier and Type</th>
-<th class="colLast" scope="col">Field and Description</th>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#FINAL_NAME_PREFIX">FINAL_NAME_PREFIX</a></span></code> </td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#FINAL_NAME_SUFFIX">FINAL_NAME_SUFFIX</a></span></code> </td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#localRepositoryDir">localRepositoryDir</a></span></code>
-<div class="block">Test repository directory.</div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#settingsFile">settingsFile</a></span></code> </td>
-</tr>
-</table>
-</li>
-</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -204,10 +171,13 @@ extends junit.framework.TestCase</pre>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#assertArchiveContent-java.io.File-java.lang.String-java.lang.String:A-boolean:A-">assertArchiveContent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifactNames,
- boolean[] artifactsDirectory)</code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#assertClassPathElements-java.io.File-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A:A-">assertClassPathElements</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifacts,
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] expectedClassPathElements)</code>
+<div class="block">Asserts that given EAR archive artifacts have expected elements in artifact manifest Class-Path entry.</div>
+</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
@@ -227,9 +197,16 @@ extends junit.framework.TestCase</pre>
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName)</code> </td>
</tr>
<tr id="i4" class="altColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#buildArchiveContentFiles-java.io.File-java.util.List-">buildArchiveContentFiles</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>> expectedDirectories)</code> </td>
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#assertEarModulesContent-java.io.File-java.lang.String-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A:A-java.lang.String:A:A-">assertEarModulesContent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifacts,
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] includedEntries,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] excludedEntries)</code>
+<div class="block">Asserts that given EAR archive artifacts have expected entries and don't have unexpected entries.</div>
+</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
@@ -239,22 +216,27 @@ extends junit.framework.TestCase</pre>
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#doTestProject-java.lang.String-java.lang.String:A-">doTestProject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts)</code>
-<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory).</div>
+<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory)</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#doTestProject-java.lang.String-java.lang.String:A-boolean-">doTestProject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#doTestProject-java.lang.String-java.lang.String:A-boolean:A-">doTestProject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts,
- boolean testDeploymentDescriptors)</code>
-<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory)</div>
+ boolean[] artifactsDirectory)</code>
+<div class="block">Executes the specified projects and asserts the given artifacts.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#doTestProject-java.lang.String-java.lang.String:A-boolean:A-">doTestProject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#doTestProject-java.lang.String-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A-boolean:A-java.lang.String:A:A-boolean-">doTestProject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts,
- boolean[] artifactsDirectory)</code>
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifactsToValidateManifest,
+ boolean[] artifactsToValidateManifestDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] expectedClassPathElements,
+ boolean cleanBeforeExecute)</code>
<div class="block">Executes the specified projects and asserts the given artifacts.</div>
</td>
</tr>
@@ -267,15 +249,20 @@ extends junit.framework.TestCase</pre>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#executeMojo-java.lang.String-java.util.Properties-boolean-">executeMojo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#executeMojo-java.lang.String-java.util.Properties-boolean-boolean-">executeMojo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> properties,
- boolean expectNoError)</code>
+ boolean expectNoError,
+ boolean cleanBeforeExecute)</code>
<div class="block">Execute the EAR plugin for the specified project.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
-<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getBasedir--">getBasedir</a></span>()</code> </td>
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getClassPathElements-java.io.File-java.lang.String-boolean-">getClassPathElements</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> earFile,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifact,
+ boolean directory)</code>
+<div class="block">Retrieves elements of Class-Path entry of manifest of given EAR module.</div>
+</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
@@ -289,10 +276,15 @@ extends junit.framework.TestCase</pre>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getTargetDirectory-java.io.File-">getTargetDirectory</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> basedir)</code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getEarModuleDirectory-java.io.File-java.lang.String-">getEarModuleDirectory</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName)</code> </td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getTargetDirectory-java.io.File-">getTargetDirectory</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> basedir)</code> </td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/maven/plugins/ear/it/AbstractEarPluginIT.html#getTestDir-java.lang.String-">getTestDir</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName)</code> </td>
</tr>
</table>
@@ -318,59 +310,6 @@ extends junit.framework.TestCase</pre>
<div class="details">
<ul class="blockList">
<li class="blockList">
-<!-- ============ FIELD DETAIL =========== -->
-<ul class="blockList">
-<li class="blockList"><a name="field.detail">
-<!-- -->
-</a>
-<h3>Field Detail</h3>
-<a name="FINAL_NAME_PREFIX">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>FINAL_NAME_PREFIX</h4>
-<pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> FINAL_NAME_PREFIX</pre>
-<dl>
-<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a href="../../../../../../constant-values.html#org.apache.maven.plugins.ear.it.AbstractEarPluginIT.FINAL_NAME_PREFIX">Constant Field Values</a></dd>
-</dl>
-</li>
-</ul>
-<a name="FINAL_NAME_SUFFIX">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>FINAL_NAME_SUFFIX</h4>
-<pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> FINAL_NAME_SUFFIX</pre>
-<dl>
-<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a href="../../../../../../constant-values.html#org.apache.maven.plugins.ear.it.AbstractEarPluginIT.FINAL_NAME_SUFFIX">Constant Field Values</a></dd>
-</dl>
-</li>
-</ul>
-<a name="localRepositoryDir">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>localRepositoryDir</h4>
-<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> localRepositoryDir</pre>
-<div class="block">Test repository directory.</div>
-</li>
-</ul>
-<a name="settingsFile">
-<!-- -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>settingsFile</h4>
-<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> settingsFile</pre>
-</li>
-</ul>
-</li>
-</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -394,7 +333,7 @@ extends junit.framework.TestCase</pre>
<!-- -->
</a>
<h3>Method Detail</h3>
-<a name="executeMojo-java.lang.String-java.util.Properties-boolean-">
+<a name="executeMojo-java.lang.String-java.util.Properties-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
@@ -402,18 +341,22 @@ extends junit.framework.TestCase</pre>
<h4>executeMojo</h4>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> executeMojo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> properties,
- boolean expectNoError)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+ boolean expectNoError,
+ boolean cleanBeforeExecute)
+ throws <a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Execute the EAR plugin for the specified project.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>projectName</code> - the name of the project</dd>
<dd><code>properties</code> - extra properties to be used by the embedder</dd>
-<dd><code>expectNoError</code> - true/flase.</dd>
+<dd><code>expectNoError</code> - true/false</dd>
+<dd><code>cleanBeforeExecute</code> - call clean plugin before execution</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base directory of the project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurred</dd>
+<dd><code><a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a></code></dd>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
@@ -425,7 +368,8 @@ extends junit.framework.TestCase</pre>
<h4>executeMojo</h4>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> executeMojo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> properties)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+ throws <a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Execute the EAR plugin for the specified project.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -434,34 +378,54 @@ extends junit.framework.TestCase</pre>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base directory of the project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurred</dd>
+<dd><code><a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a></code></dd>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
-<a name="doTestProject-java.lang.String-java.lang.String:A-boolean:A-">
+<a name="doTestProject-java.lang.String-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A-boolean:A-java.lang.String:A:A-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doTestProject</h4>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> doTestProject(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts,
- boolean[] artifactsDirectory)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">Executes the specified projects and asserts the given artifacts. Assert the deployment descriptors are valid</div>
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifactsToValidateManifest,
+ boolean[] artifactsToValidateManifestDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] expectedClassPathElements,
+ boolean cleanBeforeExecute)
+ throws <a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Executes the specified projects and asserts the given artifacts. Asserts the deployment descriptors are valid.
+ Asserts Class-Path entry of manifest of EAR modules.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>projectName</code> - the project to test</dd>
+<dd><code>earModuleName</code> - the name of 1st level EAR module in multi-module project or <code>null</code>
+ if project is single-module</dd>
<dd><code>expectedArtifacts</code> - the list of artifacts to be found in the EAR archive</dd>
-<dd><code>artifactsDirectory</code> - whether the artifact is an exploded artifactsDirectory or not</dd>
+<dd><code>artifactsDirectory</code> - whether the artifact from <code>expectedArtifacts</code> list is an exploded or not</dd>
+<dd><code>artifactsToValidateManifest</code> - the list of EAR archive artifacts to validate Class-Path entry of artifact
+ manifest or <code>null</code> if there is no need to validate Class-Path entry</dd>
+<dd><code>artifactsToValidateManifestDirectory</code> - whether the artifact from <code>artifactsToValidateManifest</code> list is
+ an exploded or not, can be <code>null</code> if
+ <code>artifactsToValidateManifest</code> is <code>null</code></dd>
+<dd><code>expectedClassPathElements</code> - the list of elements of Class-Path entry of manifest, rows should match
+ artifacts passed in <code>artifactsToValidateManifest</code> parameter;
+ can be <code>null</code> if <code>artifactsToValidateManifest</code> is <code>null</code></dd>
+<dd><code>cleanBeforeExecute</code> - call clean plugin before execution</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base directory of the project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - Mojo exception in case of an error</dd>
+<dd><code><a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a></code></dd>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
-<a name="doTestProject-java.lang.String-java.lang.String:A-boolean-">
+<a name="doTestProject-java.lang.String-java.lang.String:A-boolean:A-">
<!-- -->
</a>
<ul class="blockList">
@@ -469,18 +433,20 @@ extends junit.framework.TestCase</pre>
<h4>doTestProject</h4>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> doTestProject(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts,
- boolean testDeploymentDescriptors)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory)</div>
+ boolean[] artifactsDirectory)
+ throws <a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Executes the specified projects and asserts the given artifacts. Assert the deployment descriptors are valid.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>projectName</code> - the project to test</dd>
<dd><code>expectedArtifacts</code> - the list of artifacts to be found in the EAR archive</dd>
-<dd><code>testDeploymentDescriptors</code> - whether we should test deployment descriptors</dd>
+<dd><code>artifactsDirectory</code> - whether the artifact from <code>expectedArtifacts</code> list is an exploded or not</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base directory of the project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - Mojo exception in case of an error.</dd>
+<dd><code><a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a></code></dd>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
@@ -492,9 +458,9 @@ extends junit.framework.TestCase</pre>
<h4>doTestProject</h4>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> doTestProject(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] expectedArtifacts)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory). Assert the
- deployment descriptors are valid</div>
+ throws <a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Executes the specified projects and asserts the given artifacts as artifacts (non directory)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>projectName</code> - the project to test</dd>
@@ -502,7 +468,8 @@ extends junit.framework.TestCase</pre>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base directory of the project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - Mojo exception in case of an error.</dd>
+<dd><code><a href="http://maven.apache.org/shared/maven-verifier/apidocs/org/apache/maven/it/VerificationException.html?is-external=true" title="class or interface in org.apache.maven.it">VerificationException</a></code></dd>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
@@ -526,6 +493,16 @@ extends junit.framework.TestCase</pre>
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName)</pre>
</li>
</ul>
+<a name="getEarModuleDirectory-java.io.File-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEarModuleDirectory</h4>
+<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> getEarModuleDirectory(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName)</pre>
+</li>
+</ul>
<a name="getTargetDirectory-java.io.File-">
<!-- -->
</a>
@@ -564,35 +541,38 @@ extends junit.framework.TestCase</pre>
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> buildFinalName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName)</pre>
</li>
</ul>
-<a name="assertArchiveContent-java.io.File-java.lang.String-java.lang.String:A-boolean:A-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>assertArchiveContent</h4>
-<pre>protected void assertArchiveContent(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifactNames,
- boolean[] artifactsDirectory)</pre>
-</li>
-</ul>
-<a name="buildArchiveContentFiles-java.io.File-java.util.List-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>buildArchiveContentFiles</h4>
-<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>> buildArchiveContentFiles(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>> expectedDirectories)</pre>
-</li>
-</ul>
-<a name="getBasedir--">
+<a name="assertEarModulesContent-java.io.File-java.lang.String-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A:A-java.lang.String:A:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>getBasedir</h4>
-<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> getBasedir()</pre>
+<h4>assertEarModulesContent</h4>
+<pre>protected void assertEarModulesContent(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> earModuleName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifacts,
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] includedEntries,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] excludedEntries)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Asserts that given EAR archive artifacts have expected entries and don't have unexpected entries.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>baseDir</code> - the directory of the tested project</dd>
+<dd><code>projectName</code> - the project to test</dd>
+<dd><code>earModuleName</code> - the name of 1st level EAR module in multi-module project or <code>null</code>
+ if project is single-module</dd>
+<dd><code>artifacts</code> - the list of artifacts to be found in the EAR archive</dd>
+<dd><code>artifactsDirectory</code> - whether the artifact from <code>artifacts</code> list is an exploded or not</dd>
+<dd><code>includedEntries</code> - entries which should exist in artifacts, rows should match artifacts passed in
+ <code>artifacts</code> parameter; can be <code>null</code> if there is no need to assert
+ existence of entries in artifacts</dd>
+<dd><code>excludedEntries</code> - entries which should not exist in artifacts, rows should match artifacts passed in
+ <code>artifacts</code> parameter; can be <code>null</code> if there is no need to assert
+ absence of paths in artifacts</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception in case of failure during reading of artifact archive.</dd>
+</dl>
</li>
</ul>
<a name="getTestDir-java.lang.String-">
@@ -612,7 +592,7 @@ extends junit.framework.TestCase</pre>
<a name="assertDeploymentDescriptors-java.io.File-java.lang.String-">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>assertDeploymentDescriptors</h4>
<pre>protected void assertDeploymentDescriptors(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
@@ -620,8 +600,8 @@ extends junit.framework.TestCase</pre>
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Asserts that the deployment descriptors have been generated successfully.
- This test assumes that deployment descriptors are located in the <tt>expected-META-INF</tt> directory of the
- project. Note that the <tt>MANIFEST.mf</tt> file is ignored and is not tested.</div>
+ This test assumes that deployment descriptors are located in the <code>expected-META-INF</code> directory of the
+ project. Note that the <code>MANIFEST.mf</code> file is ignored and is not tested.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>baseDir</code> - the directory of the tested project</dd>
@@ -631,6 +611,58 @@ extends junit.framework.TestCase</pre>
</dl>
</li>
</ul>
+<a name="assertClassPathElements-java.io.File-java.lang.String-java.lang.String:A-boolean:A-java.lang.String:A:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>assertClassPathElements</h4>
+<pre>protected void assertClassPathElements(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> baseDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> projectName,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] artifacts,
+ boolean[] artifactsDirectory,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] expectedClassPathElements)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Asserts that given EAR archive artifacts have expected elements in artifact manifest Class-Path entry.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>baseDir</code> - the directory of the tested project</dd>
+<dd><code>projectName</code> - the name of the project</dd>
+<dd><code>artifacts</code> - the list of EAR archive artifacts to validate Class-Path entry of artifact manifest or
+ <code>null</code> if there is no need to validate Class-Path entry</dd>
+<dd><code>artifactsDirectory</code> - whether the artifact from <code>artifacts</code> list is an exploded or not,
+ can be <code>null</code> if <code>artifacts</code> is <code>null</code></dd>
+<dd><code>expectedClassPathElements</code> - the list of expected elements of Class-Path entry of manifest, rows should match
+ artifacts passed in <code>artifacts</code> parameter; can be <code>null</code>
+ if <code>artifacts</code> is <code>null</code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception in case of failure during reading of artifact manifest.</dd>
+</dl>
+</li>
+</ul>
+<a name="getClassPathElements-java.io.File-java.lang.String-boolean-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getClassPathElements</h4>
+<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getClassPathElements(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> earFile,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifact,
+ boolean directory)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Retrieves elements of Class-Path entry of manifest of given EAR module.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>earFile</code> - the EAR file to investigate</dd>
+<dd><code>artifact</code> - the name of artifact in EAR archive representing EAR module</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>elements of Class-Path entry of manifest of EAR module which is represented by
+ <code>artifact</code> artifact in <code>earFile</code> file</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
</li>
@@ -685,13 +717,13 @@ extends junit.framework.TestCase</pre>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
-<li><a href="#field.summary">Field</a> | </li>
+<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
-<li><a href="#field.detail">Field</a> | </li>
+<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>