Skip to content

fix(build): push to maven #16

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

Merged
merged 1 commit into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ The current version of this SDK is: 0.4.0
Each service's artifact coordinates are listed in the table above.

The project artifacts are published on the following public maven repositories:
- [JCenter](https://bintray.com/bintray/jcenter) - For information on how to use the
<!-- - [JCenter](https://bintray.com/bintray/jcenter) - For information on how to use the
public JCenter maven repository, open [this link](https://bintray.com/bintray/jcenter)
then click the `Set Me Up!` button.
then click the `Set Me Up!` button. -->
- [Maven Central](https://repo1.maven.org/maven2/) - This is the default public repository
used by maven when searching for dependencies. To use this repository within your
gradle build, please see
Expand Down
28 changes: 0 additions & 28 deletions build/sync2MC.sh

This file was deleted.

51 changes: 10 additions & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,16 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand Down Expand Up @@ -359,47 +369,6 @@
<skip>true</skip>
</configuration>
</plugin>

<!-- Enable alternate bintray-maven-plugin -->
<plugin>
<groupId>com.carrotgarden.maven</groupId>
<artifactId>bintray-maven-plugin</artifactId>
<configuration>
<skip>false</skip>

<!-- Bintray oranization name. -->
<subject>${bintray.org}</subject>

<!-- Bintray target repository. -->
<repository>${bintray.repo}</repository>

<!-- Bintray credentials in settings.xml. -->
<serverId>bintray</serverId>

<!-- We'll use the maven coordinates for the bintray package name -->
<bintrayPackage>${project.groupId}:${project.artifactId}</bintrayPackage>

<!-- Use the project's github url when creating each module's package in the bintray repo -->
<packageVcsUrl>${bintray.package.url}</packageVcsUrl>

<performDestroy>false</performDestroy>
<performCleanup>false</performCleanup>
<performDeploy>true</performDeploy>
<performEnsure>true</performEnsure>
<performPublish>true</performPublish>
<retryFailedDeploymentCount>2</retryFailedDeploymentCount>
</configuration>
<executions>
<!-- Activate "bintray:deploy" during "deploy" -->
<execution>
<id>bintray-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down