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

Parent POM referenced but not published to Maven Central #11

Closed
wrprice opened this issue Sep 18, 2013 · 5 comments
Closed

Parent POM referenced but not published to Maven Central #11

wrprice opened this issue Sep 18, 2013 · 5 comments
Assignees
Labels
Milestone

Comments

@wrprice
Copy link

wrprice commented Sep 18, 2013

plugin-1.1.0.pom references a parent POM:

<parent>
  <groupId>com.h3xstream.findsecbugs</groupId>
  <artifactId>root-pom</artifactId>
  <version>1.1.0</version>
</parent>

But com.h3xstream.findsecbugs:root-pom:1.1.0 does not exist in Maven Central. This is a problem for the Gradle build tool, which attempts to resolve the parent POM:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':myProjectName:findbugs'.
    > Could not resolve com.h3xstream.findsecbugs:plugin:1.1.0.
      Required by:
          com.example.myproject:0.3-SNAPSHOT
       > Could not find any version that matches com.h3xstream.findsecbugs:root-pom:1.1.0.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 8.377 secs
@ghost ghost assigned h3xstream Oct 1, 2013
@h3xstream
Copy link
Member

Initially the goal was to deploy only the plugin. But with the parent link all artifacts will need to be publish after all.

Please test this staging repository : https://oss.sonatype.org/service/local/repositories/comh3xstream-1002/

I have change slightly the artifact ids. The version was increment because I don't maintain old versions (only few detectors were add).

<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.2.0</version>

Notify me once, you have done your test. I will promote the artifacts to main repository after.

@wrprice
Copy link
Author

wrprice commented Oct 8, 2013

@h3xstream

GET https://oss.sonatype.org/service/local/repositories/comh3xstream-1002/com/h3xstream/findsecbugs/findsecbugs-plugin/1.2.0/findsecbugs-plugin-1.2.0.pom

403 - Forbidden
Access Denied to Repository

[EDIT: missed updating the artifactId, but after verifying ID and version, get the same result]

@h3xstream
Copy link
Member

Ok I'll make minimal test on my side and publish after.

@h3xstream
Copy link
Member

I have just release all the artifacts (root-pom, plugin-deps, ...). It will be available soon if not already.

https://oss.sonatype.org/service/local/repositories/releases/content/com/h3xstream/findsecbugs/findsecbugs-plugin/1.2.0/findsecbugs-plugin-1.2.0.jar

Pay attention to the new artifact prefix "findsecbugs"

<dependency>
  <groupId>com.h3xstream.findsecbugs</groupId>
  <artifactId>findsecbugs-plugin</artifactId>
  <version>1.2.0</version>
</dependency>

@wrprice
Copy link
Author

wrprice commented Jan 8, 2014

Confirmed fixed for me as of version 1.2.0, thanks!

@h3xstream h3xstream modified the milestone: version-1.2.1 Aug 19, 2015
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

2 participants