Repository: activemq Updated Branches: refs/heads/trunk a554c7ca8 -> ed11b067c
Add missing license headers in preparation of releases Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/ed11b067 Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/ed11b067 Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/ed11b067 Branch: refs/heads/trunk Commit: ed11b067c5a1f0f3b20b2b2e0526dce285b8bee3 Parents: a554c7c Author: Hadrian Zbarcea <[email protected]> Authored: Mon Mar 31 18:43:14 2014 -0400 Committer: Hadrian Zbarcea <[email protected]> Committed: Mon Mar 31 18:43:54 2014 -0400 ---------------------------------------------------------------------- .../amqp/JmsClientRequestResponseTest.java | 17 +++++++++++++++++ .../discovery/http/HttpDiscoveryTest.java | 16 ++++++++++++++++ .../org/apache/activemq/bugs/AMQ4893Test.java | 17 +++++++++++++++++ .../org/apache/activemq/proxy/AMQ4889Test.java | 17 +++++++++++++++++ assembly/src/release/examples/amqp/java/pom.xml | 7 ------- assembly/src/release/examples/mqtt/java/pom.xml | 7 ------- .../examples/openwire/advanced-scenarios/pom.xml | 7 ------- .../openwire/advanced-scenarios/readme.md | 2 +- .../QueueMonitor/QueueMonitor.properties | 18 +++++++++++++++++- .../QueuePTPSamples/RequestReply/Requestor.java | 17 +++++++++++++++++ .../DurableChat/DurableChat.java | 19 +++++++++++++++++-- .../MessageMonitor/MessageMonitor.properties | 17 +++++++++++++++++ .../examples/openwire/exploring-jms/readme.txt | 11 ++++------- .../src/release/examples/openwire/java/pom.xml | 7 ------- assembly/src/release/examples/stomp/java/pom.xml | 7 ------- 15 files changed, 140 insertions(+), 46 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JmsClientRequestResponseTest.java ---------------------------------------------------------------------- diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JmsClientRequestResponseTest.java b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JmsClientRequestResponseTest.java index 9f7b393..c79493a 100644 --- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JmsClientRequestResponseTest.java +++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JmsClientRequestResponseTest.java @@ -1,3 +1,20 @@ +/** + * 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. + */ + package org.apache.activemq.transport.amqp; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/activemq-http/src/test/java/org/apache/activemq/transport/discovery/http/HttpDiscoveryTest.java ---------------------------------------------------------------------- diff --git a/activemq-http/src/test/java/org/apache/activemq/transport/discovery/http/HttpDiscoveryTest.java b/activemq-http/src/test/java/org/apache/activemq/transport/discovery/http/HttpDiscoveryTest.java index 72104af..73a7fcc 100644 --- a/activemq-http/src/test/java/org/apache/activemq/transport/discovery/http/HttpDiscoveryTest.java +++ b/activemq-http/src/test/java/org/apache/activemq/transport/discovery/http/HttpDiscoveryTest.java @@ -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. + */ package org.apache.activemq.transport.discovery.http; import static org.junit.Assert.assertTrue; http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4893Test.java ---------------------------------------------------------------------- diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4893Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4893Test.java index d78000d..bd4b724 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4893Test.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4893Test.java @@ -1,3 +1,20 @@ +/** + * 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. + */ + package org.apache.activemq.bugs; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/activemq-unit-tests/src/test/java/org/apache/activemq/proxy/AMQ4889Test.java ---------------------------------------------------------------------- diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/proxy/AMQ4889Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/proxy/AMQ4889Test.java index 351f2d7..8ee85e0 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/proxy/AMQ4889Test.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/proxy/AMQ4889Test.java @@ -1,3 +1,20 @@ +/** + * 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. + */ + package org.apache.activemq.proxy; http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/amqp/java/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/amqp/java/pom.xml b/assembly/src/release/examples/amqp/java/pom.xml index dd1db26..d2b063b 100644 --- a/assembly/src/release/examples/amqp/java/pom.xml +++ b/assembly/src/release/examples/amqp/java/pom.xml @@ -26,13 +26,6 @@ <name>example</name> <description>ActiveMQ AMQP Java Examples</description> - <repositories> - <repository> - <id>Fusesource Snapshots</id> - <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> - </repository> - </repositories> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/mqtt/java/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/mqtt/java/pom.xml b/assembly/src/release/examples/mqtt/java/pom.xml index abb06ec..77ec487 100644 --- a/assembly/src/release/examples/mqtt/java/pom.xml +++ b/assembly/src/release/examples/mqtt/java/pom.xml @@ -27,13 +27,6 @@ <name>example</name> <description>ActiveMQ MQTT Java Examples</description> - <repositories> - <repository> - <id>Fusesource Snapshots</id> - <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> - </repository> - </repositories> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/advanced-scenarios/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/advanced-scenarios/pom.xml b/assembly/src/release/examples/openwire/advanced-scenarios/pom.xml index 3fb0a03..62d45c8 100755 --- a/assembly/src/release/examples/openwire/advanced-scenarios/pom.xml +++ b/assembly/src/release/examples/openwire/advanced-scenarios/pom.xml @@ -40,13 +40,6 @@ <name>JMS / OpeWire Examples for ActiveMQ</name> <description>ActiveMQ OpenWire Java Examples</description> - <repositories> - <repository> - <id>Fusesource Snapshots</id> - <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> - </repository> - </repositories> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/advanced-scenarios/readme.md ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/advanced-scenarios/readme.md b/assembly/src/release/examples/openwire/advanced-scenarios/readme.md index 7acff0b..07416fd 100644 --- a/assembly/src/release/examples/openwire/advanced-scenarios/readme.md +++ b/assembly/src/release/examples/openwire/advanced-scenarios/readme.md @@ -1,3 +1,3 @@ ## Overview -This directory contains more advanced examples of how to use AcitveMQ's OpenWire based JMS API. +This directory contains more advanced examples of how to use ActiveMQ's OpenWire based JMS API. http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/QueueMonitor/QueueMonitor.properties ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/QueueMonitor/QueueMonitor.properties b/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/QueueMonitor/QueueMonitor.properties index 1db7b82..7f296f5 100644 --- a/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/QueueMonitor/QueueMonitor.properties +++ b/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/QueueMonitor/QueueMonitor.properties @@ -1,4 +1,20 @@ -# +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + # This is the properties file for the QueueMonitor Class. # # A QueueMonitor object will load this file when constructed. http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/RequestReply/Requestor.java ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/RequestReply/Requestor.java b/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/RequestReply/Requestor.java index 73a2338..76a8d96 100644 --- a/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/RequestReply/Requestor.java +++ b/assembly/src/release/examples/openwire/exploring-jms/QueuePTPSamples/RequestReply/Requestor.java @@ -1,3 +1,20 @@ +/** + * 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. + */ + /* Copyright 2001-2008, Progress Software Corporation - All Rights Reserved http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/DurableChat/DurableChat.java ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/DurableChat/DurableChat.java b/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/DurableChat/DurableChat.java index 5bcdc8b..42156b1 100644 --- a/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/DurableChat/DurableChat.java +++ b/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/DurableChat/DurableChat.java @@ -1,6 +1,21 @@ -/* -Copyright 2001-2008, Progress Software Corporation - All Rights Reserved +/** + * 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. + */ +/* DurableChat application A basic JMS Application that uses: http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/MessageMonitor/MessageMonitor.properties ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/MessageMonitor/MessageMonitor.properties b/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/MessageMonitor/MessageMonitor.properties index b272abe..b2ecb47 100644 --- a/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/MessageMonitor/MessageMonitor.properties +++ b/assembly/src/release/examples/openwire/exploring-jms/TopicPubSubSamples/MessageMonitor/MessageMonitor.properties @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + # # This is the properties file for the MessageMonitor Class. # http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/exploring-jms/readme.txt ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/exploring-jms/readme.txt b/assembly/src/release/examples/openwire/exploring-jms/readme.txt index 3296f92..04f3a60 100644 --- a/assembly/src/release/examples/openwire/exploring-jms/readme.txt +++ b/assembly/src/release/examples/openwire/exploring-jms/readme.txt @@ -1,10 +1,7 @@ -FuseSource distribution of ActiveMQ - Exploring JMS v1.1 -======================================================== -The Exploring JMS Samples are a described in the "Exploring JMS with -the FuseSource distribution of ActiveMQ" book available from fusesource.com. +## Overview -They demonstrate how to use the JMS client APIs to accomplish basic messaging -tasks. +This is an example that demonstrates how to use the JMS client APIs to +accomplish basic messaging tasks. The build.xml file provides targets for rebuilding the examples and for -launching them. \ No newline at end of file +launching them. http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/openwire/java/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/openwire/java/pom.xml b/assembly/src/release/examples/openwire/java/pom.xml index 0e7a500..32b400f 100644 --- a/assembly/src/release/examples/openwire/java/pom.xml +++ b/assembly/src/release/examples/openwire/java/pom.xml @@ -26,13 +26,6 @@ <name>example</name> <description>ActiveMQ Openwire Java Examples</description> - <repositories> - <repository> - <id>Fusesource Snapshots</id> - <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.geronimo.specs</groupId> http://git-wip-us.apache.org/repos/asf/activemq/blob/ed11b067/assembly/src/release/examples/stomp/java/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/src/release/examples/stomp/java/pom.xml b/assembly/src/release/examples/stomp/java/pom.xml index 334b56f..f5934cd 100644 --- a/assembly/src/release/examples/stomp/java/pom.xml +++ b/assembly/src/release/examples/stomp/java/pom.xml @@ -26,13 +26,6 @@ <name>example</name> <description>ActiveMQ STOMP Java Examples</description> - <repositories> - <repository> - <id>Fusesource Snapshots</id> - <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> - </repository> - </repositories> - <dependencies> <dependency>
