# Maven: Verify Effective POM

### Problem <a href="#problem" id="problem"></a>

When reporting a build to Sealights via Maven, you may need display the effective POM of the project to ensure what is the configuration used in runtime.

### Solution <a href="#solution" id="solution"></a>

The effective-pom goal is used to make visible the POM that results from the application of interpolation, inheritance and active profiles. It provides a useful way of removing the guesswork about just what ends up in the POM that Maven uses to build your project. It will iterate over all projects in the current build session, printing the effective POM for each.

You can execute this goal using the following command:

```
mvn help:effective-pom
```

Detailed official documentation is available [here](https://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/maven/maven-verify-effective-pom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
