You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/02/25 20:24:08 UTC
svn commit: r1825323 - in /maven/archetypes/trunk:
maven-archetype-archetype/src/site/apt/
maven-archetype-j2ee-simple/src/site/apt/
maven-archetype-plugin-site/src/site/apt/
maven-archetype-portlet/src/site/apt/
maven-archetype-profiles/src/site/apt/ ...
Author: hboutemy
Date: Sun Feb 25 20:24:08 2018
New Revision: 1825323
URL: http://svn.apache.org/viewvc?rev=1825323&view=rev
Log:
added/updated documentation of archetypes content
Added:
maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/
maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/index.apt.vm
maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/
maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/
maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/index.apt.vm
maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/
maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/index.apt.vm
maven/archetypes/trunk/maven-archetype-simple/src/site/apt/
maven/archetypes/trunk/maven-archetype-simple/src/site/apt/index.apt.vm
Modified:
maven/archetypes/trunk/maven-archetype-plugin-site/src/site/apt/index.apt.vm
maven/archetypes/trunk/maven-archetype-site-simple/src/site/apt/index.apt.vm
Added: maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/index.apt.vm?rev=1825323&view=auto
==============================================================================
--- maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/index.apt.vm (added)
+++ maven/archetypes/trunk/maven-archetype-archetype/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -0,0 +1,69 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2010-04-25
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+${project.name}
+
+ <<<${project.artifactId}>>> is an archetype which generates a sample archetype:
+
++----+
+
+project
+|-- pom.xml
+`-- src
+ |-- main
+ | `-- resources
+ | |-- archetype-resources
+ | | |-- pom.xml
+ | | `-- src
+ | | |-- main
+ | | | `-- java
+ | | | `-- App.java
+ | | `-- test
+ | | `-- java
+ | | `-- AppTest.java
+ | `-- META-INF
+ | `-- maven
+ | `-- archetype-metadata.xml
+ `-- test
+ `-- resources
+ `-- projects
+ `-- it-basic
+ |-- archetype.properties
+ `-- goal.txt
+
++----+
+
+* Usage
+
+ To generate a new project from this archetype, type:
+
++----+
+
+mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+
++----+
Added: maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm?rev=1825323&view=auto
==============================================================================
--- maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm (added)
+++ maven/archetypes/trunk/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -0,0 +1,94 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2010-04-25
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+${project.name}
+
+ <<<${project.artifactId}>>> is an archetype which generates a simplified sample J2EE application:
+
++----+
+
+project
+|-- pom.xml
+|-- ear
+| |-- pom.xml
+| `-- src
+| |-- main
+| | `-- java
+| `-- test
+| `-- java
+|-- ejbs
+| |-- pom.xml
+| `-- src
+| |-- main
+| | |-- java
+| | `-- resources
+| | `-- META-INF
+| | `-- ejb-jar.xml
+| `-- test
+| `-- java
+|-- primary-source
+| |-- pom.xml
+| `-- src
+| |-- main
+| | `-- java
+| `-- test
+| `-- java
+|-- projects
+| |-- pom.xml
+| `-- logging
+| | |-- pom.xml
+| | `-- src
+| | |-- main
+| | | `-- java
+| | `-- test
+| | `-- java
+|-- servlets
+| |-- pom.xml
+| `-- servlet
+| | |-- pom.xml
+| | `-- src
+| | |-- main
+| | | `-- java
+| | |-- webapp
+| | | |-- WEB-INF
+| | | | `-- web.xml
+| | | `-- index.jsp
+| | `-- test
+| | `-- java
+
++----+
+
+* Usage
+
+ To generate a new project from this archetype, type:
+
++----+
+
+mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+
++----+
Modified: maven/archetypes/trunk/maven-archetype-plugin-site/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin-site/src/site/apt/index.apt.vm?rev=1825323&r1=1825322&r2=1825323&view=diff
==============================================================================
--- maven/archetypes/trunk/maven-archetype-plugin-site/src/site/apt/index.apt.vm (original)
+++ maven/archetypes/trunk/maven-archetype-plugin-site/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -41,6 +41,9 @@ project
| | `-- example.apt
| |-- index.apt
| `-- usage.apt
+ |-- markdown
+ | |-- markdown.md
+ | `-- markdown-velocity.md.vm
`-- site.xml
+----+
Added: maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/index.apt.vm?rev=1825323&view=auto
==============================================================================
--- maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/index.apt.vm (added)
+++ maven/archetypes/trunk/maven-archetype-portlet/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -0,0 +1,64 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2010-04-25
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+${project.name}
+
+ <<<${project.artifactId}>>> is an archetype which generates a sample JSR-268 Portlet:
+
++----+
+
+project
+|-- pom.xml
+`-- src
+ `-- main
+ |-- java
+ | `-- $package
+ | `-- MyPortlet.java
+ |-- jetspeed
+ | `-- web.xml
+ `-- webapp
+ |-- WEB-INF
+ | |-- tld
+ | | `-- portlet.tld
+ | |-- portlet.xml
+ | `-- web.xml
+ |-- help.jsp
+ |-- maximized.jsp
+ `-- normal.jsp
+
++----+
+
+* Usage
+
+ To generate a new project from this archetype, type:
+
++----+
+
+mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+
++----+
Added: maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/index.apt.vm?rev=1825323&view=auto
==============================================================================
--- maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/index.apt.vm (added)
+++ maven/archetypes/trunk/maven-archetype-profiles/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -0,0 +1,61 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2010-04-25
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+${project.name}
+
+ <<<${project.artifactId}>>> is an archetype which generates a sample Maven project which demonstrates the use of profiles:
+
++----+
+
+project
+|-- pom.xml
+`-- src
+ |-- main
+ | |-- filters
+ | | |-- development.properties
+ | | |-- production.properties
+ | | `-- qa.properties
+ | `-- java
+ | `-- $package
+ | `-- App.java
+ `-- test
+ `-- java
+ `-- $package
+ `-- AppTest.java
+
++----+
+
+* Usage
+
+ To generate a new project from this archetype, type:
+
++----+
+
+mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+
++----+
Added: maven/archetypes/trunk/maven-archetype-simple/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-simple/src/site/apt/index.apt.vm?rev=1825323&view=auto
==============================================================================
--- maven/archetypes/trunk/maven-archetype-simple/src/site/apt/index.apt.vm (added)
+++ maven/archetypes/trunk/maven-archetype-simple/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -0,0 +1,59 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2010-04-25
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+${project.name}
+
+ <<<${project.artifactId}>>> is an archetype which generates a simple Maven project:
+
++----+
+
+project
+|-- pom.xml
+`-- src
+ |-- main
+ | `-- java
+ | `-- $package
+ | `-- App.java
+ |-- site
+ | `-- site.xml
+ `-- test
+ `-- java
+ `-- $package
+ `-- AppTest.java
+
++----+
+
+* Usage
+
+ To generate a new project from this archetype, type:
+
++----+
+
+mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+
++----+
Modified: maven/archetypes/trunk/maven-archetype-site-simple/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-site-simple/src/site/apt/index.apt.vm?rev=1825323&r1=1825322&r2=1825323&view=diff
==============================================================================
--- maven/archetypes/trunk/maven-archetype-site-simple/src/site/apt/index.apt.vm (original)
+++ maven/archetypes/trunk/maven-archetype-site-simple/src/site/apt/index.apt.vm Sun Feb 25 20:24:08 2018
@@ -38,6 +38,9 @@ project
`-- site
|-- apt
| `-- index.apt
+ |-- markdown
+ | |-- markdown-velocity.md.vm
+ | `-- markdown.md
`-- site.xml
+----+