You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ozorhan <oz...@yahoo.com> on 2007/10/08 08:25:27 UTC
tag in Maven 2?
Hi,
Maven 1 has a <versions> tag via which we can specify the previous versions
of the project.
In the XSD http://maven.apache.org/maven-v3_0_0.xsd
It is defined as:
<xs:element name="versions" minOccurs="0">
<xs:annotation>
<xs:documentation source="version">3.0.0</xs:documentation>
<xs:documentation source="description">
Optional. Contains information on previous versions of the
project. This information is used when invoking the
<a
href="/plugins/dist/index.html"><code>maven:dist</code></a>
target.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="version" type="Version" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
In Maven 1 the versions listed here are also listed in the Downloads section
of the generated site, so that previous WAR bundles can also be downloaded.
I could not find a corresponding tag in Maven 2 XSD, can any of you give me
some pointers?
Best,
Ozorhan
--
View this message in context: http://www.nabble.com/%3Cversions%3E-tag-in-Maven-2--tf4586169s177.html#a13091204
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: tag in Maven 2?
Posted by Dennis Lundberg <de...@apache.org>.
There is only one version in a Maven 2 pom. The previous versions should
be in your repository.
ozorhan wrote:
> Hi,
>
> Maven 1 has a <versions> tag via which we can specify the previous versions
> of the project.
>
> In the XSD http://maven.apache.org/maven-v3_0_0.xsd
>
> It is defined as:
>
> <xs:element name="versions" minOccurs="0">
> <xs:annotation>
> <xs:documentation source="version">3.0.0</xs:documentation>
> <xs:documentation source="description">
> Optional. Contains information on previous versions of the
> project. This information is used when invoking the
> <a
> href="/plugins/dist/index.html"><code>maven:dist</code></a>
> target.
> </xs:documentation>
> </xs:annotation>
> <xs:complexType>
> <xs:sequence>
> <xs:element name="version" type="Version" minOccurs="0"
> maxOccurs="unbounded"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> In Maven 1 the versions listed here are also listed in the Downloads section
> of the generated site, so that previous WAR bundles can also be downloaded.
> I could not find a corresponding tag in Maven 2 XSD, can any of you give me
> some pointers?
>
> Best,
> Ozorhan
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org