You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/03/18 22:09:12 UTC
[incubator-skywalking] branch master updated: Asf/5.0 alpha/release
(#959)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new dcd6a71 Asf/5.0 alpha/release (#959)
dcd6a71 is described below
commit dcd6a71fcefa9ee31332ad20435728535827c24a
Author: 彭勇升 pengys <80...@qq.com>
AuthorDate: Mon Mar 19 06:09:09 2018 +0800
Asf/5.0 alpha/release (#959)
* Update docs for alpha release
* Delete a comma.
* Update How-to-build.md
* Add data-set licenses file
* Rename LICENSES-data-set to LICENSE-data-set
* Update LICENSE
* Remove fastclick from LICENSE
* Make the git submodule command to be a maven profile plugin. Let this command not execute by default install command.
* [maven-release-plugin] prepare release apm-5.0.0-alpha
* [maven-release-plugin] prepare for next development iteration
* Product name is not correct
* Add more documents for release.
* Change profile id.
* Add CHANGES file in distribution file.
* Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit ac81501929f72ab3a276b8d782759eb6f652bfa3.
* Revert "[maven-release-plugin] prepare release apm-5.0.0-alpha"
This reverts commit 095597c9189589667c2a333d85bd46f6dca90c80.
* Add rat plugin to check dependency license and add license head into missing files.
* Fix docs.
* Exclude web ui config file.
* Next release guide.
* UI update.
* Update docs.
* Build source shell.
---
.travis.yml | 2 +-
CHANGELOG.md => CHANGES.md | 4 +-
LICENSE | 4 +-
NOTICE | 10 +-
.../META-INF.services/io.opentracing.Tracer | 18 +++
.../resources/META-INF/defines/test_define.define | 18 +++
.../main/resources/META-INF/defines/storage.define | 18 +++
.../main/resources/META-INF/defines/storage.define | 18 +++
apm-dist/bin/collectorService.bat | 16 ++
apm-dist/bin/collectorService.sh | 16 ++
apm-dist/bin/startup.bat | 16 ++
apm-dist/bin/startup.sh | 16 ++
apm-dist/bin/webappService.bat | 16 ++
apm-dist/bin/webappService.sh | 16 ++
apm-dist/pom.xml | 34 +++-
apm-dist/release-docs/README.txt | 49 ++++++
apm-dist/src/main/assembly/binary.xml | 7 +
.../apm-sdk-plugin/hystrix-1.x-plugin/pom.xml | 26 ++-
.../apm-sdk-plugin/servicecomb-plugin/pom.xml | 22 ++-
.../servicecomb-java-chassis-0.x-plugin/pom.xml | 25 ++-
.../servicecomb-java-chassis-1.x-plugin/pom.xml | 18 +++
apm-webapp/pom.xml | 23 ++-
docs/README.md | 1 +
docs/cn/How-to-build-CN.md | 18 ++-
docs/cn/Quick-start-CN.md | 2 +-
docs/en/How-to-build.md | 18 ++-
docs/en/How-to-release.md | 174 +++++++++++++++++++--
docs/en/Quick-start.md | 2 +-
licenses/LICENSE-data-set | 21 +++
pom.xml | 125 +++++++++++++--
skywalking-ui | 2 +-
tools/releasing/create_source_release.sh | 51 ++++++
32 files changed, 736 insertions(+), 70 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 8b2c7b1..7efdefd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,6 @@ before_install:
install:
- jdk_switcher use oraclejdk8
- - mvn clean install --quiet jacoco:report coveralls:report
+ - mvn clean install -Ptravis-ci-submodule --quiet jacoco:report coveralls:report
- mvn clean javadoc:javadoc -Dmaven.test.skip=true --quiet
diff --git a/CHANGELOG.md b/CHANGES.md
similarity index 97%
rename from CHANGELOG.md
rename to CHANGES.md
index 552f2c0..362dead 100644
--- a/CHANGELOG.md
+++ b/CHANGES.md
@@ -1,6 +1,6 @@
- Release Notes.
- Changes by Version
+ Changes by Version
==================
+ Release Notes.
5.0.0-alpha
------------------
diff --git a/LICENSE b/LICENSE
index 44f7952..a645858 100644
--- a/LICENSE
+++ b/LICENSE
@@ -248,10 +248,10 @@ The text of each license is also included at licenses/LICENSE-[project].txt.
cytoscape-cose-bilkent: https://github.com/cytoscape/cytoscape.js-cose-bilkent , MIT
cytoscape-node-html-label: https://github.com/kaluginserg/cytoscape-node-html-label , MIT
cytoscape: https://github.com/cytoscape/cytoscape.js , MIT
+ data-set: https://github.com/antvis/data-set/ , MIT
dva-loading: https://github.com/dvajs/dva , MIT
dva: https://github.com/dvajs/dva , MIT
enquire-js: https://github.com/jljsj/enquire-js , MIT
- fastclick: https://github.com/ftlabs/fastclick , MIT
lodash-decorators: https://github.com/steelsojka/lodash-decorators , MIT
lodash: https://github.com/lodash/lodash , MIT
moment: https://github.com/moment/moment , MIT
@@ -285,4 +285,4 @@ MPL 2.0 licenses
The following components are provided under a MPL 2.0 license. See project link for details.
The text of each license is also included at licenses/LICENSE-[project].txt.
- H2 Database: http://www.h2database.com/html/main.html , MPL 2.0 or EPL 1.0
\ No newline at end of file
+ H2 Database: http://www.h2database.com/html/main.html , MPL 2.0 or EPL 1.0
diff --git a/NOTICE b/NOTICE
index c5f3387..5ef8686 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,4 +1,4 @@
-Apache SkyWaling
+Apache SkyWalking
Copyright 2017-2018 The Apache Software Foundation
This product includes software developed at
@@ -44,14 +44,6 @@ networking library, which can be obtained at:
* LOCATION_IN_GRPC:
* netty/third_party/netty
-========================================================================
-elasticsearch NOTICE
-========================================================================
-Elasticsearch
-Copyright 2009-2017 Elasticsearch
-
-This product includes software developed by The Apache Software
-Foundation (http://www.apache.org/).
==============================================================
Jetty NOTICE
diff --git a/apm-application-toolkit/apm-toolkit-opentracing/src/main/resources/META-INF.services/io.opentracing.Tracer b/apm-application-toolkit/apm-toolkit-opentracing/src/main/resources/META-INF.services/io.opentracing.Tracer
index 6184cc8..894da6a 100644
--- a/apm-application-toolkit/apm-toolkit-opentracing/src/main/resources/META-INF.services/io.opentracing.Tracer
+++ b/apm-application-toolkit/apm-toolkit-opentracing/src/main/resources/META-INF.services/io.opentracing.Tracer
@@ -1 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
org.apache.skywalking.apm.toolkit.opentracing.SkyWalkingTracer
diff --git a/apm-collector/apm-collector-core/src/test/resources/META-INF/defines/test_define.define b/apm-collector/apm-collector-core/src/test/resources/META-INF/defines/test_define.define
index f43c533..53e3f41 100644
--- a/apm-collector/apm-collector-core/src/test/resources/META-INF/defines/test_define.define
+++ b/apm-collector/apm-collector-core/src/test/resources/META-INF/defines/test_define.define
@@ -1 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
org.apache.skywalking.apm.collector.core.define.ServiceImpl
diff --git a/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define b/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define
index 2087613..1f9e7a8 100644
--- a/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define
+++ b/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
org.apache.skywalking.apm.collector.storage.es.define.register.ApplicationEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.register.InstanceEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.register.ServiceNameEsTableDefine
diff --git a/apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/resources/META-INF/defines/storage.define b/apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/resources/META-INF/defines/storage.define
index e6ee39b..0f044a0 100644
--- a/apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/resources/META-INF/defines/storage.define
+++ b/apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/resources/META-INF/defines/storage.define
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
org.apache.skywalking.apm.collector.storage.h2.define.register.NetworkAddressH2TableDefine
org.apache.skywalking.apm.collector.storage.h2.define.register.ApplicationH2TableDefine
org.apache.skywalking.apm.collector.storage.h2.define.register.InstanceH2TableDefine
diff --git a/apm-dist/bin/collectorService.bat b/apm-dist/bin/collectorService.bat
index 3bbbd38..00bad07 100644
--- a/apm-dist/bin/collectorService.bat
+++ b/apm-dist/bin/collectorService.bat
@@ -1,3 +1,19 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one or more
+@REM contributor license agreements. See the NOTICE file distributed with
+@REM this work for additional information regarding copyright ownership.
+@REM The ASF licenses this file to You under the Apache License, Version 2.0
+@REM (the "License"); you may not use this file except in compliance with
+@REM the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@REM See the License for the specific language governing permissions and
+@REM limitations under the License.
+
@echo off
setlocal
diff --git a/apm-dist/bin/collectorService.sh b/apm-dist/bin/collectorService.sh
index 069a681..f20dad3 100644
--- a/apm-dist/bin/collectorService.sh
+++ b/apm-dist/bin/collectorService.sh
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#!/usr/bin/env sh
PRG="$0"
diff --git a/apm-dist/bin/startup.bat b/apm-dist/bin/startup.bat
index 7c00ffb..4feecf3 100644
--- a/apm-dist/bin/startup.bat
+++ b/apm-dist/bin/startup.bat
@@ -1,3 +1,19 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one or more
+@REM contributor license agreements. See the NOTICE file distributed with
+@REM this work for additional information regarding copyright ownership.
+@REM The ASF licenses this file to You under the Apache License, Version 2.0
+@REM (the "License"); you may not use this file except in compliance with
+@REM the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@REM See the License for the specific language governing permissions and
+@REM limitations under the License.
+
@echo off
setlocal
diff --git a/apm-dist/bin/startup.sh b/apm-dist/bin/startup.sh
index 20f3b3b..72cd520 100644
--- a/apm-dist/bin/startup.sh
+++ b/apm-dist/bin/startup.sh
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#!/usr/bin/env sh
PRG="$0"
diff --git a/apm-dist/bin/webappService.bat b/apm-dist/bin/webappService.bat
index daefd06..22f182d 100644
--- a/apm-dist/bin/webappService.bat
+++ b/apm-dist/bin/webappService.bat
@@ -1,3 +1,19 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one or more
+@REM contributor license agreements. See the NOTICE file distributed with
+@REM this work for additional information regarding copyright ownership.
+@REM The ASF licenses this file to You under the Apache License, Version 2.0
+@REM (the "License"); you may not use this file except in compliance with
+@REM the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@REM See the License for the specific language governing permissions and
+@REM limitations under the License.
+
@echo off
setlocal
diff --git a/apm-dist/bin/webappService.sh b/apm-dist/bin/webappService.sh
index 9ecb497..c915ff2 100644
--- a/apm-dist/bin/webappService.sh
+++ b/apm-dist/bin/webappService.sh
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#!/usr/bin/env sh
PRG="$0"
diff --git a/apm-dist/pom.xml b/apm-dist/pom.xml
index 6b75f1f..e8be69e 100644
--- a/apm-dist/pom.xml
+++ b/apm-dist/pom.xml
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>apm</artifactId>
<groupId>org.apache.skywalking</groupId>
@@ -7,7 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>apm-dist</artifactId>
+ <artifactId>apache-skywalking-apm-incubating</artifactId>
<packaging>pom</packaging>
@@ -30,7 +49,7 @@
</dependencies>
<build>
- <finalName>skywalking-dist</finalName>
+ <finalName>apache-skywalking-apm-incubating</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -65,8 +84,12 @@
</goals>
<configuration>
<tasks>
- <copy file="${project.build.directory}/skywalking-dist.tar.gz" tofile="${project.basedir}/../dist/skywalking-dist.tar.gz" overwrite="true" />
- <copy file="${project.build.directory}/skywalking-dist.zip" tofile="${project.basedir}/../dist/skywalking-dist.zip" overwrite="true" />
+ <copy file="${project.build.directory}/apache-skywalking-apm-incubating.tar.gz"
+ tofile="${project.basedir}/../dist/apache-skywalking-apm-incubating.tar.gz"
+ overwrite="true"/>
+ <copy file="${project.build.directory}/apache-skywalking-apm-incubating.zip"
+ tofile="${project.basedir}/../dist/apache-skywalking-apm-incubating.zip"
+ overwrite="true"/>
</tasks>
</configuration>
</execution>
@@ -74,5 +97,4 @@
</plugin>
</plugins>
</build>
-
</project>
\ No newline at end of file
diff --git a/apm-dist/release-docs/README.txt b/apm-dist/release-docs/README.txt
new file mode 100644
index 0000000..d704ef9
--- /dev/null
+++ b/apm-dist/release-docs/README.txt
@@ -0,0 +1,49 @@
+Welcome to Apache SkyWalking
+===============================================================================
+
+SkyWalking: APM (application performance monitor) tool for distributed systems,
+especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
+Underlying technology is a distributed tracing system.
+
+SkyWalking provides a high performance Java agent, lets the users don't need to change any source codes for instrumentation
+and distributed tracing.
+At the same time, SkyWalking provides backend, including collector and UI, to aggregate, analysis metrics and traces.
+In order to visualize the performance data, distributed traces, application topology and alarms.
+
+SkyWalking "Trace Data Protocol" and "Cross Process Propagation Headers Protocol" open for any other agent implementors, e.g. other language agent or SDK. You can use
+You can use our backend to analysis and visualize your data, even can interop your agent/SDK with SkyWalking Java agent.
+
+SkyWalking backend can be used for other language agent/SDKs, it doesn't design just for Java.
+
+Getting Started
+===============================================================================
+To help you get started, try the following links:
+
+Getting Started
+ https://github.com/apache/incubator-skywalking/blob/master/docs/en/Quick-start.md
+
+Building
+ https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md
+
+We welcome contributions of all kinds, for details of how you can help
+ https://github.com/apache/incubator-skywalking/blob/master/CONTRIBUTING.md
+
+Find the issue tracker from here
+ https://github.com/apache/incubator-skywalking/issues
+
+Find our roadmap
+ https://github.com/apache/incubator-skywalking/blob/master/docs/ROADMAP.md
+
+
+Please help us make Apache SkyWalking better - we appreciate any feedback
+you may have.
+
+Enjoy!
+
+-----------------
+
+Licensing
+===============================================================================
+
+This software is licensed under the terms you may find in the file
+named "LICENSE" in this directory.
\ No newline at end of file
diff --git a/apm-dist/src/main/assembly/binary.xml b/apm-dist/src/main/assembly/binary.xml
index 3dd3426..9f20b4c 100644
--- a/apm-dist/src/main/assembly/binary.xml
+++ b/apm-dist/src/main/assembly/binary.xml
@@ -54,16 +54,23 @@
<outputDirectory>/agent</outputDirectory>
</fileSet>
+ <!-- Release docs and licenses -->
<fileSet>
<directory>${project.basedir}/../</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>NOTICE</include>
<include>LICENSE</include>
+ <include>CHANGES</include>
</includes>
</fileSet>
<fileSet>
+ <directory>${project.basedir}/release-docs</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+
+ <fileSet>
<directory>${project.basedir}/../licenses</directory>
<outputDirectory>/licenses</outputDirectory>
</fileSet>
diff --git a/apm-sniffer/apm-sdk-plugin/hystrix-1.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/hystrix-1.x-plugin/pom.xml
index 9c72706..6987ea2 100644
--- a/apm-sniffer/apm-sdk-plugin/hystrix-1.x-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/hystrix-1.x-plugin/pom.xml
@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>apm-sdk-plugin</artifactId>
<groupId>org.apache.skywalking</groupId>
@@ -9,7 +29,6 @@
<artifactId>apm-hystrix-1.x-plugin</artifactId>
-
<dependencies>
<dependency>
<groupId>com.netflix.hystrix</groupId>
@@ -18,5 +37,4 @@
<scope>provided</scope>
</dependency>
</dependencies>
-
-</project>
+</project>
\ No newline at end of file
diff --git a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/pom.xml
index d21081b..5052f44 100644
--- a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/pom.xml
@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>apm-sdk-plugin</artifactId>
<groupId>org.apache.skywalking</groupId>
diff --git a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-0.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-0.x-plugin/pom.xml
index d946453..a8a86ed 100644
--- a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-0.x-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-0.x-plugin/pom.xml
@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>servicecomb-plugin</artifactId>
<groupId>org.apache.skywalking</groupId>
@@ -12,8 +32,7 @@
<name>servicecomb-java-chassis-0.x-plugin</name>
<url>http://maven.apache.org</url>
-
-
+
<dependencies>
<dependency>
<groupId>io.servicecomb</groupId>
diff --git a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-1.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-1.x-plugin/pom.xml
index 28b77e5..fdc5747 100644
--- a/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-1.x-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-1.x-plugin/pom.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/apm-webapp/pom.xml b/apm-webapp/pom.xml
index 0a68c66..d858144 100644
--- a/apm-webapp/pom.xml
+++ b/apm-webapp/pom.xml
@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>apm</artifactId>
<groupId>org.apache.skywalking</groupId>
@@ -151,5 +171,4 @@
</plugin>
</plugins>
</build>
-
</project>
\ No newline at end of file
diff --git a/docs/README.md b/docs/README.md
index 3bdfa68..22e5489 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -22,6 +22,7 @@
* Protocol
* [Cross Process Propagation Headers Protocol, v1.0](en/Skywalking-Cross-Process-Propagation-Headers-Protocol-v1.md)
* [SkyWalking Trace Data Protocol](en/Trace-Data-Protocol.md)
+ * [Release Guide](en/How-to-release.md)
* [Roadmap](ROADMAP.md)
* Resources provided by community
* [Public speakings](https://github.com/OpenSkywalking/Community#public-speakings)
diff --git a/docs/cn/How-to-build-CN.md b/docs/cn/How-to-build-CN.md
index 3be7471..c39e59d 100644
--- a/docs/cn/How-to-build-CN.md
+++ b/docs/cn/How-to-build-CN.md
@@ -4,15 +4,25 @@
### 前言
因为工程结构和代码依赖会随版本变化,如果读者熟悉travis-ci,则可直接参考[.travis.yml](../../.travis.yml)
-### 编译步骤
-1. 准备环境,jdk8,Maven
+**工程使用Git Submodule,所以不建议使用GitHub的tag和release页面的源码下载,来编译工程**
+
+### 从GitHub下载代码编译
+1. 准备环境: git, jdk8,Maven
1. `git clone https://github.com/apache/incubator-skywalking.git`
+1. `cd incubator-skywalking/`
+1. 切换到tag `git checkout [tagname]` (可选,当需要编译发行版本时,请是切换到指定分支)
1. `git submodule init`
1. `git submodule update`
1. 执行`mvn clean package`
-1. 生成包在`/dist`目录下,两个skywalking-dist包(.tar.gz是linux环境,.zip是windows环境)
+1. 生成包在`/dist`目录下,共发布包(.tar.gz是linux环境,.zip是windows环境)
+
+### 从Apache源码镜像下载编译
+1. 准备环境: jdk8,Maven
+1. 执行`mvn clean package`
+1. 生成包在`/dist`目录下,共发布包(.tar.gz是linux环境,.zip是windows环境)
+
-### 在IntelliJ IDEA中编译工程
+## 在IntelliJ IDEA中编译工程
上述步骤在命令行中,能够很好的编译工程,但导入到编译器中的工程依然会有一些报错,我们需要进行几步简单的操作。
1. 在IntelliJ Terminal中,执行`mvn compile -Dmaven.test.skip=true`进行编译
1. 设置gRPC的自动生成代码目录,为源码目录
diff --git a/docs/cn/Quick-start-CN.md b/docs/cn/Quick-start-CN.md
index 211982c..a718cfb 100644
--- a/docs/cn/Quick-start-CN.md
+++ b/docs/cn/Quick-start-CN.md
@@ -1,5 +1,5 @@
# 部署步骤
-1. 在Maven Central中下载 `org.apache.skywalking.apm-dist`. 或者本地编译程序,在`dist`目录中找到`skywalking-dist.tar.gz/.zip`.
+1. 下载`apache-skywalking-apm-incubating-x.y.z.tar.gz` 或 `apache-skywalking-apm-incubating-x.y.z.zip`
1. 部署 Backend
1. [单机模式](Deploy-backend-in-standalone-mode-CN.md)
1. [集群模式](Deploy-backend-in-cluster-mode-CN.md)
diff --git a/docs/en/How-to-build.md b/docs/en/How-to-build.md
index 290e061..f744af1 100644
--- a/docs/en/How-to-build.md
+++ b/docs/en/How-to-build.md
@@ -1,13 +1,23 @@
# How to build project
-This document helps people to compile and build the project in your maven and IDE.
+This document helps people to compile and build the project in your maven and set your IDE.
-## Build in maven
-1. Prepare JDK8 and maven3
+## Build Project
+**Because we are using Git submodule, we recommend don't use `GitHub` tag or release page to download source codes for compiling.**
+
+### Build from GitHub
+1. Prepare git, JDK8 and maven3
1. `git clone https://github.com/apache/incubator-skywalking.git`
+1. `cd incubator-skywalking/`
+1. Switch to the tag by using `git checkout [tagname]` (Optional, switch if want to build a release from source codes)
1. `git submodule init`
1. `git submodule update`
1. Run `mvn clean package`
-1. All packages are in `/dist`, which includes and two collector files(.tar.gz for Linux and .zip for Windows)
+1. All packages are in `/dist`, which includes two files(.tar.gz for Linux and .zip for Windows).
+
+### Build from Apache source codes
+1. Prepare JDK8 and maven3
+1. Run `mvn clean package`
+1. All packages are in `/dist`, which includes two files(.tar.gz for Linux and .zip for Windows).
## Setup your IntelliJ IDEA
1. Import the project as a maven project
diff --git a/docs/en/How-to-release.md b/docs/en/How-to-release.md
index 41176be..70053f1 100644
--- a/docs/en/How-to-release.md
+++ b/docs/en/How-to-release.md
@@ -1,16 +1,164 @@
Apache SkyWalking release guide
--------------------
+This documents guide every committer to release SkyWalking in Apache Way,
+and also help committers to check the release for vote.
-Ref:
-* http://tiles.apache.org/framework/dev/release.html
-* http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env
-
-Important things list:
-* Maven releases, and the nexus staging repository, and download artifacts upload
-* All artifacts are published with .asc, .md5, *sha1 files
-* The *.asc files are signed with a gpg key that's part of apache's ring of trust
-* Sync'ing this to releases and tags in github
-* Making the internal announcements
-* Calling a vote
-* Moving the staging repository to a public repository, making download artifacts public
-* Making the final public announcement
\ No newline at end of file
+
+## SETUP YOUR DEVELOPMENT ENVIRONMENT
+Use the following block as a template and place it in ~/.m2/settings.xml
+
+```
+<settings>
+...
+ <servers>
+ <!-- To publish a snapshot of some part of Maven -->
+ <server>
+ <id>apache.snapshots.https</id>
+ <username> <!-- YOUR APACHE LDAP USERNAME --> </username>
+ <password> <!-- YOUR APACHE LDAP PASSWORD (encrypted) --> </password>
+ </server>
+ <!-- To stage a release of some part of Maven -->
+ <server>
+ <id>apache.releases.https</id>
+ <username> <!-- YOUR APACHE LDAP USERNAME --> </username>
+ <password> <!-- YOUR APACHE LDAP PASSWORD (encrypted) --> </password>
+ </server>
+ ...
+ </servers>
+</settings>
+```
+
+## TEST YOUR SETTINGS
+```
+mvn clean install -Papache-release (this will build artifacts, sources and sign)
+```
+
+## PREPARE THE RELEASE
+```
+mvn release:clean
+mvn release:prepare
+```
+
+## STAGE THE RELEASE FOR A VOTE
+```
+mvn release:perform
+```
+The release will automatically be inserted into a temporary staging repository for you.
+
+## Build the source code package
+TODO
+
+## Sign the distribution and source code package
+TODO
+
+## Upload to Apache svn
+TODO
+
+
+## Make the internal announcements
+Send an announcement mail in dev mail list.
+
+```
+Mail title: [ANNOUNCE] SkyWalking x.y.z test build available
+
+Mail content:
+The test build of x.y.z is available.
+
+This is our Apache Incubator release.
+We welcome any comments you may have, and will take all feedback into
+account if a quality vote is called for this build.
+
+Release notes:
+
+ * https://github.com/apache/incubator-skywalking/blob/master/CHANGELOG.md
+
+Release Candidate:
+
+ * https://dist.apache.org/repos/dist/dev/incubator/skywalking/xxxx
+
+Maven 2 staging repository:
+
+ * https://repository.apache.org/content/repositories/xxxx/org/apache/skywalking/
+
+Release Tag :
+
+ * (Git Tag)
+
+Release CommitID :
+
+ * (Git Commit ID)
+
+Keys to verify the Release Candidate :
+
+ * http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2EF5026E70A55777 corresponding to pengys@apache.org
+
+Guide to build the release from source :
+
+ * https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md
+
+A vote regarding the quality of this test build will be initiated
+within the next couple of days.
+```
+
+## Wait at least 48 hours for test responses
+Any PPMC, committer or contributor can test features and visualization this version, and feedback.
+PPMC will decide whether start a vote.
+
+## Call a vote in dev
+Call a vote in `dev@skywalking.apache.org`
+
+```
+Mail title: [VOTE] Release Apache SkyWalking (incubating) version x.y.z
+
+Mail content:
+Hi All,
+This is a call for vote to release Apache SkyWalking (Incubating) version x.y.z.
+
+Release notes:
+
+ * https://github.com/apache/incubator-skywalking/blob/master/CHANGELOG.md
+
+Release Candidate:
+
+ * https://dist.apache.org/repos/dist/dev/incubator/skywalking/xxxx
+
+Maven 2 staging repository:
+
+ * https://repository.apache.org/content/repositories/xxxx/org/apache/skywalking/
+
+Release Tag :
+
+ * (Git Tag)
+
+Release CommitID :
+
+ * (Git Commit ID)
+
+Keys to verify the Release Candidate :
+
+ * http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2EF5026E70A55777 corresponding to pengys@apache.org
+
+Guide to build the release from source :
+
+ * https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md
+
+Voting will start now (xxxx date) and will remain open for at least 72 hours, Request all PPMC members to give their vote.
+[ ] +1 Release this package.
+[ ] +0 No opinion.
+[ ] -1 Do not release this package because....
+```
+
+## Vote Check
+All PPMC members and committers should check these before vote +1.
+
+1. Features test.
+1. All artifacts in staging repository are published with .asc, .md5, *sha1 files
+1. Source code and distribution package (apache-skywalking-incubating-x.y.z.src.tar.gz, apache-skywalking-incubating-x.y.z.tar.gz, apache-skywalking-incubating-x.y.z.zip)
+`in svn.apache.org` with .asc, .sha512, .sha256
+1. `LICENSE` and `NOTICE` are in Source code and distribution package.
+1. Check `shasum`
+1. Build distribution from source code package (apache-skywalking-incubating-x.y.z.src.tar.gz)
+1. Apache RAT check.
+
+## Call for a vote in Apache IPMC
+Call a vote in `general@incubator.apache.org`
\ No newline at end of file
diff --git a/docs/en/Quick-start.md b/docs/en/Quick-start.md
index 398ac04..d903af2 100644
--- a/docs/en/Quick-start.md
+++ b/docs/en/Quick-start.md
@@ -1,5 +1,5 @@
# Quick start
-1. Download `org.apache.skywalking.apm-dist` in maven central. Or find `skywalking-dist.tar.gz/.zip` in `dist` folder after `mvn clean package`.
+1. Download `apache-skywalking-apm-incubating-x.y.z.tar.gz` or `apache-skywalking-apm-incubating-x.y.z.zip`
1. Deploy Backend
- [Standalone Mode](Deploy-backend-in-standalone-mode.md)
- [Cluster Mode](Deploy-backend-in-cluster-mode.md)
diff --git a/licenses/LICENSE-data-set b/licenses/LICENSE-data-set
new file mode 100644
index 0000000..80f9d60
--- /dev/null
+++ b/licenses/LICENSE-data-set
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017 Alipay.inc
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/pom.xml b/pom.xml
index 3ba7a61..b58c6a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,27 +144,86 @@
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/DISCLAIMER</exclude>
+ <exclude>**/licenses/**</exclude>
+ <exclude>**/codeStyle.xml</exclude>
+
+ <!-- IDE files -->
+ <exclude>**/*.iml</exclude>
+ <exclude>**/.idea/**</exclude>
+ <exclude>**/*.classpath</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.settings/**</exclude>
+ <exclude>**/dependency-reduced-pom.xml</exclude>
+
+ <!-- git files -->
+ <exclude>**/.gitignore</exclude>
+ <exclude>**/.gitmodules</exclude>
+ <exclude>**/.git/**</exclude>
+
+ <!-- CI files -->
+ <exclude>**/.travis.yml</exclude>
+ <exclude>**/ci-dependencies/**</exclude>
+
+ <!-- GitHub files -->
+ <exclude>**/.github/**</exclude>
+
+ <!-- document files -->
+ <exclude>**/*.md</exclude>
+ <excldue>**/*.MD</excldue>
+ <exclude>**/*.txt</exclude>
+ <exclude>**/docs/**</exclude>
+
+ <!--configuration file -->
+ <exclude>**/*.yml</exclude>
+ <exclude>**/*.config</exclude>
+
+ <!--protocol file -->
+ <exclude>**/*.graphqls</exclude>
+ <exclude>**/*.proto</exclude>
+
+ <!--Test Data-->
+ <exclude>**/src/test/resources/**</exclude>
+ <exclude>**/*.def</exclude>
+
+ <!-- front end libary and generated files -->
+ <exclude>**/skywalking-ui/node_modules/**</exclude>
+ <exclude>**/skywalking-ui/node/**</exclude>
+ <exclude>**/skywalking-ui/.localized</exclude>
+ <exclude>**/skywalking-ui/.webpackrc.js</exclude>
+ <exclude>**/skywalking-ui/mock/.gitkeep</exclude>
+ <exclude>**/skywalking-ui/.ga</exclude>
+ <exclude>**/skywalking-ui/.eslintrc</exclude>
+ <exclude>**/skywalking-ui/.editorconfig</exclude>
+ <exclude>**/skywalking-ui/.stylelintrc</exclude>
+ <exclude>**/skywalking-ui/.roadhogrc.mock.js</exclude>
+ <exclude>**/skywalking-ui/dist/**</exclude>
+
+ <!--web UI config JSON files -->
+ <exclude>skywalking-ui/package.json</exclude>
+ <exclude>skywalking-ui/package-lock.json</exclude>
+ </excludes>
+ </configuration>
<executions>
<execution>
- <id>git submodule update</id>
- <phase>initialize</phase>
- <inherited>false</inherited>
- <configuration>
- <executable>git</executable>
- <arguments>
- <argument>submodule</argument>
- <argument>update</argument>
- <argument>--init</argument>
- <argument>--recursive</argument>
- </arguments>
- </configuration>
+ <phase>verify</phase>
<goals>
- <goal>exec</goal>
+ <goal>check</goal>
</goals>
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
<execution>
<id>install-jmxtools</id>
<inherited>false</inherited>
@@ -336,6 +395,40 @@
<profiles>
<profile>
+ <id>travis-ci-submodule</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>git submodule update</id>
+ <phase>initialize</phase>
+ <inherited>false</inherited>
+ <configuration>
+ <executable>git</executable>
+ <arguments>
+ <argument>submodule</argument>
+ <argument>update</argument>
+ <argument>--init</argument>
+ <argument>--recursive</argument>
+ </arguments>
+ </configuration>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<!-- ojdbc is not Apache license compatible, so it must be manually downloaded first -->
<id>install-ojdbc</id>
<activation>
diff --git a/skywalking-ui b/skywalking-ui
index 9c503a2..25c2a7a 160000
--- a/skywalking-ui
+++ b/skywalking-ui
@@ -1 +1 @@
-Subproject commit 9c503a299aa3cba211e851e507d5625cc7cc0dd5
+Subproject commit 25c2a7a05f25c8844eb1128fdceed50d97bc4316
diff --git a/tools/releasing/create_source_release.sh b/tools/releasing/create_source_release.sh
new file mode 100755
index 0000000..a08f700
--- /dev/null
+++ b/tools/releasing/create_source_release.sh
@@ -0,0 +1,51 @@
+#!/usr/bin/env bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##
+## Variables with defaults (if not overwritten by environment)
+##
+RELEASE_VERSION=${RELEASE_VERSION}
+PRODUCT_NAME="apache-skywalking-apm-incubating"
+
+if [ "$RELEASE_VERSION" == "" ]; then
+ echo "RELEASE_VERSION variable is null"
+ exit 1
+fi
+
+echo "Creating source package"
+
+PRODUCT_NAME=${PRODUCT_NAME}-${RELEASE_VERSION}
+
+rm -rf ${PRODUCT_NAME}
+mkdir ${PRODUCT_NAME}
+
+rsync -a ../../ \
+ --exclude ".git" --exclude ".gitignore" --exclude ".gitattributes" --exclude ".travis.yml" \
+ --exclude "deploysettings.xml" --exclude "CHANGELOG" --exclude ".github" --exclude "target" \
+ --exclude ".idea" --exclude "*.iml" --exclude ".DS_Store" --exclude "build-target" \
+ --exclude "/docs/" --exclude "/dist/" --exclude "/tools/" --exclude "/skywalking-agent/" \
+ --exclude "/skywalking-ui/dist/" --exclude "/skywalking-ui/node/" --exclude "/skywalking-ui/node_modules/" \
+ ${PRODUCT_NAME}
+
+tar czf ${PRODUCT_NAME}-src.tgz ${PRODUCT_NAME}
+
+gpg --armor --detach-sig $PRODUCT_NAME-src.tgz
+
+md5 -r $PRODUCT_NAME-src.tgz > $PRODUCT_NAME-src.tgz.md5
+shasum -a 512 $PRODUCT_NAME-src.tgz > $PRODUCT_NAME-src.tgz.sha
--
To stop receiving notification emails like this one, please contact
wusheng@apache.org.