Skip to content

fix(build): Fix problem to execute mvn install#186

Merged
javahippie merged 2 commits into
operaton:mainfrom
kthoms:issues/179-mvn-install-fail
Nov 11, 2024
Merged

fix(build): Fix problem to execute mvn install#186
javahippie merged 2 commits into
operaton:mainfrom
kthoms:issues/179-mvn-install-fail

Conversation

@kthoms

@kthoms kthoms commented Nov 10, 2024

Copy link
Copy Markdown
Contributor

With #25 empty jars are not produced. This causes problems with the install plugin, since it can't install an artifact.

This is fixed by the following approaches

  • In some modules non-test-classes were in the test path, but no main path existed. Moved those classes to the main path.
  • For other modules that do not produce main artifacts to install, the maven-install-plugin is configured to skip.

Fixes #179

This avoids the creation of empty jars, which would be skipped by default

Related to operaton#179
These modules to not have any non-test sources. Since empty Jars are not produced, this would break the build.
@kthoms kthoms marked this pull request as ready for review November 11, 2024 07:11
@javahippie javahippie merged commit 40dd66e into operaton:main Nov 11, 2024
@kthoms kthoms deleted the issues/179-mvn-install-fail branch November 11, 2024 11:18
hauptmedia added a commit to hauptmedia/operaton that referenced this pull request Nov 22, 2024
kthoms pushed a commit that referenced this pull request Nov 24, 2024
@github-actions github-actions Bot added the released Issue has been released label Dec 3, 2024
@github-actions

github-actions Bot commented Dec 3, 2024

Copy link
Copy Markdown
Contributor

🎉 This issue has been resolved in v1.0.0-beta-2 (Release Notes)

@kthoms kthoms added this to the 1.0.0-beta-2 milestone May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Issue has been released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mvn install failing

2 participants