mirror of https://github.com/apache/maven.git
o merged r541157 from branch (reformat before working on MNG-2461)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b88762449b
commit
cc427b82c0
|
@ -1,28 +1,29 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
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
|
||||
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
|
||||
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.
|
||||
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.
|
||||
-->
|
||||
|
||||
<model>
|
||||
<id>settings</id>
|
||||
<name>Settings</name>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
<p>This is a reference for the user-specific configuration for Maven.</p>
|
||||
<p>Includes things that should not be distributed with the pom.xml file, such as developer identity, along with
|
||||
local settings, like proxy information.</p>
|
||||
|
@ -31,7 +32,8 @@ under the License.
|
|||
<ul>
|
||||
<li><a href="http://maven.apache.org/xsd/settings-1.0.0.xsd">http://maven.apache.org/xsd/settings-1.0.0.xsd</a>.</li>
|
||||
</ul>
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<defaults>
|
||||
<default>
|
||||
<key>package</key>
|
||||
|
@ -42,12 +44,15 @@ under the License.
|
|||
<class>
|
||||
<name>TrackableBase</name>
|
||||
<version>1.0.0</version>
|
||||
<description>common base class that contains code to track the source for this instance
|
||||
(USER|GLOBAL)</description>
|
||||
<description>
|
||||
common base class that contains code to track the source for
|
||||
this instance (USER|GLOBAL)
|
||||
</description>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
<code>
|
||||
<![CDATA[
|
||||
public static final String USER_LEVEL = "user-level";
|
||||
public static final String GLOBAL_LEVEL = "global-level";
|
||||
|
||||
|
@ -75,7 +80,8 @@ under the License.
|
|||
{
|
||||
return sourceLevel;
|
||||
}
|
||||
]]></code>
|
||||
]]>
|
||||
</code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
|
@ -97,19 +103,29 @@ under the License.
|
|||
<name>Settings</name>
|
||||
<version>1.0.0</version>
|
||||
<superClass>TrackableBase</superClass>
|
||||
<description>Root element of the user configuration file.</description>
|
||||
<description>
|
||||
Root element of the user configuration file.
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>localRepository</name>
|
||||
<version>1.0.0</version>
|
||||
<required>true</required>
|
||||
<description><![CDATA[The local repository.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The local repository.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>interactiveMode</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[Whether Maven should attempt to interact with the user for input.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Whether Maven should attempt to interact with the user for input.
|
||||
]]>
|
||||
</description>
|
||||
<type>boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
</field>
|
||||
|
@ -117,7 +133,10 @@ under the License.
|
|||
<name>usePluginRegistry</name>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
<![CDATA[Whether Maven should use the plugin-registry.xml file to manage plugin versions.]]></description>
|
||||
<![CDATA[
|
||||
Whether Maven should use the plugin-registry.xml file to manage plugin versions.
|
||||
]]>
|
||||
</description>
|
||||
<type>boolean</type>
|
||||
<defaultValue>false</defaultValue>
|
||||
</field>
|
||||
|
@ -128,12 +147,15 @@ under the License.
|
|||
<required>false</required>
|
||||
<description><![CDATA[The keystore used to store passwords.]]></description>
|
||||
<type>String</type>
|
||||
</field -->
|
||||
</field -->
|
||||
<field>
|
||||
<name>offline</name>
|
||||
<version>1.0.0</version>
|
||||
<required>false</required>
|
||||
<description><![CDATA[Indicate whether maven should operate in offline mode full-time.]]>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Indicate whether maven should operate in offline mode full-time.
|
||||
]]>
|
||||
</description>
|
||||
<type>boolean</type>
|
||||
<defaultValue>false</defaultValue>
|
||||
|
@ -143,27 +165,29 @@ under the License.
|
|||
<name>jdks</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Configuration for different java environment profiles. One good use
|
||||
for this might be to configure both JDK 1.4 and JDK 1.5 to work with
|
||||
maven. Profiles will allow switching of entire java environments
|
||||
based on the profile id, either in the defaults section below, or on
|
||||
the command line.
|
||||
Configuration for different java environment profiles. One good use
|
||||
for this might be to configure both JDK 1.4 and JDK 1.5 to work with
|
||||
maven. Profiles will allow switching of entire java environments
|
||||
based on the profile id, either in the defaults section below, or on
|
||||
the command line.
|
||||
]]></description>
|
||||
<association>
|
||||
<type>Jdk</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
<type>Jdk</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field -->
|
||||
</field -->
|
||||
<field>
|
||||
<name>proxies</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Configuration for different proxy profiles. Multiple proxy profiles
|
||||
<description>
|
||||
<![CDATA[
|
||||
Configuration for different proxy profiles. Multiple proxy profiles
|
||||
might come in handy for anyone working from a notebook or other
|
||||
mobile platform, to enable easy switching of entire proxy
|
||||
configurations by simply specifying the profile id, again either from
|
||||
the command line or from the defaults section below.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Proxy</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
|
@ -172,11 +196,13 @@ under the License.
|
|||
<field>
|
||||
<name>servers</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Configuration of server-specific settings, mainly authentication
|
||||
<description>
|
||||
<![CDATA[
|
||||
Configuration of server-specific settings, mainly authentication
|
||||
method. This allows configuration of authentication on a per-server
|
||||
basis.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Server</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
|
@ -185,7 +211,8 @@ under the License.
|
|||
<field>
|
||||
<name>mirrors</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Configuration of download mirrors for repositories.
|
||||
<description>
|
||||
Configuration of download mirrors for repositories.
|
||||
</description>
|
||||
<association>
|
||||
<type>Mirror</type>
|
||||
|
@ -195,10 +222,12 @@ under the License.
|
|||
<field>
|
||||
<name>profiles</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
Configuration of build profiles for adjusting the build
|
||||
according to environmental parameters
|
||||
]]></description>
|
||||
according to environmental parameters.
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Profile</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
|
@ -207,10 +236,12 @@ under the License.
|
|||
<field>
|
||||
<name>activeProfiles</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
List of manually-activated build profiles, specified in the order in which
|
||||
they should be applied.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>String</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
|
@ -219,8 +250,10 @@ under the License.
|
|||
<field>
|
||||
<name>pluginGroups</name>
|
||||
<version>1.0.0</version>
|
||||
<description>List of groupIds to search for a plugin when that plugin groupId is not explicitly
|
||||
provided.</description>
|
||||
<description>
|
||||
List of groupIds to search for a plugin when that plugin
|
||||
groupId is not explicitly provided.
|
||||
</description>
|
||||
<association>
|
||||
<type>String</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
|
@ -230,7 +263,8 @@ under the License.
|
|||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
<code>
|
||||
<![CDATA[
|
||||
public Boolean getInteractiveMode()
|
||||
{
|
||||
return Boolean.valueOf( isInteractiveMode() );
|
||||
|
@ -353,7 +387,8 @@ under the License.
|
|||
{
|
||||
return runtimeInfo;
|
||||
}
|
||||
]]></code>
|
||||
]]>
|
||||
</code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
|
@ -365,30 +400,30 @@ under the License.
|
|||
<superClass>TrackableBase</superClass>
|
||||
<description><![CDATA[Describes one Java environment]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>active</name>
|
||||
<version>1.0.0</version>
|
||||
<required>false</required>
|
||||
<defaultValue>false</defaultValue>
|
||||
<description><![CDATA[Whether this JDK is the active one.]]></description>
|
||||
<type>boolean</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>version</name>
|
||||
<version>1.0.0</version>
|
||||
<required>true</required>
|
||||
<description><![CDATA[The JDK major version (eg. '1.4').]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>javaHome</name>
|
||||
<version>1.0.0</version>
|
||||
<required>true</required>
|
||||
<description><![CDATA[The JDK home.]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>active</name>
|
||||
<version>1.0.0</version>
|
||||
<required>false</required>
|
||||
<defaultValue>false</defaultValue>
|
||||
<description><![CDATA[Whether this JDK is the active one.]]></description>
|
||||
<type>boolean</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>version</name>
|
||||
<version>1.0.0</version>
|
||||
<required>true</required>
|
||||
<description><![CDATA[The JDK major version (eg. '1.4').]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>javaHome</name>
|
||||
<version>1.0.0</version>
|
||||
<required>true</required>
|
||||
<description><![CDATA[The JDK home.]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
</fields>
|
||||
</class -->
|
||||
</class -->
|
||||
<class>
|
||||
<name>Proxy</name>
|
||||
<version>1.0.0</version>
|
||||
|
@ -399,49 +434,74 @@ under the License.
|
|||
<version>1.0.0</version>
|
||||
<required>false</required>
|
||||
<defaultValue>false</defaultValue>
|
||||
<description><![CDATA[Whether this proxy configuration is the active one.]]>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Whether this proxy configuration is the active one.
|
||||
]]>
|
||||
</description>
|
||||
<type>boolean</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>protocol</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The proxy protocol.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The proxy protocol.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
<defaultValue>http</defaultValue>
|
||||
</field>
|
||||
<field>
|
||||
<name>username</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The proxy user.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The proxy user.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>password</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The proxy password.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The proxy password.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>port</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The proxy port.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The proxy port.
|
||||
]]>
|
||||
</description>
|
||||
<type>int</type>
|
||||
<defaultValue>8080</defaultValue>
|
||||
</field>
|
||||
<field>
|
||||
<name>host</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The proxy host.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The proxy host.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
<required>true</required>
|
||||
</field>
|
||||
<field>
|
||||
<name>nonProxyHosts</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The list of non-proxied hosts (delimited by |).
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The list of non-proxied hosts (delimited by |).
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
</fields>
|
||||
|
@ -454,55 +514,71 @@ under the License.
|
|||
<field>
|
||||
<name>username</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The username used to authenticate.]]>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The username used to authenticate.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>password</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The password used in conjunction with the username to authenticate.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The password used in conjunction with the username to authenticate.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>privateKey</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The private key location used to authenticate.]]>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The private key location used to authenticate.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>passphrase</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The passphrase used in conjunction with the privateKey to authenticate.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The passphrase used in conjunction with the privateKey to authenticate.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>filePermissions</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The permissions for files when they are created.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The permissions for files when they are created.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>directoryPermissions</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The permissions for directories when they are created.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The permissions for directories when they are created.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>configuration</name>
|
||||
<type>DOM</type>
|
||||
<description><![CDATA[
|
||||
Extra configuration for the transport layer.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Extra configuration for the transport layer.
|
||||
]]>
|
||||
</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
|
@ -510,22 +586,27 @@ under the License.
|
|||
<name>Mirror</name>
|
||||
<version>1.0.0</version>
|
||||
<superClass>IdentifiableBase</superClass>
|
||||
<description>A download mirror for a given repository.</description>
|
||||
<description>
|
||||
A download mirror for a given repository.
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>mirrorOf</name>
|
||||
<required>true</required>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The server ID of the repository being mirrored, eg
|
||||
"central". This MUST NOT match the mirror id.</description>
|
||||
<description>
|
||||
The server ID of the repository being mirrored, eg
|
||||
"central". This MUST NOT match the mirror id.
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<required>false</required>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The optional name that describes the mirror.
|
||||
<description>
|
||||
The optional name that describes the mirror.
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
|
@ -536,22 +617,23 @@ under the License.
|
|||
<description>The URL of the mirror repository.</description>
|
||||
</field>
|
||||
<!--
|
||||
<field>
|
||||
<field>
|
||||
<name>allowOriginal</name>
|
||||
<version>1.0.0</version>
|
||||
<type>boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
<description>
|
||||
Whether to allow the user of the original as a fallback if an artifact is not found on the mirror.
|
||||
Whether to allow the user of the original as a fallback if an artifact is not found on the mirror.
|
||||
</description>
|
||||
</field>
|
||||
-->
|
||||
</field>
|
||||
-->
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
|
||||
<code>
|
||||
<![CDATA[
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
@ -563,33 +645,43 @@ under the License.
|
|||
sb.append( "]" );
|
||||
return sb.toString();
|
||||
}
|
||||
]]></code>
|
||||
]]>
|
||||
</code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<!-- Profile support -->
|
||||
<class>
|
||||
<name>Profile</name>
|
||||
<version>1.0.0</version>
|
||||
<superClass>IdentifiableBase</superClass>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
Modifications to the build process which is keyed on some
|
||||
sort of environmental parameter.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>activation</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The conditional logic which will automatically
|
||||
trigger the inclusion of this profile.]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The conditional logic which will automatically
|
||||
trigger the inclusion of this profile.
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Activation</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>properties</name>
|
||||
<description>Extended configuration specific to this profile goes
|
||||
here. Contents take the form of <property.name>property.value</property.name></description>
|
||||
<description>
|
||||
Extended configuration specific to this profile goes here.
|
||||
Contents take the form of
|
||||
<property.name>property.value</property.name>
|
||||
</description>
|
||||
<type>Properties</type>
|
||||
<association xml.mapStyle="inline">
|
||||
<type>String</type>
|
||||
|
@ -599,7 +691,10 @@ under the License.
|
|||
<field>
|
||||
<name>repositories</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The lists of the remote repositories]]>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The lists of the remote repositories.
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Repository</type>
|
||||
|
@ -609,47 +704,61 @@ under the License.
|
|||
<field>
|
||||
<name>pluginRepositories</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The lists of the remote repositories for discovering plugins
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The lists of the remote repositories for discovering plugins.
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Repository</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
<comment><![CDATA[ This may be removed or relocated in the near
|
||||
<comment>
|
||||
<![CDATA[
|
||||
This may be removed or relocated in the near
|
||||
future. It is undecided whether plugins really need a remote
|
||||
repository set of their own. ]]></comment>
|
||||
repository set of their own.
|
||||
]]>
|
||||
</comment>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>Activation</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
The conditions within the build runtime environment which will trigger
|
||||
the automatic inclusion of the parent build profile.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>activeByDefault</name>
|
||||
<version>1.0.0</version>
|
||||
<type>boolean</type>
|
||||
<description>Flag specifying whether this profile is active as a default.</description>
|
||||
<description>
|
||||
Flag specifying whether this profile is active as a default.
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>jdk</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
Specifies that this profile will be activated when a matching JDK is detected.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>os</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
Specifies that this profile will be activated when matching OS attributes are detected.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>ActivationOS</type>
|
||||
</association>
|
||||
|
@ -657,9 +766,11 @@ under the License.
|
|||
<field>
|
||||
<name>property</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
Specifies that this profile will be activated when this System property is specified.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>ActivationProperty</type>
|
||||
</association>
|
||||
|
@ -667,9 +778,11 @@ under the License.
|
|||
<field>
|
||||
<name>file</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Specifies that this profile will be activated based on existence of a file.
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Specifies that this profile will be activated based on existence of a file.
|
||||
]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>ActivationFile</type>
|
||||
</association>
|
||||
|
@ -681,40 +794,50 @@ under the License.
|
|||
<class>
|
||||
<name>RepositoryBase</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Repository contains the information needed
|
||||
for establishing connections with remote repoistory
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Repository contains the information needed
|
||||
for establishing connections with remote repoistory
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>id</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
A unique identifier for a repository.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Human readable name of the repository
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Human readable name of the repository.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>url</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The url of the repository
|
||||
]]></description>
|
||||
<description>
|
||||
<![CDATA[
|
||||
The url of the repository.
|
||||
]]>
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>layout</name>
|
||||
<version>1.0.0</version>
|
||||
<description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
|
||||
"default".</description>
|
||||
<description>
|
||||
The type of layout this repository uses for locating and
|
||||
storing artifacts - can be "legacy" or "default".
|
||||
</description>
|
||||
<type>String</type>
|
||||
<defaultValue>default</defaultValue>
|
||||
</field>
|
||||
|
@ -722,7 +845,8 @@ under the License.
|
|||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
<code>
|
||||
<![CDATA[
|
||||
public boolean equals( Object obj )
|
||||
{
|
||||
RepositoryBase other = (RepositoryBase) obj;
|
||||
|
@ -736,7 +860,8 @@ under the License.
|
|||
|
||||
return retValue;
|
||||
}
|
||||
]]></code>
|
||||
]]>
|
||||
</code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
|
@ -746,13 +871,16 @@ under the License.
|
|||
<superClass>RepositoryBase</superClass>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
Repository contains the information needed for establishing connections with remote repoistory
|
||||
Repository contains the information needed for establishing
|
||||
connections with remote repoistory
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>releases</name>
|
||||
<version>1.0.0</version>
|
||||
<description>How to handle downloading of releases from this repository</description>
|
||||
<description>
|
||||
How to handle downloading of releases from this repository
|
||||
</description>
|
||||
<association>
|
||||
<type>RepositoryPolicy</type>
|
||||
</association>
|
||||
|
@ -760,7 +888,9 @@ under the License.
|
|||
<field>
|
||||
<name>snapshots</name>
|
||||
<version>1.0.0</version>
|
||||
<description>How to handle downloading of snapshots from this repository</description>
|
||||
<description>
|
||||
How to handle downloading of snapshots from this repository
|
||||
</description>
|
||||
<association>
|
||||
<type>RepositoryPolicy</type>
|
||||
</association>
|
||||
|
@ -770,12 +900,14 @@ under the License.
|
|||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
<code>
|
||||
<![CDATA[
|
||||
public boolean equals( Object obj )
|
||||
{
|
||||
return super.equals( obj );
|
||||
}
|
||||
]]></code>
|
||||
]]>
|
||||
</code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
|
@ -788,7 +920,10 @@ under the License.
|
|||
<field>
|
||||
<name>enabled</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Whether to use this repository for downloading this type of artifact.</description>
|
||||
<description>
|
||||
Whether to use this repository for downloading this type of
|
||||
artifact.
|
||||
</description>
|
||||
<type>boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
</field>
|
||||
|
@ -796,16 +931,19 @@ under the License.
|
|||
<name>updatePolicy</name>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or
|
||||
"never" (only if it doesn't exist locally).
|
||||
The frequency for downloading updates - can be "always",
|
||||
"daily" (default), "interval:XXX" (in minutes) or "never"
|
||||
(only if it doesn't exist locally).
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>checksumPolicy</name>
|
||||
<version>1.0.0</version>
|
||||
<description>What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
|
||||
"fail" or "warn"</description>
|
||||
<description>
|
||||
What to do when verification of an artifact checksum fails -
|
||||
warn, fail, etc. Valid values are "fail" or "warn"
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
</fields>
|
||||
|
@ -814,81 +952,105 @@ under the License.
|
|||
<class>
|
||||
<name>ActivationProperty</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
This is the property specification used to activate a profile. If the value field is empty,
|
||||
then the existence of the named property will activate the profile, otherwise it does a case-sensitive
|
||||
match against the property value as well.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<required>true</required>
|
||||
<description>The name of the property to be used to activate a profile</description>
|
||||
<description>
|
||||
The name of the property to be used to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>value</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The value of the property to be used to activate a profile</description>
|
||||
<description>
|
||||
The value of the property to be used to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>ActivationOS</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
This is an activator which will detect an operating system's attributes in order to activate
|
||||
its profile.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the OS to be used to activate a profile</description>
|
||||
<description>
|
||||
The name of the OS to be used to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>family</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The general family of the OS to be used to activate a profile (e.g. 'windows')</description>
|
||||
<description>
|
||||
The general family of the OS to be used to activate a
|
||||
profile (e.g. 'windows')
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>arch</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The architecture of the OS to be used to activate a profile</description>
|
||||
<description>
|
||||
The architecture of the OS to be used to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>version</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The version of the OS to be used to activate a profile</description>
|
||||
<description>
|
||||
The version of the OS to be used to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>ActivationFile</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
<description>
|
||||
<![CDATA[
|
||||
This is the file specification used to activate a profile. The missing value will be a the location
|
||||
of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test
|
||||
for the existence of the file and if it is there will run the profile.
|
||||
]]></description>
|
||||
]]>
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>missing</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the file that should be missing to activate a profile</description>
|
||||
<description>
|
||||
The name of the file that should be missing to activate a
|
||||
profile
|
||||
</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>exists</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the file that should exist to activate a profile</description>
|
||||
<description>
|
||||
The name of the file that should exist to activate a profile
|
||||
</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
|
|
Loading…
Reference in New Issue