From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../maven-repository-metadata/pom.xml | 63 ++++ .../src/main/mdo/metadata.mdo | 371 +++++++++++++++++++++ .../src/site/apt/index.apt | 52 +++ .../maven-repository-metadata/src/site/site.xml | 36 ++ 4 files changed, 522 insertions(+) create mode 100644 framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/pom.xml create mode 100644 framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/main/mdo/metadata.mdo create mode 100644 framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/apt/index.apt create mode 100644 framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/site.xml (limited to 'framework/src/maven/apache-maven-3.3.3/maven-repository-metadata') diff --git a/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/pom.xml b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/pom.xml new file mode 100644 index 00000000..e9181539 --- /dev/null +++ b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/pom.xml @@ -0,0 +1,63 @@ + + + + + + 4.0.0 + + + org.apache.maven + maven + 3.3.3 + + + maven-repository-metadata + + Maven Repository Metadata Model + Per-directory local and remote repository metadata. + + + scm:git:https://git-wip-us.apache.org/repos/asf/maven.git + scm:git:https://git-wip-us.apache.org/repos/asf/maven.git + maven-3.3.3 + + + + + org.codehaus.plexus + plexus-utils + + + + + + + org.codehaus.modello + modello-maven-plugin + + 1.1.0 + + src/main/mdo/metadata.mdo + + + + + + diff --git a/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/main/mdo/metadata.mdo b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/main/mdo/metadata.mdo new file mode 100644 index 00000000..97920027 --- /dev/null +++ b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/main/mdo/metadata.mdo @@ -0,0 +1,371 @@ + + + + repository-metadata + Metadata + Per-directory repository metadata, for directories representing un-versioned artifact, snapshot artifact + or a group containing Maven plugins.

+

Notice that most metadata content has a meaning when the directory represents + an artifact (groupId, artifactId, versioning), but + plugins is used when the directory represents a group.

]]> +
+ + + package + org.apache.maven.artifact.repository.metadata + + + + + Metadata + 1.0.0+ + + + modelVersion + 1.1.0+ + String + The version of the underlying metadata model. + + + groupId + 1.0.0+ + String + The groupId that this directory represents, if any. + + + artifactId + 1.0.0+ + String + The artifactId that this directory represents, if any. + + + version + 1.0.0+ + String + The version that this directory represents, if any. It is used for artifact snapshots only. + + + versioning + 1.0.0+ + + Versioning + + Versioning information for the artifact. + + + plugins + 1.0.0+ + The set of plugin mappings for the group represented by this directory + + Plugin + * + + + + + + 1.0.0+ + = 0 ) + { + changed = true; + v.setLastUpdated( versioning.getLastUpdated() ); + + if ( versioning.getRelease() != null ) + { + changed = true; + v.setRelease( versioning.getRelease() ); + } + if ( versioning.getLatest() != null ) + { + changed = true; + v.setLatest( versioning.getLatest() ); + } + + Snapshot s = v.getSnapshot(); + Snapshot snapshot = versioning.getSnapshot(); + if ( snapshot != null ) + { + if ( s == null ) + { + s = new Snapshot(); + v.setSnapshot( s ); + changed = true; + } + + // overwrite + if ( s.getTimestamp() == null ? snapshot.getTimestamp() != null + : !s.getTimestamp().equals( snapshot.getTimestamp() ) ) + { + s.setTimestamp( snapshot.getTimestamp() ); + changed = true; + } + if ( s.getBuildNumber() != snapshot.getBuildNumber() ) + { + s.setBuildNumber( snapshot.getBuildNumber() ); + changed = true; + } + if ( s.isLocalCopy() != snapshot.isLocalCopy() ) + { + s.setLocalCopy( snapshot.isLocalCopy() ); + changed = true; + } + } + } + } + return changed; + } + ]]> + + + + + Versioning + 1.0.0+ + Versioning information for an artifact (un-versioned or snapshot) + + + latest + 1.0.0+ + String + What the latest version in the directory is, including snapshots + + + release + 1.0.0+ + String + What the latest version in the directory is, of the releases only + + + snapshot + 1.0.0+ + + Snapshot + + The current snapshot data in use for this version (artifact snapshots only) + + + versions + 1.0.0+ + Versions available of the artifact (both releases and snapshots) + + String + * + + + + lastUpdated + 1.0.0+ + String + When the metadata was last updated + + + snapshotVersions + 1.1.0+ + Information for each sub-artifact available in this artifact snapshot. + + SnapshotVersion + * + + + + + + 1.0.0+ + + + + + + Snapshot + 1.0.0+ + Snapshot data for the current artifact version + + + timestamp + 1.0.0+ + The time it was deployed + String + + + buildNumber + 1.0.0+ + The incremental build number + int + + + localCopy + 1.0.0+ + Whether to use a local copy instead (with filename that includes the base version) + boolean + false + + + + + SnapshotVersion + 1.1.0+ + Versioning information for a sub-artifact of the current snapshot artifact. + + + classifier + 1.1.0+ + String + The classifier of the sub-artifact. + + + + extension + 1.1.0+ + String + The file extension of thesub-artifact. + + + version + 1.1.0+ + String + The resolved snapshot version of the sub-artifact. + + + updated + 1.1.0+ + String + The timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss. + + + + + Plugin + 1.0.0+ + Mapping information for a single plugin within this group + NOTE: plugin version is _NOT_ included here, since it is resolved using a separate algorithm in plugins' artifact. + + + name + String + true + 1.0.0+ + Display name for the plugin. + + + prefix + String + true + 1.0.0+ + The plugin invocation prefix (i.e. eclipse for eclipse:eclipse) + + + artifactId + String + true + 1.0.0+ + The plugin artifactId + + + + +
diff --git a/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/apt/index.apt b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/apt/index.apt new file mode 100644 index 00000000..194fc0df --- /dev/null +++ b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/apt/index.apt @@ -0,0 +1,52 @@ +~~ 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. + + ----- + Introduction + ----- + Hervé Boutemy + ----- + 2009-04-26 + ----- + +Maven Repository Metadata Model + + This is strictly the model for Maven Repository Metadata, so really just plain objects. + + Maven Repository Metadata is available in directories representing: + + [[1]] an un-versioned artifact: it gives informations about available versions of the artifact, + + [[2]] a snapshot artifact: it gives precise information on the snapshot, + + [[3]] a group containing Maven plugins artifacts: it gives informations on plugins available in this group. + + [] + + The metadata file name is: + + * <<>> in a remote repository, + + * <<.xml>>> in a local repository, for metatada from a repository with <<>> identifier. + + [] + + The following are generated from this model: + + * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, to read and write <<>> files + + * A {{{./repository-metadata.html}Descriptor Reference}} diff --git a/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/site.xml b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/site.xml new file mode 100644 index 00000000..0471f895 --- /dev/null +++ b/framework/src/maven/apache-maven-3.3.3/maven-repository-metadata/src/site/site.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg