JCLOUDS-80. Inherit apache-rat plugin config.
Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/commit/5ca3ece7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/tree/5ca3ece7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/diff/5ca3ece7 Branch: refs/heads/master Commit: 5ca3ece74ae18984dcf6e72385f8189dfa03208d Parents: fa882aa Author: Andrew Bayer <[email protected]> Authored: Wed May 22 10:49:52 2013 -0400 Committer: Andrew Bayer <[email protected]> Committed: Thu May 23 11:45:18 2013 -0700 ---------------------------------------------------------------------- .../src/main/assembly/jar-with-dependencies.xml | 20 ++ blobstore-clojure/project.clj | 17 ++ blobstore-clojure/src/create_list/containers.clj | 17 ++ camel-notifications/src/main/resources/logback.xml | 20 ++ .../org/jclouds/camel/notifier/camel.properties | 17 ++ .../src/main/assembly/jar-with-dependencies.xml | 20 ++ chef-basics/src/main/resources/logback.xml | 20 ++ .../src/main/assembly/jar-with-dependencies.xml | 20 ++ .../src/main/assembly/jar-with-dependencies.xml | 20 ++ compute-basics/src/main/resources/logback.xml | 20 ++ compute-clojure/project.clj | 17 ++ compute-clojure/resources/logback.xml | 20 ++ .../src/compute_clojure/compute_examples.clj | 17 ++ deploy-war-via-ant/runscript.sh | 17 ++ .../src/main/assembly/jar-with-dependencies.xml | 20 ++ .../jclouds/examples/ec2/windows/Arguments.java | 19 ++ ec2-windows/src/main/resources/log4j.properties | 17 ++ .../src/main/assembly/jar-with-dependencies.xml | 20 ++ minecraft-compute/src/main/resources/logback.xml | 20 ++ play-compute/app/controllers/Application.java | 19 ++ play-compute/app/views/index.scala.html | 19 ++ play-compute/app/views/main.scala.html | 19 ++ play-compute/conf/application.conf | 17 ++ play-compute/conf/routes | 17 ++ play-compute/project/Build.scala | 19 ++ play-compute/project/build.properties | 17 ++ play-compute/project/plugins.sbt | 21 ++- play-compute/public/stylesheets/main.css | 19 ++ pom.xml | 158 +++++++++++++++ rackspace/pom.xml | 1 + rackspace/src/main/resources/logback.xml | 19 ++ 31 files changed, 702 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/blobstore-basics/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/blobstore-basics/src/main/assembly/jar-with-dependencies.xml b/blobstore-basics/src/main/assembly/jar-with-dependencies.xml index e415754..8bcedb2 100644 --- a/blobstore-basics/src/main/assembly/jar-with-dependencies.xml +++ b/blobstore-basics/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/blobstore-clojure/project.clj ---------------------------------------------------------------------- diff --git a/blobstore-clojure/project.clj b/blobstore-clojure/project.clj index c6a3cee..da883ee 100644 --- a/blobstore-clojure/project.clj +++ b/blobstore-clojure/project.clj @@ -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. +; + (defproject blobstore-clojure "1.0-SNAPSHOT" :description "create and list buckets" :url "https://github.com/jclouds/jclouds-examples/tree/master/blobstore-clojure" http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/blobstore-clojure/src/create_list/containers.clj ---------------------------------------------------------------------- diff --git a/blobstore-clojure/src/create_list/containers.clj b/blobstore-clojure/src/create_list/containers.clj index 91b51f5..a286d18 100644 --- a/blobstore-clojure/src/create_list/containers.clj +++ b/blobstore-clojure/src/create_list/containers.clj @@ -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. +; + (ns create-list.containers (:use org.jclouds.blobstore2) (:import org.jclouds.blobstore.BlobStore)) http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/camel-notifications/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/camel-notifications/src/main/resources/logback.xml b/camel-notifications/src/main/resources/logback.xml index 503052f..4d76c7e 100644 --- a/camel-notifications/src/main/resources/logback.xml +++ b/camel-notifications/src/main/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/camel-notifications/src/main/resources/org/jclouds/camel/notifier/camel.properties ---------------------------------------------------------------------- diff --git a/camel-notifications/src/main/resources/org/jclouds/camel/notifier/camel.properties b/camel-notifications/src/main/resources/org/jclouds/camel/notifier/camel.properties index 48052c3..22c754c 100644 --- a/camel-notifications/src/main/resources/org/jclouds/camel/notifier/camel.properties +++ b/camel-notifications/src/main/resources/org/jclouds/camel/notifier/camel.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. +# + jclouds.provider=${jclouds.provider} jclouds.identity=${jclouds.identity} jclouds.credential=${jclouds.credential} http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/chef-basics/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/chef-basics/src/main/assembly/jar-with-dependencies.xml b/chef-basics/src/main/assembly/jar-with-dependencies.xml index e415754..8bcedb2 100644 --- a/chef-basics/src/main/assembly/jar-with-dependencies.xml +++ b/chef-basics/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/chef-basics/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/chef-basics/src/main/resources/logback.xml b/chef-basics/src/main/resources/logback.xml index 623a048..b7871ff 100644 --- a/chef-basics/src/main/resources/logback.xml +++ b/chef-basics/src/main/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/cloudwatch-basics/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/cloudwatch-basics/src/main/assembly/jar-with-dependencies.xml b/cloudwatch-basics/src/main/assembly/jar-with-dependencies.xml index e415754..8bcedb2 100644 --- a/cloudwatch-basics/src/main/assembly/jar-with-dependencies.xml +++ b/cloudwatch-basics/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/compute-basics/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/compute-basics/src/main/assembly/jar-with-dependencies.xml b/compute-basics/src/main/assembly/jar-with-dependencies.xml index e415754..8bcedb2 100644 --- a/compute-basics/src/main/assembly/jar-with-dependencies.xml +++ b/compute-basics/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/compute-basics/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/compute-basics/src/main/resources/logback.xml b/compute-basics/src/main/resources/logback.xml index 623a048..b7871ff 100644 --- a/compute-basics/src/main/resources/logback.xml +++ b/compute-basics/src/main/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/compute-clojure/project.clj ---------------------------------------------------------------------- diff --git a/compute-clojure/project.clj b/compute-clojure/project.clj index 11c0c11..1fcd312 100644 --- a/compute-clojure/project.clj +++ b/compute-clojure/project.clj @@ -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. +; + (defproject compute-clojure "1.0.0.0" :description "Clojure compute examples" :dependencies [[org.clojure/clojure "1.3.0"] http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/compute-clojure/resources/logback.xml ---------------------------------------------------------------------- diff --git a/compute-clojure/resources/logback.xml b/compute-clojure/resources/logback.xml index 623a048..b7871ff 100644 --- a/compute-clojure/resources/logback.xml +++ b/compute-clojure/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/compute-clojure/src/compute_clojure/compute_examples.clj ---------------------------------------------------------------------- diff --git a/compute-clojure/src/compute_clojure/compute_examples.clj b/compute-clojure/src/compute_clojure/compute_examples.clj index d912af6..cda60f2 100644 --- a/compute-clojure/src/compute_clojure/compute_examples.clj +++ b/compute-clojure/src/compute_clojure/compute_examples.clj @@ -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. +; + (ns compute-clojure.compute-examples (:use [org.jclouds.compute2] http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/deploy-war-via-ant/runscript.sh ---------------------------------------------------------------------- diff --git a/deploy-war-via-ant/runscript.sh b/deploy-war-via-ant/runscript.sh index 4f4142d..58d2982 100644 --- a/deploy-war-via-ant/runscript.sh +++ b/deploy-war-via-ant/runscript.sh @@ -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. +# + echo nameserver 208.67.222.222 >> /etc/resolv.conf apt-get update -qq apt-get upgrade -y -qq http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/ec2-windows/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/ec2-windows/src/main/assembly/jar-with-dependencies.xml b/ec2-windows/src/main/assembly/jar-with-dependencies.xml index 86e5bf1..4e26abc 100644 --- a/ec2-windows/src/main/assembly/jar-with-dependencies.xml +++ b/ec2-windows/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/ec2-windows/src/main/java/org/jclouds/examples/ec2/windows/Arguments.java ---------------------------------------------------------------------- diff --git a/ec2-windows/src/main/java/org/jclouds/examples/ec2/windows/Arguments.java b/ec2-windows/src/main/java/org/jclouds/examples/ec2/windows/Arguments.java index 0553fea..ca40065 100644 --- a/ec2-windows/src/main/java/org/jclouds/examples/ec2/windows/Arguments.java +++ b/ec2-windows/src/main/java/org/jclouds/examples/ec2/windows/Arguments.java @@ -1,3 +1,22 @@ +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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.jclouds.examples.ec2.windows; import org.jclouds.ec2.domain.InstanceType; http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/ec2-windows/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/ec2-windows/src/main/resources/log4j.properties b/ec2-windows/src/main/resources/log4j.properties index 7f66390..48e17e4 100644 --- a/ec2-windows/src/main/resources/log4j.properties +++ b/ec2-windows/src/main/resources/log4j.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. +# + # Set root logger level to DEBUG and its only appender to A1. log4j.rootLogger=INFO, A1 http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/minecraft-compute/src/main/assembly/jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/minecraft-compute/src/main/assembly/jar-with-dependencies.xml b/minecraft-compute/src/main/assembly/jar-with-dependencies.xml index e415754..8bcedb2 100644 --- a/minecraft-compute/src/main/assembly/jar-with-dependencies.xml +++ b/minecraft-compute/src/main/assembly/jar-with-dependencies.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/minecraft-compute/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/minecraft-compute/src/main/resources/logback.xml b/minecraft-compute/src/main/resources/logback.xml index 798cd71..d19241d 100644 --- a/minecraft-compute/src/main/resources/logback.xml +++ b/minecraft-compute/src/main/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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. + +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/app/controllers/Application.java ---------------------------------------------------------------------- diff --git a/play-compute/app/controllers/Application.java b/play-compute/app/controllers/Application.java index 976bcf9..d6c6c05 100644 --- a/play-compute/app/controllers/Application.java +++ b/play-compute/app/controllers/Application.java @@ -1,3 +1,22 @@ +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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 controllers; import play.*; http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/app/views/index.scala.html ---------------------------------------------------------------------- diff --git a/play-compute/app/views/index.scala.html b/play-compute/app/views/index.scala.html index fa3288c..11ac28b 100644 --- a/play-compute/app/views/index.scala.html +++ b/play-compute/app/views/index.scala.html @@ -1,3 +1,22 @@ +@*************************************************************** + * Licensed to jclouds, Inc. (jclouds) under one or more * + * contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. jclouds 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. * + ***************************************************************@ + @(message: String) @main("Welcome to Play 2.0") { http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/app/views/main.scala.html ---------------------------------------------------------------------- diff --git a/play-compute/app/views/main.scala.html b/play-compute/app/views/main.scala.html index d17217f..728a28f 100644 --- a/play-compute/app/views/main.scala.html +++ b/play-compute/app/views/main.scala.html @@ -1,3 +1,22 @@ +@*************************************************************** + * Licensed to jclouds, Inc. (jclouds) under one or more * + * contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. jclouds 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. * + ***************************************************************@ + @(title: String)(content: Html) <!DOCTYPE html> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/conf/application.conf ---------------------------------------------------------------------- diff --git a/play-compute/conf/application.conf b/play-compute/conf/application.conf index f35adf1..05224f2 100644 --- a/play-compute/conf/application.conf +++ b/play-compute/conf/application.conf @@ -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 main configuration file for the application. # ~~~~~ http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/conf/routes ---------------------------------------------------------------------- diff --git a/play-compute/conf/routes b/play-compute/conf/routes index d865bc7..d45d434 100644 --- a/play-compute/conf/routes +++ b/play-compute/conf/routes @@ -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. +# + # Routes # This file defines all application routes (Higher priority routes first) # ~~~~ http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/project/Build.scala ---------------------------------------------------------------------- diff --git a/play-compute/project/Build.scala b/play-compute/project/Build.scala index 6817f6b..f1645fa 100644 --- a/play-compute/project/Build.scala +++ b/play-compute/project/Build.scala @@ -1,3 +1,22 @@ +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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. + */ + import sbt._ import Keys._ import PlayProject._ http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/project/build.properties ---------------------------------------------------------------------- diff --git a/play-compute/project/build.properties b/play-compute/project/build.properties index f4ff7a5..7d01e8f 100644 --- a/play-compute/project/build.properties +++ b/play-compute/project/build.properties @@ -1 +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. +# + sbt.version=0.11.2 http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/project/plugins.sbt ---------------------------------------------------------------------- diff --git a/play-compute/project/plugins.sbt b/play-compute/project/plugins.sbt index 88db79f..e8f181c 100644 --- a/play-compute/project/plugins.sbt +++ b/play-compute/project/plugins.sbt @@ -1,3 +1,22 @@ +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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. + */ + // Comment to get more information during initialization logLevel := Level.Warn @@ -5,4 +24,4 @@ logLevel := Level.Warn resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" // Use the Play sbt plugin for Play projects -addSbtPlugin("play" % "sbt-plugin" % "2.0") \ No newline at end of file +addSbtPlugin("play" % "sbt-plugin" % "2.0") http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/play-compute/public/stylesheets/main.css ---------------------------------------------------------------------- diff --git a/play-compute/public/stylesheets/main.css b/play-compute/public/stylesheets/main.css index e69de29..b9f33b9 100644 --- a/play-compute/public/stylesheets/main.css +++ b/play-compute/public/stylesheets/main.css @@ -0,0 +1,19 @@ +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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. + */ + http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..fe115db --- /dev/null +++ b/pom.xml @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Licensed to jclouds, Inc. (jclouds) under one or more +contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. jclouds 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/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.jclouds</groupId> + <artifactId>jclouds-project</artifactId> + <version>1.7.0-SNAPSHOT</version> + </parent> + <groupId>org.apache.jclouds.examples</groupId> + <artifactId>jclouds-examples</artifactId> + <version>1.7.0-SNAPSHOT</version> + <packaging>pom</packaging> + <name>jclouds examples</name> + + <scm> + <connection>scm:git:git://github.com/jclouds/jclouds-examples.git</connection> + <developerConnection>scm:git:ssh://[email protected]/jclouds/jclouds-examples.git</developerConnection> + <url>https://github.com/jclouds/jclouds-examples</url> + <tag>HEAD</tag> + </scm> + + <properties> + <jclouds.version>1.7.0-SNAPSHOT</jclouds.version> + </properties> + + <repositories> + <repository> + <id>apache-snapshots</id> + <url>https://repository.apache.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + <repository> + <id>sonatype-nexus-snapshots</id> + <url>https://oss.sonatype.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.8</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <exclude>**/BUILD.txt</exclude> + <exclude>**/CHANGES.txt</exclude> + <exclude>**/NOTICE-src.txt</exclude> + <exclude>**/README.md</exclude> + <exclude>.git/**</exclude> + <exclude>**/.gitignore</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.log*</exclude> + <exclude>**/TODO</exclude> + <exclude>.mailmap</exclude> + <exclude>.idea/**</exclude> + <exclude>**/*.iml</exclude> + <exclude>**/.project</exclude> + <exclude>**/.classpath</exclude> + <exclude>**/.settings/**</exclude> + <exclude>**/.checkstyle</exclude> + <exclude>**/target/**</exclude> + <exclude>.repository/**</exclude> + <exclude>**/jquery-1.7.1.min.js</exclude> + <!-- binary --> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>com.mycila.maven-license-plugin</groupId> + <artifactId>maven-license-plugin</artifactId> + <version>1.9.0</version> + <configuration> + <strictCheck>true</strictCheck> + <encoding>${sourceEncoding}</encoding> + <aggregate>true</aggregate> + <header>project/src/etc/header.txt</header> + <mapping> + <clj>SEMICOLON_STYLE</clj> + </mapping> + <excludes> + <exclude>**/src/**/resources/**</exclude> + <exclude>**/LICENSE.txt</exclude> + <exclude>**/NOTICE.txt</exclude> + <exclude>**/README.md</exclude> + <exclude>**/README.txt</exclude> + <exclude>**/header.txt</exclude> + </excludes> + <properties> + <year>2011</year> + <copyrightHolder>jclouds, Inc.</copyrightHolder> + </properties> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>doc</id> + <build> + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>javadoc</id> + <phase>package</phase> + <goals> + <goal>aggregate-jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project> http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/rackspace/pom.xml ---------------------------------------------------------------------- diff --git a/rackspace/pom.xml b/rackspace/pom.xml index 6746ac8..569778e 100644 --- a/rackspace/pom.xml +++ b/rackspace/pom.xml @@ -1,3 +1,4 @@ +<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/5ca3ece7/rackspace/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/rackspace/src/main/resources/logback.xml b/rackspace/src/main/resources/logback.xml index 7a80f6c..2de2a35 100644 --- a/rackspace/src/main/resources/logback.xml +++ b/rackspace/src/main/resources/logback.xml @@ -1,4 +1,23 @@ <?xml version="1.0"?> +/** + * Licensed to jclouds, Inc. (jclouds) under one or more + * contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. jclouds 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. + */ + <configuration scan="false"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder>
