Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

240
Views
Maven - parent project requires child plugin

I have forked a maven project (webservice) having a parent module and 3 child modules. One of the 3 modules is responsible for running the others and uses tomee plugin to run.

The documentation says: use mvn clean package tomee:run to run the web service.

If I run this command in the root directory, I get:

No plugin found for prefix 'tomee' in the current project and in the plugin groups

since the plugin is the child module pom.xml

And if I run the command in the child (runner) directory, I get:

Failure to find **Another child module war file** in https://repo.maven.apache.org/maven2 was cached in the local repository.

From where I should run the command, and how it fix it? I don't think the pom.xml files structure have bugs. But I don't know how to run a project with multi modules.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I used to run:

mvn clean install and mvn clean package

In the parent module directory, then in the 2 child (not the runner) and finally in the runner child module I run:

mvn clean install and mvn clean package tomee:run

And it works.

For the future, I only run

mvn clean package tomee:run

In the runner child directory to start my project.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!