Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Butterfly API Maven generated pom files are missing API/compile dependencies #243

Open
fabiocarvalho777 opened this issue Aug 21, 2018 · 0 comments
Labels

Comments

@fabiocarvalho777
Copy link
Member

fabiocarvalho777 commented Aug 21, 2018

Every Butterfly API project generates a Maven pom file. However, the generated pom.xml files are missing all compile dependencies.

Butterfly API project is every butterfly project which has at least one Gradle api dependency. They are:

  • butterfly-bom
  • butterfly-api
  • butterfly-utilities
  • butterfly-extensions-api
  • butterfly-test
  • butterfly-persist-couchdb
  • butterfly-persist-file

Dependencies marked as api in Gradle are analog to Maven compile dependencies. So, the api dependencies are the ones that are supposed to be the compile dependencies in the generated pom.xml file, but are missing, and that is the problem that needs to be solved in this issue.

See this issue, and Stefan Oehme's comments, for further details.

The workaround for now is to require clients to manually add those missing dependencies.

How to reproduce the issue

Using Travis CI, run a new SNAPSHOT deploy build, and check the generated pom file of any of those API projects in Sonatype. You will notice they are missing the compile dependencies.

@fabiocarvalho777 fabiocarvalho777 added this to the 3.0.0 milestone Aug 21, 2018
@fabiocarvalho777 fabiocarvalho777 changed the title Fix Maven artifacts publishing issue Fix Maven artifacts publishing issues Aug 21, 2018
@fabiocarvalho777 fabiocarvalho777 changed the title Fix Maven artifacts publishing issues Butterfly API Maven generated pom files are missing API/compile dependencies Sep 20, 2018
@fabiocarvalho777 fabiocarvalho777 removed this from the 3.0.0 milestone Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant