Author: olamy Date: Wed Nov 28 20:37:08 2012 New Revision: 1414907 URL: http://svn.apache.org/viewvc?rev=1414907&view=rev Log: add license headers in sources but in velocity comment so won't be in generated sources
Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/pom.xml maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/settings.xml maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/verify.groovy maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/pom.xml?rev=1414907&r1=1414906&r2=1414907&view=diff ============================================================================== --- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/pom.xml (original) +++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/pom.xml Wed Nov 28 20:37:08 2012 @@ -1,3 +1,19 @@ +## +## Copyright 2001-2005 The Apache Software Foundation. +## +## Licensed 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> Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/settings.xml URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/settings.xml?rev=1414907&r1=1414906&r2=1414907&view=diff ============================================================================== --- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/settings.xml (original) +++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/settings.xml Wed Nov 28 20:37:08 2012 @@ -1,23 +1,20 @@ <?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. ---> +## +## Copyright 2001-2005 The Apache Software Foundation. +## +## Licensed 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. +## <settings> <profiles> Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml?rev=1414907&r1=1414906&r2=1414907&view=diff ============================================================================== --- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml (original) +++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml Wed Nov 28 20:37:08 2012 @@ -1,3 +1,18 @@ +## +## Copyright 2001-2005 The Apache Software Foundation. +## +## Licensed 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. +## <?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"> Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/verify.groovy URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/verify.groovy?rev=1414907&r1=1414906&r2=1414907&view=diff ============================================================================== --- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/verify.groovy (original) +++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/verify.groovy Wed Nov 28 20:37:08 2012 @@ -1,3 +1,18 @@ +## +## Copyright 2001-2005 The Apache Software Foundation. +## +## Licensed 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. +## File touchFile = new File( basedir, "target/touch.txt" ); assert touchFile.isFile() Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java?rev=1414907&r1=1414906&r2=1414907&view=diff ============================================================================== --- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java (original) +++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java Wed Nov 28 20:37:08 2012 @@ -1,20 +1,20 @@ package $package; -/* - * Copyright 2001-2005 The Apache Software Foundation. - * - * Licensed 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-2005 The Apache Software Foundation. +## +## Licensed 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 org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException;