Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1038461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:58:42+00:00 2026-05-16T14:58:42+00:00

Project structure is: /foo pom.xml /foo-war pom.xml /foo-ear pom.xml This is my parent pom.xml

  • 0

Project structure is:

/foo
  pom.xml
  /foo-war
    pom.xml
  /foo-ear
    pom.xml

This is my parent pom.xml:

..

foo-war
foo-ear

..

This is the content of foo-ear/pom.xml:

..

${project.groupId}
foo-war
war
${project.version}

..

Compilation fails with this message:

...
[INFO] Failed to resolve artifact.
Missing:
—————
1) com.foo:foo-war:war:1.0-SNAPSHOT
Try downloading the file manually from the project website.
...

Looks like foo-ear is trying to resolve the artifact when it’s not ready yet. How can I instruct maven to work with foo-war beforehand? Or I’m missing something?

ps. Everything is fixed when I remove this code from parent pom.xml:

<build>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${javadoc.version}</version>
        <executions>
            <execution>
                <phase>compile</phase>
                <goals>
                   <goal>aggregate</goal>
                </goals>
            </execution>
        </executions>
    </plugin>
</build>

Why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:58:43+00:00Added an answer on May 16, 2026 at 2:58 pm

    Everything is fixed when I remove this code from parent pom.xml (…)

    The problem looks similar to MJAVADOC-161 and more generally MJAVADOC-137. Could you be using a buggy version of the maven-javadoc-plugin like 2.3 (sadly, you’re not showing it)? If yes, try with version 2.4 or another more recent version. And if you are using a version greater than 2.4, try with the version 2.4 to see if a regression was introduced at some point. And in this case, please open a new issue.


    I’m using version 2.5. When I’m trying to reverse back to 2.4 I’m getting: ‘aggregate’ was specified in an execution, but not found in the plugin. Looks like 2.5 is my only option? You think I need to file a bug report?

    I didn’t pay attention to the goal, javadoc:aggregate has been introduced in version 2.5 so it won’t be in 2.4 indeed and the issues mentioned above aren’t relevant.

    But I took a second look and I saw some others like MJAVADOC-275 or MJAVADOC-276. I’m not sure to understand the exact status (and the bug might be not fixed) but before opening an issue, be sure to try with versions 2.7 and version 2.6 (some people mention a regression introduced in 2.6.1).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently, I have the following structure for my project Foo : foo-parent +- pom.xml
If I have this project structure Foo.Data reference EntityFramework Foo.Business reference Foo.Data Foo.Web reference
This is a structure of my multi-module project: /root /api dependencies: slf4j /foo dependencies:
I have a directory structure that looks like this: project/ __init__.py foo/ __init.py__ first.py
I've imported a project into a directory and the original directory structure is: //depot/a/b/foo.txt
Okay so, I have this project structure: package A.B class SuperClass (this class is
I have this folder structure: /www/project/web/app.php I can access it via /project/web/index.php . The
I have a project with a directory structure that looks like: /foo/baz/__init__.py /bar/foo.py /bar/splat.py
In reference to this question: Ideal ruby project structure I noticed that appname.rb is
I currently have this environment on my project: public abstract class Foo { private

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.