You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2014/07/01 01:32:19 UTC
svn commit: r1606945 [1/3] - in /maven/site/trunk/content: apt/ markdown/
Author: jvanzyl
Date: Mon Jun 30 23:32:18 2014
New Revision: 1606945
URL: http://svn.apache.org/r1606945
Log:
- Removing old docs that are not very useful
- Converted a bunch of docs from APT to Markdown. Converting to HTML and then using Pandoc seems to work quite well.
End goal is to have a site that can be mirrored to Git and have all the pages render by just browser. I hope this will
encourage contribution to our site like Github is doing for the rest of our projects. I consider APT dead and it's just
another barrier to having people try and contribute documentation. Everyone knows Markdown and the tool support for it
amazing. I made a mistake many years ago... I looked at Markdown and the perl script and said "no one is ever going to use that." :-)
Added:
maven/site/trunk/content/markdown/code-quality-management.md
maven/site/trunk/content/markdown/community.md
maven/site/trunk/content/markdown/continuous-integration.md
maven/site/trunk/content/markdown/glossary.md
maven/site/trunk/content/markdown/issue-tracking.md
maven/site/trunk/content/markdown/maven-1.x-eol.md
maven/site/trunk/content/markdown/maven-2.x-eol.md
maven/site/trunk/content/markdown/maven-conventions.md
maven/site/trunk/content/markdown/pom.md
maven/site/trunk/content/markdown/privacy-policy.md
maven/site/trunk/content/markdown/repository-management.md
maven/site/trunk/content/markdown/security.md
maven/site/trunk/content/markdown/settings.md
maven/site/trunk/content/markdown/testimonials.md
maven/site/trunk/content/markdown/what-is-maven.md
Removed:
maven/site/trunk/content/apt/benefits-of-using-maven.apt
maven/site/trunk/content/apt/code-quality-management.apt
maven/site/trunk/content/apt/community.apt
maven/site/trunk/content/apt/continuous-integration.apt
maven/site/trunk/content/apt/glossary.apt
maven/site/trunk/content/apt/issue-tracking.apt
maven/site/trunk/content/apt/maven-1.x-eol.apt
maven/site/trunk/content/apt/maven-2.x-eol.apt
maven/site/trunk/content/apt/maven-conventions.apt
maven/site/trunk/content/apt/maven-features.apt
maven/site/trunk/content/apt/netbeans-module.apt
maven/site/trunk/content/apt/pom.apt
maven/site/trunk/content/apt/powered-by-m2.apt
maven/site/trunk/content/apt/privacy-policy.apt
maven/site/trunk/content/apt/repository-management.apt
maven/site/trunk/content/apt/security.apt
maven/site/trunk/content/apt/settings.apt
maven/site/trunk/content/apt/testimonials.apt
maven/site/trunk/content/apt/what-is-maven.apt
Added: maven/site/trunk/content/markdown/code-quality-management.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/code-quality-management.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/code-quality-management.md (added)
+++ maven/site/trunk/content/markdown/code-quality-management.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,20 @@
+## Code Quality Management
+
+Some existing Maven plugins use code analysis technologies (like
+Checkstyle, PMD, JDepend, ...) to generate various quality reports. This
+page lists technologies and platforms that know how to aggregate all
+this information to offer enhanced quality management functionalities.
+
+### Quality management technologies and platforms
+
+Following is an alphabetical list of those we've heard mentioned around
+the Maven community:
+
+- [Hudson](https://hudson.dev.java.net) - MIT license
+- [Maven Dashboard
+ plugin](http://mojo.codehaus.org/dashboard-maven-plugin/) - Apache
+ Software License 2.0
+- [Sonar](http://sonar.codehaus.org) - LGPL v3
+- [Squale](http://www.squale.org/) - LGPL v3
+- [XRadar](http://xradar.sourceforge.net) - BSD style license
+
Added: maven/site/trunk/content/markdown/community.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/community.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/community.md (added)
+++ maven/site/trunk/content/markdown/community.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,74 @@
+## The Maven Community
+
+Maven, like any other opensource project, relies heavily on the efforts
+of the entire user community to be ever vigilent for improvements,
+logging of defects, communicating use-cases, generating documentation,
+and being wary of other users in need. This is a quick guide outlining
+what members of the Maven community may do to make the system work
+better for everyone.
+
+### Helping With Maven
+
+There is already a comprehensive [Guide to Helping With
+Maven](./guides/development/guide-helping.html). That guide focuses upon
+beginning as a supporter, with information on how to help the coding
+effort.
+
+#### Commit Questions or Answers to the Maven User FAQ
+
+Documentation is currently a very high priority for the Maven community.
+Please help out where ever you can, specifically in the work-in-progress
+[FAQ Wiki](http://docs.codehaus.org/display/MAVENUSER/FAQs).
+
+#### Help Log Defects in JIRA
+
+Just as any other healthy project requires a quick turn-around on
+defects, and a transparent method of users to have their wishes heard,
+so too does Maven need your help. Refer to the [Issue
+Tracking](./issue-tracking.html) page.
+
+#### Developers
+
+For Maven developers, committers, PMC: there is a [Developers
+Guide](./developers/index.html).
+
+### Being a Good Maven Citizen
+
+The concept of a public repository built into the core architecture of
+Maven makes it necessarily community-centric. There are a few simple
+things that Maven users may do to help keep that community thriving.
+
+#### Be a Kind Public Repository User
+
+The best thing that a user can do is to set up their own remote
+repository mirror containing the projects needed: this is called a
+[repository manager](.//repository-management.html). This reduces strain
+on the Maven central repository, and allows new users to get acquainted
+with Maven easier and quicker. This is especially important for
+power-users and corporations. The incentive behind this is, controlling
+your own servers can give you desired level of security and more control
+over uptime, resulting in a better experience for your users. With that
+said, keep the following sentiment in mind:
+
+*DO NOT wget THE ENTIRE REPOSITORY!*
+
+Please take only the jars you need. We understand this is may entail
+more work, but grabbing all 9+ Gigs of binaries really kills our
+servers.
+
+### User Gathering Spots
+
+These are a few of the watering holes around which Maven users tend to
+gather.
+
+#### Mailing Lists
+
+Maven has a number of [Mailing Lists](./mail-lists.html), and the Maven
+User List is specifically dedicated to answering questions about all
+Maven things.
+
+#### IRC (Internet Relay Chat)
+
+Log into the `#maven` IRC channel on `irc.codehaus.org` with your
+favorite IRC client or [with web IRC client](http://irc.codehaus.org).
+
Added: maven/site/trunk/content/markdown/continuous-integration.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/continuous-integration.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/continuous-integration.md (added)
+++ maven/site/trunk/content/markdown/continuous-integration.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,14 @@
+## Continuous Integration
+
+### CI Servers
+
+Following is an alphabetical list of some CI servers we've heard
+mentioned around the Maven community:
+
+- [Apache Continuum](http://continuum.apache.org/)
+- [Bamboo (Atlassian)](http://www.atlassian.com/software/bamboo/)
+- [Cruise Control](http://cruisecontrol.sourceforge.net/)
+- [Hudson](https://hudson.dev.java.net)
+- [Jenkins](http://jenkins-ci.org/)
+- [TeamCity (JetBrains)](http://www.jetbrains.com/teamcity/)
+
Added: maven/site/trunk/content/markdown/glossary.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/glossary.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/glossary.md (added)
+++ maven/site/trunk/content/markdown/glossary.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,71 @@
+## Glossary
+
+This document describes some of the most common terms encountered while
+using Maven. These terms, that have an explicit meaning for Maven, can
+sometimes be confusing for newcomers.
+
+- **Project**: Maven thinks in terms of projects. Everything that you
+ will build are projects. Those projects follow a well defined
+ "Project Object Model". Projects can depend on other projects, in
+ which case the latter are called "dependencies". A project may
+ consistent of several subprojects, however these subprojects are
+ still treated equally as projects.
+- **Project Object Model (POM)**: The Project Object Model, almost
+ always referred as the POM for brevity, is the metadata that Maven
+ needs to work with your project. Its name is "project.xml" and it is
+ located in the root directory of each project.
+- **Artifact**: An artifact is something that is either produced or
+ used by a project. Examples of artifacts produced by Maven for a
+ project include: JARs, source and binary distributions, WARs. Each
+ artifact is uniquely identified by a [group id](#GroupId) and an
+ artifact ID which is unique within a group.
+- **GroupId**: A group ID is a universally unique identifier for a
+ project. While this is often just the project name (eg.
+ `commons-collections`), it is helpful to use a fully-qualified
+ package name to distinguish it from other projects with a similar
+ name (eg. `org.apache.maven`).
+- **Dependency**: A typical Java project relies on libraries to build
+ and/or run. Those are called "dependencies" inside Maven. Those
+ dependencies are usually other projects' JAR artifacts, but are
+ referenced by the POM that describes them.
+- **Plug-in**: Maven is organized in plugins. Every piece of
+ functionality in Maven is provided by a plugin. Plugins provide
+ goals and use the metadata found in the POM to perform their task.
+ Examples of plugins are: jar, eclipse, war. Plugins are primarily
+ written in Java, but Maven also supports writing plug-ins in
+ Beanshell and Ant Scripting.
+- **Mojo**: A plugin written in Java consists of one or more mojos. A
+ mojo is a Java class that implements the
+ org.apache.maven.plugin.Mojo interface. This means that a mojo is
+ the implementation for a goal in a plugin.
+
+- **Repository**:
+
+ Refer to [Introduction to
+ Repositories](./guides/introduction/introduction-to-repositories.html)
+
+- **Snapshots**: Projects can (and should) have a special version
+ including `SNAPSHOT` to indicate that they are a "work in progress",
+ and are not yet released. When a snapshot dependency is encountered,
+ it is always looked for in all remote repositories, and downloaded
+ again if newer than the local copy.
+
+ The version can either be the string `SNAPSHOT` itself, indicating
+ "the very latest" development version, or something like
+ `1.1-SNAPSHOT`, indicating development that will be released as 1.1
+ (i.e. newer than 1.0, but not yet 1.1).
+
+- **APT**: APT is a wiki-like format of documentation that Maven
+ currently understands.
+
+ For information on how to create APT files, refer to the [Guide to
+ creating a site](./guides/mini/guide-site.html) document.
+
+- **XDoc**: XDoc is the format of documentation that Maven currently
+ understands. It is quite simple, and allows embedding XHTML within a
+ simple layout that is transformed into a uniform site.
+
+ For information on how to create XDoc files, refer to the [Guide to
+ creating a site](./guides/mini/guide-site.html) document.
+
+
Added: maven/site/trunk/content/markdown/issue-tracking.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/issue-tracking.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/issue-tracking.md (added)
+++ maven/site/trunk/content/markdown/issue-tracking.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,48 @@
+## Overview
+
+Maven projects use [JIRA](http://www.atlassian.com/software/jira) a
+J2EE-based, issue tracking and project management application.
+
+## Issue Tracking
+
+Issues, bugs, and feature requests should be submitted to the following
+issue tracking systems depending on which project is involved.
+
+### Maven Project
+
+<http://jira.codehaus.org/browse/MNG>
+
+### Maven Website Project
+
+<http://jira.codehaus.org/browse/MNGSITE>
+
+### Maven Project Administration
+
+<http://jira.codehaus.org/browse/MPA>
+
+### Maven Plugins Projects
+
+Please refer you to the [Available Plugins](./plugins/index.html) page.
+
+### Maven Sub Projects
+
+#### Doxia
+
+<http://jira.codehaus.org/browse/DOXIA>
+
+#### JXR
+
+<http://jira.codehaus.org/browse/JXR>
+
+#### SCM
+
+<http://jira.codehaus.org/browse/SCM>
+
+#### Wagon
+
+<http://jira.codehaus.org/browse/WAGON>
+
+### Central Repository
+
+<https://issues.sonatype.org/browse/MVNCENTRAL>
+
Added: maven/site/trunk/content/markdown/maven-1.x-eol.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/maven-1.x-eol.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/maven-1.x-eol.md (added)
+++ maven/site/trunk/content/markdown/maven-1.x-eol.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,21 @@
+## End Of Life Apache Maven 1.x
+
+The Apache Maven Project Team would like to inform you that the Apache
+Maven 1.x has reached its end of life and is no longer supported.
+
+Apache Maven 1.x had its last release - version 1.1 - in June 2007.
+
+This means:
+
+- security vulnerability reports will not be checked against the 1.x
+ branch
+- the 1.x download pages will be removed.
+- the latest 1.x release will be removed from the mirror system
+- the 1.x branch in svn will move from /maven/maven-1/ to
+ /maven/archives/maven-1/
+- the links to the 1.x documentation will be moved from
+ http://maven.apache.org/maven-1.x/ to
+ http://maven.apache.org/archives/maven-1.x/
+
+The Apache Maven Team.
+
Added: maven/site/trunk/content/markdown/maven-2.x-eol.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/maven-2.x-eol.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/maven-2.x-eol.md (added)
+++ maven/site/trunk/content/markdown/maven-2.x-eol.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,19 @@
+## End Of Life Apache Maven 2.x
+
+The Apache Maven Project Team would like to inform you that the Apache
+Maven 2.x has reached its end of life and is no longer supported.
+
+Apache Maven 2.x had its last release - version 2.2.1 - in November
+2009.
+
+This means:
+
+- security vulnerability reports will not be checked against the 2.x
+ branch
+- the 2.x download pages will be removed.
+- the latest 2.x release will be removed from the mirror system
+- the links to any 2.x specific documentation will be moved to
+ [http://maven.apache.org/archives/maven-2.x/](./archives/maven-2.x/index.html).
+
+The Apache Maven Team.
+
Added: maven/site/trunk/content/markdown/maven-conventions.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/maven-conventions.md?rev=1606945&view=auto
==============================================================================
--- maven/site/trunk/content/markdown/maven-conventions.md (added)
+++ maven/site/trunk/content/markdown/maven-conventions.md Mon Jun 30 23:32:18 2014
@@ -0,0 +1,49 @@
+## Maven Conventions
+
+This document defines some conventions that Maven recommends projects
+adopt. This is especially important if you intend to distribute your
+project publicly.
+
+## Artifact Naming
+
+This section outlines the naming conventions used in the Maven project
+object model (POM). This document is an attempt to try and unify the
+many various ways projects name the artifacts that they publish for
+general consumption by the Java developer community (regardless of
+whether they are using Maven).
+
+The first thing you will do when creating a project is to select a group
+ID and an artifact ID. If you are building a project to be part of a
+larger product that is already using Maven, you should attempt to follow
+any patterns already established by other projects for consistency.
+
+These identifiers should be comprised of *lowercase* letters, digits,
+and hyphens only.
+
+In general you should select a group ID that describes the entire
+product, and artifact IDs that are the basis of filenames for each item
+you distribute. The artifact ID may or may not overlap the group ID.
+
+For example:
+
+ maven : maven-core
+ maven : wagon-api
+
+As previously mentioned, the artifact ID should be the basis of the
+filename for the project, as by default Maven will use that and the
+version to assemble the filename. Having the version as part of the
+filename is strongly recommended to ensure that the version can be
+determined at a glance without having to check a possibly non-existant
+manifest, or compare file sizes with the official releases.
+
+Following these guidelines are particularly encouraged when distributing
+via the Maven Repository, to ensure that it can easily fit alongside
+other projects and reduce the risk of conflicts and confusion.
+
+## Directory Structure
+
+Maven encourages a common directory structure for a project. For more
+information on this please refer to our [Introduction to the standard
+directory
+structure](./guides/introduction/introduction-to-the-standard-directory-layout.html).
+