-
Notifications
You must be signed in to change notification settings - Fork 173
Remove bintray and deploy to maven central #521
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -243,15 +243,6 @@ | |
</includes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>2.5.3</version> | ||
<configuration> | ||
<tagNameFormat>@{project.version}</tagNameFormat> | ||
<generateReleasePoms>false</generateReleasePoms> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
|
@@ -279,18 +270,29 @@ | |
</goals> | ||
<configuration> | ||
<rules> | ||
<dependencyConvergence /> | ||
<dependencyConvergence/> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.8</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our repo was created in the original one, so you should be using the same repository url as the one used in gradle. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That would be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes |
||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>bintray</id> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
|
@@ -302,7 +304,7 @@ | |
<id>attach-sources</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
|
@@ -320,6 +322,27 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.6</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<!-- Prevent gpg from using pinentry programs --> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
|
@@ -341,26 +364,15 @@ | |
</licenses> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>bintray</id> | ||
<name>graphql-java-kickstart-graphql-java-tools</name> | ||
<url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url> | ||
<id>ossrh</id> | ||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This url should be corrected too. |
||
</snapshotRepository> | ||
|
||
<!-- Released with: mvn release:clean release:prepare release:perform -B -e -Pbintray --> | ||
<repository> | ||
<id>bintray</id> | ||
<name>graphql-java-kickstart-graphql-java-tools</name> | ||
<url> | ||
https://api.bintray.com/maven/graphql-java-kickstart/releases/graphql-java-tools/;publish=1 | ||
</url> | ||
</repository> | ||
</distributionManagement> | ||
<scm> | ||
<connection>scm:git:https://github.com/graphql-java-kickstart/graphql-java-tools.git | ||
</connection> | ||
<developerConnection>scm:git:https://github.com/graphql-java-kickstart/graphql-java-tools.git | ||
</developerConnection> | ||
<url>https://github.com/graphql-java-kickstart/graphql-java-tools</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
</project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit of a guess but I assume we want the actual key here and not the key id or something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That variable is actually the file but base64 encoded. So it's the password encoded file that contains the key. See also the document I wrote in which I tried to explain that.