Added: maven/archetype/trunk/archetype-site/src/site/apt/specification/crawl-repository.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/specification/crawl-repository.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/specification/crawl-repository.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/specification/crawl-repository.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,53 @@ + ------ + Crawl Repository + ------ + Raphaël Piéroni + ------ + 10 February 2008 + ------ + +~~ 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 + + +How archetype lists are created? + +~~TODO: add content + ++--- + +Component that parse an FS repository + + + + for each artifact **/*.pom and for each associated jar + + check the presence of metadata descriptor + + and add it in the xml descriptor + + + + in : repository directory, desired repository URL (may be local) + + out : ArchetypeCatalog + + ++--- \ No newline at end of file
Propchange: maven/archetype/trunk/archetype-site/src/site/apt/specification/crawl-repository.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/apt/specification/create-from-project.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/specification/create-from-project.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/specification/create-from-project.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/specification/create-from-project.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,100 @@ + ------ + Create an Archetype from a Project + ------ + Raphaël Piéroni + ------ + 10 February 2008 + ------ + +~~ 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 + + +What is done during the creation of an archetype? + +~~TODO: add content + ++--- + +How to create an archetype? + The simple way: + + mvn archetype:createFromProject + Configuring the plugin + -Darchetype.languages + -Darchetype.filteredExtensions + -Darchetype.phase=(package|install|deploy) + -Dpackage + -Darchetype.propertyFile + configuring the post generation goals and their associated properties + should be possible to configure the most of the plugin using a property file for automation + Beeing behind a proxy is automatically configured by Maven + Actual configuration + + @parameter default-value="false" boolean interactive; + + @parameter expression="${archetype.filteredExtentions}" String archetypeFilteredExtentions; + + @parameter expression="${archetype.languages}" String archetypeLanguages; + + @parameter expression="${user.home}/.m2/archetype.xml" File archetypeRegistryFile; + + @parameter default-value="UTF-8" expression="${archetype.encoding}" String defaultEncoding; + + @parameter expression="${archetype.ignoreReplica}" boolean ignoreReplica = true; + + @parameter expression="${archetype.partialArchetype}" boolean partialArchetype = false; + + @parameter expression="${archetype.preserveCData}" boolean preserveCData = false; + + @parameter expression="${localRepository}" ArtifactRepository localRepository; + + @parameter expression="${archetype.keepParent}" boolean keepParent = true; + + @parameter expression="${project}" MavenProject project; + + @parameter default-value="target/archetype.properties" expression="${archetype.properties}" File propertyFile; + + @parameter expression="${basedir}/target" File outputDirectory; + + @parameter expression="${testMode}" boolean testMode; + ++--- + ++--- +3 ways to call cfp: + basic way: create the archetype from project in target/generated-sources/archetype/ + and package archetype jar in target/ + install way: same as basic plus copy the archetype jar in local repository + and update the local catalog + deploy way: same as install plus deploy the archetype jar in known deployment repository + and update the known deployment repository catalog + updating a local catalog: +load the local catalog and construct a catalog + if the archetype is not in local catalog + => add it + else if the archetype is newer than in local catalog + => change the version and repository in local + else there is a problem because we install an older version + updating a remote catalog: +dowload the remote catalog and construct a memory catalog +same as for the local updating +upload the modified catalog ++--- Propchange: maven/archetype/trunk/archetype-site/src/site/apt/specification/create-from-project.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/apt/specification/generate.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/specification/generate.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/specification/generate.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/specification/generate.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,108 @@ + ------ + Create a Project from an Archetype + ------ + Raphaël Piéroni + ------ + 10 February 2008 + ------ + +~~ 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 + + +What is done during the creation of a project? + +* Archetype selection + + First the Archetype Plugin ask the user to select an archetype from a list + of known archetypes. Archetypes are known using archetype catalogs. + +* Archetype configuration + + Then the Archetype Plugin ask the user to provide values for each of the + four main required properties. Which are the project's groupId, artifactId, + version and package. + + It also ask for values of the additional required properties defined in the + archetype's metadata file. + +* Project generation + + Finally, the Archetype Plugin generates the Maven 2 project from the + selected/configured archetype. + + The archetype used to generate the project can be mono or multi module. + + The archetype used to generate the project can be partial, which means it + enhance an existing project instead of creating a new one. + + If the Archetype Plugin is called from an existing project, using an + complete (not partial) archetype, then it generates a sub module in the + existing project. + +* Batch mode + + It is possible to call the Archetype Plugin to generate project in batch + mode (to get rid of the prompting). This is achieved by providing the + Archetype Plugin with all the needed values as system properties. + + * <<<archetypeCatalog>>> which defaults to internal specifies the catalog(s) + The valid catalogs are: internal (the default), local, remote, file://path, http://url. + + * <<<internal>>> uses an internal catalog + + * <<<local>>> uses the ~/.m2/archetype-catalog.xml file + + * <<<remote>>> uses the http://repo1.maven.org/maven2/archetype-catalog.xml + file + + * <<<file://path>>> uses the catalog file defined by path (or the + archetype-catalog.xml file located in path directory) + + * <<<http://url>>> uses the catalog file defined by url (or the + archetype-catalog.xml file located in url web directory) + + [] + + * <<<archetypeGroupId>>> specifies the groupId of the archetype to use + + * <<<archetypeArtifactId>>> specifies the artifactId of the archetype to use + + * <<<archetypeVersion>>> specifies the version of the archetype to use + + * <<<archetypeRepository>>> specifies the repository in which the archetype + reside + + * <<<groupId>>> specifies the groupId of the generated project + + * <<<artifactId>>> specifies the artifactId of the generated project + + * <<<version>>> specifies the version of the generated project + + * <<<package>>> specifies the package for the sources of the generated + project + + * <<<anotherVelocityProperty>>> specifies any other required property + + [] + +* Behind a Proxy + + Beeing behind a proxy is automatically configured by Maven Propchange: maven/archetype/trunk/archetype-site/src/site/apt/specification/generate.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/apt/specification/specification.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/specification/specification.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/specification/specification.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/specification/specification.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,49 @@ + ------ + Specification + ------ + Raphaël Piéroni + ------ + 10 February 2008 + ------ + +~~ 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 + + +Specification + + The Specification of the Archetype Plugin aims to answer to the following + questions: + + * {{{archetype.html}What is an archetype?}} + + * {{{archetype-metadata.html}How metadata on an archetype is stored?}} + + * {{{generate.html}What is done during the creation of a project?}} + + * {{{archetype-catalog.html}How the Archetype Plugin know about archetype?}} + +~~ * {{{create-from-project.html}What is done during the creation of an archetype?}} +~~ +~~ * {{{update-catalog.html}How the Archetype Plugin know about new archetypes?}} +~~ +~~ * {{{crawl-repository.html}How archetype lists are created?}} + + [] \ No newline at end of file Propchange: maven/archetype/trunk/archetype-site/src/site/apt/specification/specification.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/apt/specification/update-catalog.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/specification/update-catalog.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/specification/update-catalog.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/specification/update-catalog.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,131 @@ + ------ + Update local and remote Catalog + ------ + Raphaël Piéroni + ------ + 10 February 2008 + ------ + +~~ 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 + + +How the Archetype Plugin know about new archetypes? + +~~TODO: add content ++--- +Creation/Deployment behaviour + 5. archetype developer using local version + + + + archetype created using archetpe:create-from-project -Darchetype.phase=install + + the newly created archetype is copied in teh local repository + + and the archetype-catalog.xml file located at the root of the repository is updated with the archetype information + + + + when using in archetype:create -Darchetype.catalog=local + + the archetype must be specified using -Darchetype.groupId, -Darchetype.artifactId + + only the local repository is used and the LATEST version in it is used + + or selected with -Darchetype.selectVersion + + or specified with -Darchetype.version + configuration behaviour + + returns an incomplete creation request + determine archetype's groupId, artifactId, version + + -> defaults to resolve, overriden by property file, overriden by -D + + resolve package using (-Dlanguages languages can be found in property file instead) + + -> defaults to resolve, overriden by property file, overriden by -D + + determine additional properties + + -> ask if interactive, overridden by property file only + creation behaviour + + post creation goals (package/install/deploy) + determine filesets using: + + -> package, languages, filtereds, multi-module + + determine pom rewriting using: + + -> keepParent, addtional properties + + create archetype files using: + + -> package, common properties, additional properties + + create archetype's metadata file + + create archetype's pom using + + -> archetype's id, copying devs, licnese, ... AND deploymentManagement + 6. archetype developer deployment the archetype + + + + archetype create using archetype:create-from-project -Darchetype.phase=deploy + + + + the deployment url used is taken from the initial project + + credentials are automatically configured by Maven + + the catalog file is located at the root of the repository URL and is named archetype-catalog.xml + + + + the deployment url and credentials could be overrided to use staging repositories, but how? + + + + proxies are automatically configured by Maven + + + + synchronisation between repositories of catalog files is easy as they don't define any repository URL + deployment credentials: + initialPom.deploymentManagement + + -> remote URL or remote snapshot URL + + settings.servers + deployment artifact: + initialPom.groupId or archetype.groupId in property file or in -D + + initialPom.artifactId +'-archetype' or archetype.artifactId in property file or in -D + + initialPom.version or archetype.version in property file or in -D + deployment metadata: + deploy vesions metadata as any artifact + + use deploymentManagement to update remote catalog ++--- \ No newline at end of file Propchange: maven/archetype/trunk/archetype-site/src/site/apt/specification/update-catalog.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/apt/usage.apt?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/apt/usage.apt (added) +++ maven/archetype/trunk/archetype-site/src/site/apt/usage.apt Mon Feb 25 13:40:20 2008 @@ -0,0 +1,172 @@ + ------ + Usage + ------ + Raphaël Piéroni + ------ + 25 January 2008 + ------ + +~~ 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 + + +Projet creation + + Creating a project from an archetype involves three steps: + + * the selection of the archetype, + + * the configuration of that archetype, + + * the effective creation of the project from the collected information. + + [] + +Usage + + Calling <<<archetype:generate>>> the plugin will first ask to choose + the archetype from the internal catalog. Just enter the number of the archetype. + + It then ask to enter the values for the groupId, the artifactId + and the version of the project to create and the basic package + for the sources. + + It then ask for the confirmation of the configuration and perform + the creation of the project. + + In the following example, we selected the quickstart archetype (numbered 15) + and set <<<groupId>>> to <<<com.company>>>, <<<artifactId>>> to <<<project>>>, + <<<version>>> to <<<1.0>>> and <<<package>>> to <<<com.company.project>>>. + ++--- +$ mvn archetype:generate +[INFO] Scanning for projects... +[INFO] Searching repository for plugin with prefix: 'archetype'. +[INFO] ------------------------------------------------------------------------ +[INFO] Building Maven Default Project +[INFO] task-segment: [archetype:create] (aggregator-style) +[INFO] ------------------------------------------------------------------------ +[INFO] Preparing archetype:generate +[INFO] No goals needed for project - skipping +[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. +[INFO] Setting property: velocimacro.messages.on => 'false'. +[INFO] Setting property: resource.loader => 'classpath'. +[INFO] Setting property: resource.manager.logwhenfound => 'false'. +[INFO] [archetype:generate] +Choose archetype: +1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF) +2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC) +3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2) +4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4) +5: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire) +6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF) +7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC) +8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2) +9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4) +10: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application) +11: internal -> maven-archetype-marmalade-mojo (A Maven plugin development project using marmalade) +12: internal -> maven-archetype-mojo (A Maven Java plugin development project) +13: internal -> maven-archetype-portlet (A simple portlet application) +14: internal -> maven-archetype-profiles () +15: internal -> maven-archetype-quickstart () +16: internal -> maven-archetype-site-simple (A simple site generation project) +17: internal -> maven-archetype-site (A more complex site project) +18: internal -> maven-archetype-webapp (A simple Java web application) +19: internal -> struts2-archetype-starter (A starter Struts 2 application with Sitemesh, DWR, and Spring) +20: internal -> struts2-archetype-blank (A minimal Struts 2 application) +21: internal -> struts2-archetype-portlet (A minimal Struts 2 application that can be deployed as a portlet) +22: internal -> struts2-archetype-dbportlet (A starter Struts 2 portlet that demonstrates a simple CRUD interface with db backing) +23: internal -> struts2-archetype-plugin (A Struts 2 plugin) +24: internal -> shale-archetype-blank (A blank Shale web application with JSF) +25: internal -> maven-adf-archetype (Archetype to ease the burden of creating a new application based with ADF) +26: internal -> data-app (A new Databinder application with sources and resources.) +27: internal -> jini-service-archetype (Archetype for Jini service project creation) +28: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype) +29: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no persistence) Archetype) +30: internal -> softeu-archetype-jsf (JSF+Facelets Archetype) +31: internal -> jpa-maven-archetype (JPA application) +32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype) +33: internal -> confluence-plugin-archetype (Atlassian Confluence plugin archetype) +34: internal -> maven-archetype-har (Hibernate Archive) +35: internal -> maven-archetype-sar (JBoss Service Archive) +36: internal -> wicket-archetype-quickstart (A simple Apache Wicket project) +Choose a number: (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36): 15 +[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from maven-archetype-quickstart-repo +Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar +4K downloaded +Define value for groupId: : com.company +Define value for artifactId: : project +Define value for version: : 1.0 +Define value for package: : com.company.project +Confirm properties configuration: +groupId: com.company +artifactId: project +version: 1.0 +package: com.company.project + Y: : +[INFO] ---------------------------------------------------------------------------- +[INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE +[INFO] ---------------------------------------------------------------------------- +[INFO] Parameter: groupId, Value: com.company +[INFO] Parameter: packageName, Value: com.company.project +[INFO] Parameter: package, Value: com.company.project +[INFO] Parameter: artifactId, Value: project +[INFO] Parameter: basedir, Value: /home/local/rafale/projects/tmp +[INFO] Parameter: version, Value: 1.0 +[INFO] ********************* End of debug info from resources from generated POM *********************** +[INFO] OldArchetype created in dir: /home/local/rafale/projects/tmp/project +[INFO] ------------------------------------------------------------------------ +[INFO] BUILD SUCCESSFUL +[INFO] ------------------------------------------------------------------------ +[INFO] Total time: 54 seconds +[INFO] Finished at: Fri Jan 25 23:01:01 GMT 2008 +[INFO] Final Memory: 10M/25M +[INFO] ------------------------------------------------------------------------ ++--- + + Here's the resulting tree of the created project + ++--- +$ tree project +project +|-- pom.xml +`-- src + |-- main + | `-- java + | `-- com + | `-- company + | `-- project + | `-- App.java + `-- test + `-- java + `-- com + `-- company + `-- project + `-- AppTest.java + +11 directories, 3 files ++--- + +Backward compatibility + + For backward compatibility with the Archetype Plugin version 1.0-alpha-7, + we keeped the old create goal which can be called using + <<<mvn archetype:create>>>. See {{{#}the old documentation}} for further + reading. \ No newline at end of file Propchange: maven/archetype/trunk/archetype-site/src/site/apt/usage.apt ------------------------------------------------------------------------------ svn:eol-style = native Added: maven/archetype/trunk/archetype-site/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-site/src/site/site.xml?rev=631007&view=auto ============================================================================== --- maven/archetype/trunk/archetype-site/src/site/site.xml (added) +++ maven/archetype/trunk/archetype-site/src/site/site.xml Mon Feb 25 13:40:20 2008 @@ -0,0 +1,82 @@ +<?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 name="Maven Archetype Plugin"> + <bannerLeft> + <name>Maven Archetype Plugin</name> + <src>http://maven.apache.org/images/apache-maven-project-2.png</src> + <href>http://maven.apache.org/</href> + </bannerLeft> + <bannerRight> + <src>http://maven.apache.org/images/maven-logo-2.gif</src> + </bannerRight> + <skin> + <groupId>org.apache.maven.skins</groupId> + <artifactId>maven-stylus-skin</artifactId> + </skin> + <publishDate format="dd MMM yyyy" position="left" /> + <version position="left" /> + <body> + <links> + <item name="Apache" href="http://www.apache.org/"/> + <item name="Maven 1.x" href="http://maven.apache.org/maven-1.x"/> + <item name="Maven 2.x" href="http://maven.apache.org/"/> + <item name="Maven 2.x Plugins" href="http://maven.apache.org/plugins/"/> + <item name="Continuum" href="http://maven.apache.org/continuum"/> + <item name="SCM" href="http://maven.apache.org/scm"/> + <item name="Wagon" href="http://maven.apache.org/wagon"/> + <item name="JXR" href="http://maven.apache.org/jxr"/> + <item name="Doxia" href="http://maven.apache.org/doxia"/> + </links> + + <menu name="Overview"> + <item name="Introduction" href="/index.html"/> + <item name="Usage" href="/usage.html"/> + <item name="Goals" href="/archetype-plugin/plugin-info.html"/> + <item name="FAQ" href="/faq.html"/> + <item name="Specification" href="/specification/specification.html"/> + </menu> + + <!--menu name="Examples"> + <item name="Specifying the Remote Repositories" href="/examples/remote-repositories.html"/> + <item name="Creating a Simple Java Application" href="/examples/simple.html"/> + <item name="Creating a Site" href="/examples/site.html"/> + <item name="Creating a Simple j2ee Project" href="/examples/j2ee-simple.html"/> + <item name="Creating a Webapp" href="/examples/webapp.html"/> + <item name="Creating a Portlet" href="/examples/portlet.html"/> + <item name="Creating a Mojo" href="/examples/mojo.html"/> + <item name="Creating your own Archetype" href="/examples/archetype.html"/> + </menu--> + + <!--menu name="Specification"> + <item name="Introduction to archetype plugin" href="./main.html"/> + <item name="What are archetypes ?" href="./archetypes.html"/> + <item name="Project Generation" href="./generation.html"/> + <item name="Archetype Creation" href="./creation.html"/> + <item name="Handcrafting archetypes" href="./archetype-handcraft.html"/> + <item name="Mojos of the plugin" href="./mojos.html"/> + <item name="Desing of the archetype plugin" href="./design.html"/> + </menu--> + + <menu ref="reports"/> + </body> +</project> Propchange: maven/archetype/trunk/archetype-site/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native