You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by oc...@apache.org on 2006/08/01 09:51:08 UTC
svn commit: r427483 - in
/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site:
apt/ apt/examples/ fml/
Author: oching
Date: Tue Aug 1 00:51:08 2006
New Revision: 427483
URL: http://svn.apache.org/viewvc?rev=427483&view=rev
Log:
PR: ARCHETYPE-45
Submitted by: Franz Allan See
Added license agreement tags in the plugin docs.
Modified:
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/archetype.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/j2ee-simple.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/mojo.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/portlet.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/remote-repositories.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/simple.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/site.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/webapp.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/index.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/usage.apt
maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/fml/faq.fml
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/archetype.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/archetype.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/archetype.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/archetype.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,23 @@
25 July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Guide to Creating Archetypes
Creating an archetype is a pretty straight forward process. An archetype is a
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/j2ee-simple.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/j2ee-simple.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/j2ee-simple.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/j2ee-simple.apt Tue Aug 1 00:51:08 2006
@@ -5,7 +5,24 @@
------
July 2006
------
-
+
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a simple j2ee Project
Creating the directory structure of a J2EE project can be tedious. However, if
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/mojo.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/mojo.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/mojo.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/mojo.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a mojo
A maven plugin is composed of one or more mojos. And to start the creation of
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/portlet.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/portlet.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/portlet.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/portlet.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a portlet
Use <<<maven-archetype-webapp>>> to start a simple webapp maven project. The
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/remote-repositories.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/remote-repositories.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/remote-repositories.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/remote-repositories.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,22 @@
July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
Specifying the Remote Repositories
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/simple.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/simple.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/simple.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/simple.apt Tue Aug 1 00:51:08 2006
@@ -5,6 +5,24 @@
------
July 2006
------
+
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a simple java application
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/site.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/site.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/site.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/site.apt Tue Aug 1 00:51:08 2006
@@ -5,7 +5,24 @@
------
July 2006
------
-
+
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a site
You can create a site either by using <<<maven-archetype-site-simple>>> or
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/webapp.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/webapp.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/webapp.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/examples/webapp.apt Tue Aug 1 00:51:08 2006
@@ -5,7 +5,24 @@
------
July 2006
------
-
+
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Creating a webapp
Use <<<maven-archetype-webapp>>> to start a simple webapp maven project. The
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/index.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/index.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,22 @@
17 July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
Maven 2 Archetype Plugin
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/usage.apt?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/usage.apt (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/apt/usage.apt Tue Aug 1 00:51:08 2006
@@ -6,6 +6,23 @@
17 July 2006
------
+~~ Copyright 2006 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Usage
* Create
Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/fml/faq.fml?rev=427483&r1=427482&r2=427483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/fml/faq.fml (original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/site/fml/faq.fml Tue Aug 1 00:51:08 2006
@@ -1,4 +1,21 @@
<?xml version="1.0"?>
+
+<!--
+ ~ Copyright 2006 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.
+ -->
+
<faqs id="FAQ" title="Frequently Asked Questions">
<part id="General">
<faq id="What is Archetype?">