Skip to content

Commit 2c90f35

Browse files
committed
MTA-4775: Effort differs between applications depending on whether they can be built or not
Signed-off-by: A.Arnold <[email protected]>
1 parent dd484d7 commit 2c90f35

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

docs/cli-guide/master.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ include::topics/mta-cli-run-single-app.adoc[leveloffset=+3]
6666

6767
include::topics/mta-cli-run-multiple-apps.adoc[leveloffset=+3]
6868

69+
include::topics/proc_running-the-containerless-mta-cli.adoc[leveloffset=+3]
70+
6971
// Analyze application source code
7072
include::topics/mta-cli-analyze.adoc[leveloffset=+3]
7173

72-
include::topics/proc_running-the-containerless-mta-cli.adoc[leveloffset=+3]
73-
7474
// Transform XML rules to YAML
7575
include::topics/mta-cli-transform.adoc[leveloffset=+3]
7676

@@ -104,6 +104,9 @@ include::topics/mta-review-reports.adoc[leveloffset=+1]
104104
// Optimize {ProductShortName} Performance
105105
include::topics/mta-optimize-performance.adoc[leveloffset=+1]
106106

107+
// Issues with reports
108+
include::topics/issues-with-report.adoc[leveloffset=+2]
109+
107110
// Configure {ProductShortName} to Exclude Files and Packages
108111
// include::topics/mta-exclude-files-and-packages.adoc[leveloffset=+2]
109112

docs/topics/issues-with-report.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * docs/cli-guide/master.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="issues-with-report_{context}"]
7+
= Issues with reports
8+
9+
.Running {ProductShortName} on a project with an inaccessible parent pom.xml file may not result in a full analysis
10+
11+
Running {ProductFullName} on a project with an inaccessible parent pom.xml file may not result in a full analysis. For example, this issue impacts the link:https://github.com/jboss-developer/jboss-eap-quickstarts/tree/EAP_7.4.0.GA[JBoss EAP Quickstarts], which demonstrate JBoss EAP, Jakarta EE 10, and other additional technologies. They provide small, specific, working examples that can be used as a reference for your project. However, these quickstarts specify a relative path to their parent POM file, which does not exist when the {ProductShortName} container is run.
12+
13+
Specifying an input path of link:https://github.com/jboss-developer/jboss-eap-quickstarts/tree/EAP_7.4.0.GA/kitchensink[`kitchensink`] mounts the `kitchensink` directory as a volume in the container, but that means that the JDT Language Server (jdtls) is unable to access the parent link:https://github.com/jboss-developer/jboss-eap-quickstarts/blob/EAP_7.4.0.GA/kitchensink/pom.xml[pom.xml] file.
14+
15+
This causes the jdtls to encounter a `Non-resolvable parent POM for org.jboss.eap.quickstarts:kitchensink:7.4.0.GA error` project build error. This error creates a `.project` file, which is missing the `org.eclipse.jdt.core.javanature`, meaning that jdtls, and subsequently {ProductShortName}, is unable to access details about the Java files.
16+
17+
If you remove the parent pom.xml file and make the `kitchensink` project completely standalone, there are no issues.

0 commit comments

Comments
 (0)