Chesnay Schepler created FLINK-24561:
----------------------------------------
Summary: Build archetype jars in compile phase
Key: FLINK-24561
URL: https://issues.apache.org/jira/browse/FLINK-24561
Project: Flink
Issue Type: Technical Debt
Components: Build System
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.15.0, 1.14.1, 1.13.4
The quickstart jars are currently build in the package phase, which
conceptually makes sense.
However, when running {{mvn test}} in a clean environment the build fails
because the quickstart e2e test cannot resolve the quickstart dependencies.
Usually maven figures out that it can use the compiled classes as a stand-in
for (test-)jar dependencies, but this doesn't work for the quickstarts because
those use a special packaging process.
I don't see any harm in building the archetype jars in the compile phase to
solve this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)