Repository: flex-blazeds Updated Branches: refs/heads/develop f52a8f5b2 -> 98e50204b
- Added the rat-plugin to check for license headers - Added license headers to missing files Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/98e50204 Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/98e50204 Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/98e50204 Branch: refs/heads/develop Commit: 98e50204b0da67392cff211c07d88096fbf17625 Parents: f52a8f5 Author: Christofer Dutz <christofer.d...@codecentric.de> Authored: Wed Mar 29 09:04:08 2017 +0200 Committer: Christofer Dutz <christofer.d...@codecentric.de> Committed: Wed Mar 29 09:04:08 2017 +0200 ---------------------------------------------------------------------- NOTICE | 2 +- .../blazeds-spring-boot-archetype/README.md | 15 ++++++ .../blazeds-spring-boot-archetype/pom.xml | 57 ++++++++++++++++++++ .../META-INF/maven/archetype-metadata.xml | 18 +++++++ .../projects/basic/archetype.properties | 15 ++++++ opt/blazeds-spring-boot-starter/README.adoc | 17 ++++++ pom.xml | 35 ++++++++++++ 7 files changed, 158 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE index ecee85c..870f5f0 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Flex BlazeDS -Copyright 2014-2015 The Apache Software Foundation +Copyright 2014-2017 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/archetypes/blazeds-spring-boot-archetype/README.md ---------------------------------------------------------------------- diff --git a/archetypes/blazeds-spring-boot-archetype/README.md b/archetypes/blazeds-spring-boot-archetype/README.md index 453caf8..f33646b 100644 --- a/archetypes/blazeds-spring-boot-archetype/README.md +++ b/archetypes/blazeds-spring-boot-archetype/README.md @@ -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. + # Usage ## Create a new project using the blazeds-spring-boot-archetype http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/archetypes/blazeds-spring-boot-archetype/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/blazeds-spring-boot-archetype/pom.xml b/archetypes/blazeds-spring-boot-archetype/pom.xml index 940ad56..38929e1 100644 --- a/archetypes/blazeds-spring-boot-archetype/pom.xml +++ b/archetypes/blazeds-spring-boot-archetype/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"> <modelVersion>4.0.0</modelVersion> @@ -30,6 +48,45 @@ </plugin> </plugins> </pluginManagement> + + <plugins> + <!-- Check if all source files have the required apache license headers --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.12</version> + <executions> + <execution> + <id>license-check</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <!-- Ignore IntelliJ IDEA project files --> + <exclude>**/*.iml</exclude> + <!-- This file is empty and something is added it breaks the tests --> + <exclude>src/test/resources/projects/basic/goal.txt</exclude> + </excludes> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + <version>1.6</version> + <exclusions> + <exclusion> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </plugin> + </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml ---------------------------------------------------------------------- diff --git a/archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index d8583f8..08c5a0a 100644 --- a/archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/archetype-metadata.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. + +--> <archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="blazeds-spring-boot-example" xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/archetype.properties ---------------------------------------------------------------------- diff --git a/archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/archetype.properties b/archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/archetype.properties index f6cebd8..bdee28c 100644 --- a/archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/archetype.properties +++ b/archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/archetype.properties @@ -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. + #Fri Feb 17 09:33:41 CET 2017 package=it.pkg version=0.1-SNAPSHOT http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/opt/blazeds-spring-boot-starter/README.adoc ---------------------------------------------------------------------- diff --git a/opt/blazeds-spring-boot-starter/README.adoc b/opt/blazeds-spring-boot-starter/README.adoc index f04114e..ad7aba1 100644 --- a/opt/blazeds-spring-boot-starter/README.adoc +++ b/opt/blazeds-spring-boot-starter/README.adoc @@ -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. +//// + = BlazeDS Spring-Boot Starter This module can be used to configure a BlazeDS server with Spring-Boot. http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/98e50204/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 459ff5e..9a82424 100755 --- a/pom.xml +++ b/pom.xml @@ -79,6 +79,41 @@ <build> <plugins> + <!-- Check if all source files have the required apache license headers --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.12</version> + <executions> + <execution> + <id>license-check</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <!-- Ignore IntelliJ IDEA project files --> + <exclude>**/*.iml</exclude> + </excludes> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + <version>1.6</version> + <exclusions> + <exclusion> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>