From 4f2a2dba89251d9045fe9944783509a397491da3 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Sun, 19 Feb 2017 21:17:31 +0100 Subject: [PATCH] [MNG-6174] Clean Up Maven Model --- maven-model/src/main/mdo/maven.mdo | 667 ----------------------------- 1 file changed, 667 deletions(-) diff --git a/maven-model/src/main/mdo/maven.mdo b/maven-model/src/main/mdo/maven.mdo index de800d9388..7ba6106ca5 100644 --- a/maven-model/src/main/mdo/maven.mdo +++ b/maven-model/src/main/mdo/maven.mdo @@ -82,18 +82,6 @@ - - pomVersion - 3.0.0 - true - String - - 3. - ]]> - - modelVersion 4.0.0+ @@ -106,20 +94,6 @@ - - extend - 3.0.0 - - project.xml file. For example, - <extend>${basedir}/../project.xml</extend>. - ]]> - - String - parent 4.0.0+ @@ -158,25 +132,6 @@ distributions, and WARs. String - - id - 3.0.0 - true - - Deprecated. When used, this sets both the groupId - and artifactId elements if they were previously empty. - ]]> - - String - - - currentVersion - The current version of the artifact produced by this project. - 3.0.0 - true - String - version 4.0.0+ @@ -184,15 +139,6 @@ The current version of the artifact produced by this project. String - - versions - 3.0.0 - Contains information on previous versions of the project. - - Version - * - - packaging 4.0.0+ @@ -222,13 +168,6 @@ The full name of the project. String - - shortDescription - 3.0.0 - A short description of the project. The short description should be limited - to a single line. - String - description 3.0.0+ @@ -250,20 +189,6 @@ String - - siteAddress - 3.0.0 - The hostname of the web server that hosts the project's web site. This is - used when the web site is deployed. - String - - - siteDirectory - 3.0.0 - The directory on the web server where the public web site for this project - resides. This is used when the web site is deployed. - String - inceptionYear 3.0.0+ @@ -272,20 +197,6 @@ used when generating copyright notices as well as being informational. String - - logo - 3.0.0 - - /images/project-logo.png) or an absolute URL - (e.g., http://my.corp/project-logo.png). This is used - when generating the project documentation. - ]]> - - String - organization 3.0.0+ @@ -361,27 +272,6 @@ - - branches - 3.0.0 - - - - - Branch - * - - - - repository - 3.0.0 - Specification for the SCM used by the project, such as CVS, Subversion, etc. - - Repository - - scm 4.0.0+ @@ -395,12 +285,6 @@ - - issueTrackingUrl - 3.0.0 - The URL of the project's issue tracking system. - String - issueManagement 4.0.0+ @@ -414,12 +298,6 @@ - - gumpRepositoryId - 3.0.0 - This is the repository identifier in Gump that this project is part of. - String - ciManagement 4.0.0+ @@ -429,83 +307,6 @@ - - - - - - distributionSite - 3.0.0 - - maven.repo.central and maven.repo.central.directory. - ]]> - - String - - - distributionDirectory - 3.0.0 - The directory on the web server where the final distributions will be - published. This is used when the distributions are deployed. - String - - - - - - - - packageGroups - 3.0.0 - Package groups required for complete javadocs. - - PackageGroup - * - - - - reports - 3.0.0 - - maven site. All of the - reports will be included in the navigation bar for browsing in - the order they are specified. - ]]> - - - String - * - - - - properties - 3.0.0 - - <name>value</name>. - ]]> - - Properties - - String - * - - - - packageName - 3.0.0 - String - The Java package name of the project. This value is used when generating - JavaDoc. - - @@ -536,33 +337,6 @@ - - 3.0.0 - - - - 4.0.0+ @@ -757,21 +531,6 @@ - - Branch - 3.0.0 - Contains information on the SCM branches of the project. - - - tag - 3.0.0 - true - The branch tag in the version control system (e.g. cvs) used by the project - for the source code associated with this branch of the project. - String - - - PluginContainer 3.0.0+ @@ -935,14 +694,6 @@ ]]> - - nagEmailAddress - 3.0.0 - An address to which notifications regarding the status of builds for this - project can be sent. This is intended for use by tools which do unattended builds, for - example those providing for continuous integration. - String - sourceDirectory 3.0.0+ @@ -968,15 +719,6 @@ String - - unitTestSourceDirectory - 3.0.0 - true - This element specifies a directory containing the unit test source of the - project. The generated build system will compile these directories when the project is - being tested. The path given is relative to the project descriptor. - String - testSourceDirectory 4.0.0+ @@ -989,52 +731,6 @@ String - - aspectSourceDirectory - 3.0.0 - This element specifies a directory containing Aspect sources of the project. - The generated build system will compile the Aspects in this directory when the project - is built if Aspects have been enabled. The path given is relative to the project - descriptor. - String - - - integrationUnitTestSourceDirectory - 3.0.0 - - deprecated and should no longer be used. - Initially it was used by the first Cactus plugin. Now - the location of the Cactus test sources is defined - through a plugin property. See the Cactus plugin - properties - page. - ]]> - - String - - - sourceModifications - 3.0.0 - true - This element describes all of the sourceModifications associated with a - project. These modifications are used to exclude or include various source depending on - the environment the build is running in. - - SourceModification - * - - - - unitTest - 3.0.0 - true - This element specifies unit tests associated with the project. - new UnitTest() - - UnitTest - - outputDirectory 4.0.0+ @@ -1253,18 +949,6 @@ ]]> - - id - 3.0.0 - true - - Deprecated. Please use groupId and - artifactId together instead. - ]]> - - String - groupId 3.0.0+ @@ -1300,36 +984,6 @@ String - - url - 3.0.0 - This url will be provided to the user if the jar file cannot be downloaded - from the central repository. - String - - - jar - 3.0.0 - Literal name of the artifact in the repository. Used to override the - calculated artifact name. - String - - - type - 3.0.0 - - jar, war, and plugin. - A dependency of type plugin is loaded as a Maven plugin and - not added to the project build classpath. - ]]> - - String - jar - type 4.0.0+ @@ -1370,23 +1024,6 @@ String false - - properties - 3.0.0 - - war.bundle property, and if found will include the - dependency in WEB-INF/lib. - ]]> - - Properties - - String - * - - scope 4.0.0+ @@ -1449,20 +1086,6 @@ - - 3.0.0 - - - - 4.0.0+ @@ -1503,111 +1126,6 @@ managementKey = groupId + ":" + artifactId + ":" + type + ( classifier != null ? ":" + classifier : "" ); } return managementKey; - } - ]]> - - - - 3.0.0 - - id:type - */ - public String getKey() - { - return getId() + ":" + getType(); - } - - /** - * @return the groupId as artifact directory - */ - public String getArtifactDirectory() - { - return getGroupId(); - } - - /** - * @return the artifact name as artifactId-version.extension if <jar/> not set - */ - public String getArtifact() - { - // If the jar name has been explicitly set then use that. This - // is when the element is explicitly used in the POM. - if ( getJar() != null) - { - return getJar(); - } - - String artifact; - - if ("ejb-client".equals(getType())) { - artifact = getArtifactId() + "-" + getVersion() + "-client." + getExtension(); - } else { - artifact = getArtifactId() + "-" + getVersion() + "." + getExtension(); - } - - return artifact; - } - - public String getTypeDirectory() - { - String path; - if (getType().equals("ejb-client")) { - path = "ejbs"; - } else { - path = getType() + "s"; - } - - return path; - } - - public String getExtension() - { - if ("ejb".equals(getType()) || "ejb-client".equals(getType()) || "plugin".equals(getType()) || "aspect".equals(getType()) || "uberjar".equals(getType())) return "jar"; - return getType(); - } - - public boolean isAddedToClasspath() - { - return ("jar".equals(getType()) || "ejb".equals(getType()) || "ejb-client".equals(getType()) || "sar".equals(getType())); - } - - public boolean isPlugin() - { - return ("plugin".equals(getType())); - } - - public String getProperty( String property ) - { - return getProperties().getProperty( property ); - } - - /** - * @see java.lang.Object#equals(java.lang.Object) - */ - public boolean equals( Object o ) - { - if ( this == o ) - { - return true; - } - - if ( !( o instanceof Dependency ) ) - { - return false; - } - - Dependency d = (Dependency) o; - return getId().equals( d.getId() ); - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() - { - return getId().hashCode(); } ]]> @@ -1887,39 +1405,6 @@ The URL to the organization's home page. String - - logo - 3.0.0 - - /images/org-logo.png) or an absolute URL - (e.g., http://my.corp/logo.png). This value is used - when generating the project documentation. - ]]> - - String - - - - - PackageGroup - 3.0.0 - A JavaDoc package group. - - - title - 3.0.0 - The title to use for the package group. - String - - - packages - 3.0.0 - The packages in the group - String - @@ -2077,50 +1562,6 @@ - - Repository - 3.0.0 - - <repository> element contains informations required to a repository - used by the project. - ]]> - - - - connection - 3.0.0 - - URL format - and list of supported SCMs. - This connection is read-only. - ]]> - - String - - - developerConnection - 3.0.0 - - connection, but for developers, i.e. this scm connection - will not be read only. - ]]> - - String - - - url - 3.0.0 - The URL to the project's browsable SCM repository, such as ViewVC or Fisheye. - String - - - Scm 4.0.0+ @@ -2299,114 +1740,6 @@ - - SourceModification - This element describes all of the source modifications associated with a project. - These modifications are used to exclude or include various source depending on the - environment the build is running in. - 3.0.0 - FileSet - - - className - 3.0.0 - - not be - loaded, then the includes and excludes specified below - will be applied to the contents of the sourceDirectory. - ]]> - - String - - - property - 3.0.0 - - not set, - then the includes and excludes specified below - will be applied to the contents of the sourceDirectory. - ]]> - - String - - - - - UnitTest - 3.0.0 - PatternSet - A PatternSet for unit tests. - - - resources - 3.0.0 - The classpath resources to use when executing the unit tests. - - Resource - * - - - - - - Version - 3.0.0 - - version - element - ]]> - - - - name - 3.0.0 - - 1.0, - 1.1-alpha1, - 1.2-beta, - 1.3.2 etc. - ]]> - - String - - - tag - 3.0.0 - The name given in the SCM (e.g. CVS) used by the project for the source code - associated with this version of the project. - String - - - id - 3.0.0 - A unique identifier for a version. This is usually identical to the name. - String - - - - - 3.0.0 - - - - - - - RepositoryBase 4.0.0+