-
Notifications
You must be signed in to change notification settings - Fork 29
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
ECR-1526 Prepare for maven release #298
Changes from 1 commit
452901b
fb101f9
7360383
15ec297
9da08ee
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 |
---|---|---|
|
@@ -6,13 +6,13 @@ | |
<parent> | ||
<artifactId>exonum-java-binding-parent</artifactId> | ||
<groupId>com.exonum.binding</groupId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>0.1.0</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
<packaging>jar</packaging> | ||
|
||
<artifactId>exonum-java-binding-cryptocurrency-demo</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>0.1.0</version> | ||
<name>Exonum Java Binding: Cryptocurrency Java service</name> | ||
<description>A simple cryptocurrency Exonum Java service.</description> | ||
|
||
|
@@ -22,7 +22,7 @@ | |
<gson.version>2.8.5</gson.version> | ||
<protobuf.version>3.5.1</protobuf.version> | ||
<exonum-bom.version>1.0.0</exonum-bom.version> | ||
<exonum-java-testing.version>1.0-SNAPSHOT</exonum-java-testing.version> | ||
<exonum-java-testing.version>0.1.0</exonum-java-testing.version> | ||
</properties> | ||
|
||
<build> | ||
|
@@ -75,6 +75,13 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
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. Does such configuration excludes the module correctly (I remember you asked about this)? 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. It should. Tbh I'm not sure how to check it before our first deploy |
||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,52 @@ | |
|
||
<groupId>com.exonum.binding</groupId> | ||
<artifactId>exonum-java-binding-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>0.1.0</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>Exonum Java Binding Parent</name> | ||
<description> | ||
The Exonum Java Binding library. | ||
</description> | ||
<url>https://github.com/exonum/exonum-java-binding</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<organization> | ||
<name>Exonum.com</name> | ||
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 Exonum? 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. What else? Bitfury? 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. No, I meant Exonum without the domain name for our website. 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. Ok, sure. I didn't know we have 'Exonum' organization. |
||
<url>https://exonum.com/</url> | ||
</organization> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/exonum/exonum-java-binding.git</connection> | ||
<developerConnection>scm:git:[email protected]:/exonum/exonum-java-binding.git</developerConnection> | ||
<url>https://github.com/exonum/exonum-java-binding</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>sonatype-nexus-snapshots</id> | ||
<name>Sonatype Nexus Snapshots</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>sonatype-nexus-staging</id> | ||
<name>Nexus Release Repository</name> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<issueManagement> | ||
<system>github</system> | ||
<url>https://github.com/exonum/exonum-java-binding/issues</url> | ||
</issueManagement> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
|
@@ -126,13 +166,68 @@ | |
<artifactId>versions-maven-plugin</artifactId> | ||
<version>2.5</version> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.0.1</version> | ||
<configuration> | ||
<doclint>none</doclint> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.0.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>2.8.2</version> | ||
<executions> | ||
<execution> | ||
<id>default-deploy</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>deploy</goal> | ||
</goals> | ||
</execution> | ||
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. Does it deploy to sonatype staging with no additional configuration? 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. Should be enough for basic deploy |
||
</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> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
|
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.
I just wondering shouldn't we keep sync with core version?
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.
I think not at this point.