You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2011/02/05 00:26:59 UTC
svn commit: r1067343 - in /maven/pom/trunk/asf: pom.xml src/ src/site/
src/site/apt/ src/site/apt/index.apt src/site/site.xml
Author: olamy
Date: Fri Feb 4 23:26:58 2011
New Revision: 1067343
URL: http://svn.apache.org/viewvc?rev=1067343&view=rev
Log:
[MPOM-5] Produce documentation of this POM that can be added to the infra site.
Submitted by Benson Margulies.
Added:
maven/pom/trunk/asf/src/
maven/pom/trunk/asf/src/site/
maven/pom/trunk/asf/src/site/apt/
maven/pom/trunk/asf/src/site/apt/index.apt (with props)
maven/pom/trunk/asf/src/site/site.xml (with props)
Modified:
maven/pom/trunk/asf/pom.xml
Modified: maven/pom/trunk/asf/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?rev=1067343&r1=1067342&r2=1067343&view=diff
==============================================================================
--- maven/pom/trunk/asf/pom.xml (original)
+++ maven/pom/trunk/asf/pom.xml Fri Feb 4 23:26:58 2011
@@ -82,6 +82,7 @@ under the License.
<name>Apache Announce List</name>
<subscribe>announce-subscribe@apache.org</subscribe>
<unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
+
<post>announce@apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
</mailingList>
@@ -214,7 +215,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.0.1</version>
+ <version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Added: maven/pom/trunk/asf/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/src/site/apt/index.apt?rev=1067343&view=auto
==============================================================================
--- maven/pom/trunk/asf/src/site/apt/index.apt (added)
+++ maven/pom/trunk/asf/src/site/apt/index.apt Fri Feb 4 23:26:58 2011
@@ -0,0 +1,105 @@
+ --------------------------
+ Apache Software Foundation Shared POM
+ --------------------------
+ 28 January 2011
+ --------------------------
+
+~~ 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/doxia/references/apt-format.html
+
+Apache Software Foundation Shared POM
+
+ This project consists of a POM that contains settings that are
+ likely to be useful to any Apache project that is building and
+ releasing code with Maven 2/3. By using this project as a parent,
+ a project gets these settings.
+
+ Most project will want to override some of these settings.
+
+ The following is a list of the items configured in this POM:
+
+ * Top-level project properties:
+
+ ** <<license>>: The Apache Software License, version 2.0.
+
+ ** <<organization>>: The Apache Software Foundation
+
+ ** <<url>>: http://www.apache.org/. You should override this.
+
+ ** <<repositories>>: The pom adds the Apache snapshot
+ repository. (http://repository.apache.org/snapshots)
+
+ ** <<distributionManagement>>: The POM sets up for releases to the Apache Nexus
+ instance at
+ https://repository.apache.org/service/local/staging/deploy/maven2
+ and snapshots to
+ https://repository.apache.org/content/repositories/snapshots. Note
+ that there is are POM parameters that you can override to change
+ the snapshot location.
+
+ ** <<mailingLists>>: The POM sets up generic Apache announcement
+ lists. You should override this.
+
+ ** <<scm>>: The location <of this POM> in subversion. You must override
+ this for the release plugin to work correctly.
+
+ * <<pluginManagement>>: The plugin management section specifies versions
+ of a list of plugins. See the reports on this site for a list.
+
+ ** The compiler plugin is set to default to Java 1.4 and
+ UTF-8 source.
+
+ ** the jar plugin is set to add default specification and
+ implementation entries.
+
+ ** the resources plugin is set for UTF-8.
+
+ ** The Release Plugin: the release plugin is set, via the
+ \<arguments\> configuration element, to enable the
+ <<apache-release>> profile for <<all>> executions and to disable
+ \<useReleaseProfiles\>. You can remove this with an empty
+ \<arguments/\> element in the configuration of the release plugin.
+
+ * <<plugins>>: The plugins section configures one exexcution:
+
+ ** maven-remote-resources-plugin for
+ org.apache:apache-jar-resource-bundle:1.4.
+
+The <<apache-release>> Profile
+
+ As noted above, this pom configures the release plugin to enable
+ the apache-release profile for all executions of the release
+ plugin. The profile includes the following plugins:
+
+ * maven-assemble-plugin:
+ org.apache.apache.resources:apache-source-release-assembly-descriptor:1.0.3
+ is in the dependencies, and an execution is configured.The plugin
+ is configured to take a descriptorRef name from the
+ <<sourceReleaseAssemblyDescriptor>> property, which by default is
+ set to 'source-release'.
+
+ * maven-deploy-plugin
+
+ * maven-source-plugin: configured to build and attach a source jar.
+
+ * maven-javadoc-plugin: configured to build and attach a javadoc jar.
+
+ * maven-gpg-plugin: configured to sign everything. It expects to find
+ a passphrase in $\{gpg.passphrase\}, presumably in your settings.xml.
Propchange: maven/pom/trunk/asf/src/site/apt/index.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/pom/trunk/asf/src/site/apt/index.apt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/pom/trunk/asf/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/src/site/site.xml?rev=1067343&view=auto
==============================================================================
--- maven/pom/trunk/asf/src/site/site.xml (added)
+++ maven/pom/trunk/asf/src/site/site.xml Fri Feb 4 23:26:58 2011
@@ -0,0 +1,59 @@
+<?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>
+ <bannerLeft>
+ <name>${project.name}</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>
+ <version>1.2</version>
+ </skin>
+
+ <publishDate format="yyyy-MM-dd" position="right" />
+ <version position="right" />
+
+ <body>
+
+ <!-- Breadcrumbs that every project will inherit -->
+ <breadcrumbs>
+ <item name="Apache" href="http://www.apache.org/" />
+ </breadcrumbs>
+
+ <!-- Menus that every project will inherit -->
+ <menu ref="reports" inherit="bottom" />
+
+ <menu name="ASF">
+ <item name="How Apache Works" href="http://www.apache.org/foundation/how-it-works.html"/>
+ <item name="Foundation" href="http://www.apache.org/foundation/"/>
+ <item name="Sponsoring Apache" href="http://www.apache.org/foundation/sponsorship.html"/>
+ <item name="Thanks" href="http://www.apache.org/foundation/thanks.html"/>
+ </menu>
+
+ </body>
+</project>
Propchange: maven/pom/trunk/asf/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/pom/trunk/asf/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision