apache / apache/maven

Site and dependencies in multi module project

Open
#12,064 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

### Affected version

4.x, 3.x

### Bug description

When we have a multi module project and we have dependencies between modules

```
mvn site
```

will fail as dependencies are not resolved

adding compile phase resolve a problem, like

```
mvn compile site
```

It can be something special with `default` and `site` lifecycles

Contributor guide

Open the contributing guide

Research direction

Reproduce the multi-module failure with `mvn site`, then compare it with `mvn compile site`. Start by tracing how the `default` and `site` lifecycles resolve inter-module dependencies. Done means site generation succeeds for the reported project without requiring a preceding compile phase.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.