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

Dependency not uploaded? #1

Closed
eric239 opened this issue Jul 31, 2019 · 4 comments
Closed

Dependency not uploaded? #1

eric239 opened this issue Jul 31, 2019 · 4 comments

Comments

@eric239
Copy link

eric239 commented Jul 31, 2019

Hi, trying to use your repo (in gradle, implementation 'com.github.t9t.jooq:jooq-postgresql-json:0.2.0') getting

  > Could not resolve com.github.t9t.jooq:jooq-postgresql-json:0.2.0.
     Required by:
         project :
      > Could not resolve com.github.t9t.jooq:jooq-postgresql-json:0.2.0.
         > Could not parse POM https://jcenter.bintray.com/com/github/t9t/jooq/jooq-postgresql-json/0.2.0/jooq-postgresql-json-0.2.0.pom
            > Could not find com.github.t9t.jooq:jooq-postgresql-json-parent:0.2.0.

Seems like the parent POM is not uploaded to maven central

@bfg
Copy link

bfg commented Aug 20, 2019

Applies to version 0.3.0 as well; parent pom is not deployed to maven central, see:

https://javalibs.com/artifact/com.github.t9t.jooq/jooq-postgresql-json-parent

I had to add jar as a file dependency :/

dependencies {
  // other dependencies

  implementation files("${rootProject.rootDir}/lib/jooq-postgresql-json-0.3.0.jar")
}

@t9t
Copy link
Owner

t9t commented Sep 23, 2019

Hi @eric239 and @bfg, thanks for reporting this issue. I'm extremely sorry for not publishing the artifact correctly and also not seeing this issue!

I had no experience yet pushing a multi-module project to OSSRH, so while trying to exclude the integration test module, I also accidentally excluded the parent project! I didn't notice this myself, because locally everything worked fine: the artifacts were installed to my local repository.

On top of that, I was apparently not watching my own project, so Github was not sending me any emails for issues that were created... I only noticed when I got explicitly tagged on another issue.

I was unable to restore version 0.3.0, so I have released it again as 0.3.1. I have also tested this locally by first clearing the artifacts from my local repository, so all should be fine now. Let me know if it works or not.

<dependency>
  <groupId>com.github.t9t.jooq</groupId>
  <artifactId>jooq-postgresql-json</artifactId>
  <version>0.3.1</version>
</dependency>

@bfg
Copy link

bfg commented Sep 24, 2019

Works as expected, thank you very much.

@t9t
Copy link
Owner

t9t commented Sep 24, 2019

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants