-
Notifications
You must be signed in to change notification settings - Fork 8
Add several tools for release #12
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 all commits
4e0d8a2
498f253
b7f2aa1
955d52d
4ed99c2
7f13adc
527b4c4
682dde1
9305d35
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 |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
| <pluginGroups> | ||
| </pluginGroups> | ||
|
|
||
| <proxies> | ||
| </proxies> | ||
| <servers> | ||
| <server> | ||
| <id>sonatype_snapshots</id> | ||
| <username>${env.SONATYPE_USR}</username> | ||
| <password>${env.SONATYPE_PSWD}</password> | ||
| </server> | ||
| <server> | ||
| <id>sonatype_releases</id> | ||
| <username>${env.SONATYPE_USR}</username> | ||
| <password>${env.SONATYPE_PSWD}</password> | ||
| </server> | ||
| </servers> | ||
| <mirrors> | ||
| </mirrors> | ||
| <profiles> | ||
| <profile> | ||
| <id>gpg</id> | ||
| <properties> | ||
| <gpg.executable>gpg</gpg.executable> | ||
| <gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname> | ||
| <gpg.passphrase>${env.GPG_PSWD}</gpg.passphrase> | ||
| </properties> | ||
| </profile> | ||
| </profiles> | ||
|
|
||
| <activeProfiles> | ||
| <activeProfile>gpg</activeProfile> | ||
| </activeProfiles> | ||
| </settings> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,8 +7,9 @@ | |
| <groupId>org.sqlflow</groupId> | ||
|
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. Just confusion about the
Collaborator
Author
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. |
||
| <artifactId>jsqlflow</artifactId> | ||
| <packaging>jar</packaging> | ||
| <version>1.0-SNAPSHOT</version> | ||
| <version>0.0.1</version> | ||
|
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. maybe the version start from
Collaborator
Author
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. Agree. |
||
| <name>jsqlflow</name> | ||
| <description>SQLFlow client</description> | ||
| <url>https://github.com/sql-machine-learning/jsqlflow</url> | ||
|
|
||
| <properties> | ||
|
|
@@ -19,6 +20,7 @@ | |
| <maven.compiler.target>1.8</maven.compiler.target> | ||
| <maven.compiler.source>1.8</maven.compiler.source> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>io.grpc</groupId> | ||
|
|
@@ -69,7 +71,21 @@ | |
| <version>1.6.2</version> | ||
| </extension> | ||
| </extensions> | ||
|
|
||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-javadoc-plugin</artifactId> | ||
| <executions> | ||
| <execution> | ||
| <id>attach-javadocs</id> | ||
| <goals> | ||
| <goal>jar</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <groupId>org.xolstice.maven.plugins</groupId> | ||
| <artifactId>protobuf-maven-plugin</artifactId> | ||
|
|
@@ -90,6 +106,7 @@ | |
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-enforcer-plugin</artifactId> | ||
|
|
@@ -108,6 +125,81 @@ | |
| </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>sonatype_releases</serverId> | ||
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
| <autoReleaseAfterClose>false</autoReleaseAfterClose> | ||
| </configuration> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-source-plugin</artifactId> | ||
| <version>3.2.0</version> | ||
| <executions> | ||
| <execution> | ||
| <id>attach-sources</id> | ||
| <goals> | ||
| <goal>jar-no-fork</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-gpg-plugin</artifactId> | ||
| <version>1.6</version> | ||
| <executions> | ||
| <execution> | ||
| <id>gpg</id> | ||
| <phase>verify</phase> | ||
| <goals> | ||
| <goal>sign</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
| <licenses> | ||
| <license> | ||
| <name>The Apache Software License, Version 2.0</name> | ||
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
| <distribution>repo</distribution> | ||
| </license> | ||
| </licenses> | ||
|
|
||
| <scm> | ||
| <url>https://github.com/sql-machine-learning/jsqlflow/tree/develop</url> | ||
| </scm> | ||
|
|
||
| <developers> | ||
| <developer> | ||
| <name>weiguoz</name> | ||
| <email>myxjtu@gmail.com</email> | ||
| <organization>http://sqlflow.org/</organization> | ||
| <timezone>+8</timezone> | ||
| </developer> | ||
| </developers> | ||
|
|
||
| <distributionManagement> | ||
| <repository> | ||
| <id>sonatype_releases</id> | ||
| <name>Nexus Release Repository</name> | ||
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> | ||
| </repository> | ||
| <snapshotRepository> | ||
| <id>sonatype_snapshots</id> | ||
| <name>Nexus Snapshot Repository</name> | ||
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
| </snapshotRepository> | ||
| </distributionManagement> | ||
| </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.
In fact, it will fail to run the script
mvn ...due to the incorrectgpgconfiguration.I left an issue #13