Skip to content

Commit

Permalink
Update version 0.3.0 (#56)
Browse files Browse the repository at this point in the history
* update verison and fix github template

* add  snapshot profile
  • Loading branch information
QilongZhang authored and straybirdzls committed May 14, 2018
1 parent 20962e8 commit b360984
Show file tree
Hide file tree
Showing 28 changed files with 75 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Ask_Question.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe the advice or solution you'd like

### Environment

- SOFARPC version:
- SOFAArk version:
- JVM version (e.g. `java -version`):
- OS version (e.g. `uname -a`):
- Maven version:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_Report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A clear and concise description of what the bug is.

### Environment

- SOFARPC version:
- SOFAArk version:
- JVM version (e.g. `java -version`):
- OS version (e.g. `uname -a`):
- Maven version:
Expand Down
45 changes: 40 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
<packaging>pom</packaging>

<modules>
Expand Down Expand Up @@ -201,16 +201,51 @@
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>

<profile>
<id>snapshot</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${maven.staging.plugin}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.pluign}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>

</project>
2 changes: 1 addition & 1 deletion sofa-ark-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-parent</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-all</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core-impl/archive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-core-impl</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-archive</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core-impl/container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-core-impl</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-container</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-parent</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-core-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-core</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core/exception/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-core</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-exception</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-parent</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/core/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-core</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-spi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-bom</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
<relativePath>../sofa-ark-bom</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/ark-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-support</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>maven-plugin</packaging>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/ark-plugin-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-support</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/ark-springboot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-support</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/ark-support-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-support</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/ark-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sofa-ark-support</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-tools</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-parent/support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-parent</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>sofa-ark</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>sofa-ark-samples</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions sofa-ark-samples/sample-ark-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-plugin-maven-plugin</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</plugin>
```

Expand Down Expand Up @@ -103,7 +103,7 @@
<groupId>com.alipay.sofa</groupId>
<artifactId>sample-ark-plugin</artifactId>
<classifier>ark-plugin</classifier>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

2 changes: 1 addition & 1 deletion sofa-ark-samples/sample-ark-plugin/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ should add the following dependency in your consumer project:
<groupId>com.alipay.sofa</groupId>
<artifactId>sample-ark-plugin</artifactId>
<classifier>ark-plugin</classifier>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```
2 changes: 1 addition & 1 deletion sofa-ark-samples/sample-ark-plugin/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-sample-ark-plugin</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-samples/sample-ark-plugin/plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-sample-ark-plugin</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-samples/sample-ark-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-samples</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
10 changes: 5 additions & 5 deletions sofa-ark-samples/sample-springboot-ark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-maven-plugin</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</plugin>
```

Expand All @@ -32,7 +32,7 @@
<groupId>com.alipay.sofa</groupId>
<artifactId>sample-ark-plugin</artifactId>
<classifier>ark-plugin</classifier>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

Expand Down Expand Up @@ -87,7 +87,7 @@
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-springboot-starter</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

Expand All @@ -97,7 +97,7 @@
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-support-starter</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

Expand Down Expand Up @@ -175,4 +175,4 @@ public class TestNGTest {
}
```

上述用例打了 `@TestNGTest`,因此在执行该测试用例时,会先启动 Ark Container。
上述用例打了 `@TestNGTest`,因此在执行该测试用例时,会先启动 Ark Container。
8 changes: 4 additions & 4 deletions sofa-ark-samples/sample-springboot-ark/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add a dependency in main `pom.xml` as follows:
<groupId>com.alipay.sofa</groupId>
<artifactId>sample-ark-plugin</artifactId>
<classifier>ark-plugin</classifier>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

Expand Down Expand Up @@ -97,7 +97,7 @@ value of `outputDirectory`.

## run in command line
we support command such as `java -jar executable-ark.jar` to startup application, similar to what this sample
project does, execute command line: `java -jar target/sofa-ark-sample-springboot-ark-0.3.0-SNAPSHOT-executable-ark.jar`
project does, execute command line: `java -jar target/sofa-ark-sample-springboot-ark-0.3.0-executable-ark.jar`
to startup this demo.

## run in IDE
Expand All @@ -110,7 +110,7 @@ you should add dependency as follows:
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-springboot-starter</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```
+ Common Java Project
Expand All @@ -120,7 +120,7 @@ you should add dependency as follows:
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-support-starter</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion sofa-ark-samples/sample-springboot-ark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sofa-ark-samples</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit b360984

Please sign in to comment.