diff --git a/benchmark/consumer.sh b/benchmark/consumer.sh index e51643944978267ce695b04661bee67992219776..0ba054eb01077ea62e7c231025fc2c0abeb6cc89 100644 --- a/benchmark/consumer.sh +++ b/benchmark/consumer.sh @@ -1,5 +1,20 @@ #!/bin/sh +# 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. + # # $Id: consumer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $ # diff --git a/benchmark/producer.sh b/benchmark/producer.sh index 1462257f00f22cae8a2a072fdf75ab00670b3ed1..16552fd9d6e8482f39e5ff7049298aa321b1185d 100644 --- a/benchmark/producer.sh +++ b/benchmark/producer.sh @@ -1,4 +1,18 @@ #!/bin/sh +# 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. # # $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $ diff --git a/benchmark/runclass.sh b/benchmark/runclass.sh index afe6b6ef33fc9ac8d8b36558e1d9b0817783318e..14e712f133bbc29726902dd92a9115b636f5ceac 100644 --- a/benchmark/runclass.sh +++ b/benchmark/runclass.sh @@ -1,4 +1,18 @@ #!/bin/sh +# 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. # # $Id: runserver.sh 1831 2013-05-16 01:39:51Z shijia.wxr $ diff --git a/benchmark/tproducer.sh b/benchmark/tproducer.sh index f19d2c68dc1f26d6ed57ed84938b718b640f6da7..4aca55c7998f2d194601d94373a771484094f4a2 100644 --- a/benchmark/tproducer.sh +++ b/benchmark/tproducer.sh @@ -1,4 +1,18 @@ #!/bin/sh +# 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. # # $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $ diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml index ac562fac4ff0254cfaa42c01021a4f27de235f9b..c2d978244105412b67eb301cf64aeb9e95c7a469 100644 --- a/checkstyle/checkstyle.xml +++ b/checkstyle/checkstyle.xml @@ -28,7 +28,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -125,4 +125,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 381cdb1235920962124b540a46366ba5cc1620c9..8c20a239b389b78f22b179f10a2bb9096376798f 100644 --- a/pom.xml +++ b/pom.xml @@ -332,6 +332,18 @@ + + org.apache.rat + apache-rat-plugin + 0.12 + + + .travis.yml + CONTRIBUTING.md + bin/README.md + + + maven-resources-plugin 3.0.2 diff --git a/rocketmq-broker/src/main/resources/transaction.sql b/rocketmq-broker/src/main/resources/transaction.sql index aaefe4335f05ffcd47248502b9713242d6cd4701..881714c36f66475015f4a0f78844dbe4955498ef 100644 --- a/rocketmq-broker/src/main/resources/transaction.sql +++ b/rocketmq-broker/src/main/resources/transaction.sql @@ -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. +-- CREATE TABLE t_transaction( offset NUMERIC(20) PRIMARY KEY, producerGroup VARCHAR(64) diff --git a/rocketmq-client/deploy.bat b/rocketmq-client/deploy.bat index f7780708eb865a9f5b6b61d11f0851a2f38f202a..ffc21442668421f93e75198b37521c1d0b0c00b6 100644 --- a/rocketmq-client/deploy.bat +++ b/rocketmq-client/deploy.bat @@ -1 +1,16 @@ -mvn -Dmaven.test.skip=true deploy -Pclient-shade \ No newline at end of file +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. + +mvn -Dmaven.test.skip=true deploy -Pclient-shade diff --git a/rocketmq-client/install.bat b/rocketmq-client/install.bat index 87bf456d41925f94a1a5ca4c76381cc062dbbe63..31efffdfe07e5fdf2e4800c332e899d3f540006c 100644 --- a/rocketmq-client/install.bat +++ b/rocketmq-client/install.bat @@ -1,2 +1,17 @@ +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. + mvn -Dmaven.test.skip=true clean package install -Pclient-shade -U diff --git a/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt b/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt index 976cdf293258280bbcb229b07b758c5afcb7a980..3dc5ba522161cc61292952d61bb81c5cb11d1ee3 100644 --- a/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt +++ b/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt @@ -1,6 +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. + // // Remoting protocol V0.1 draft // // protocol
// 1 2 3 4 -// \ No newline at end of file +// diff --git a/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt b/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt index 7444cbbd82dc325b6b20ea63bf8ddef33b40b777..3dc5ba522161cc61292952d61bb81c5cb11d1ee3 100644 --- a/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt +++ b/rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt @@ -1,3 +1,18 @@ +# 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. + // // Remoting protocol V0.1 draft //