Author: maartenc
Date: Mon Sep 20 21:49:29 2010
New Revision: 999129
URL: http://svn.apache.org/viewvc?rev=999129&view=rev
Log:
Pass a custom pom template to the ivy:makepom task containing extra information
like a parent pom, mailing lists, JIRA link, ...
Added:
ant/ivy/core/trunk/src/etc/makepom/
ant/ivy/core/trunk/src/etc/makepom/pom.template
Modified:
ant/ivy/core/trunk/build-release.xml
Modified: ant/ivy/core/trunk/build-release.xml
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/build-release.xml?rev=999129&r1=999128&r2=999129&view=diff
==============================================================================
--- ant/ivy/core/trunk/build-release.xml (original)
+++ ant/ivy/core/trunk/build-release.xml Mon Sep 20 21:49:29 2010
@@ -319,7 +319,7 @@
<property name="m2.distrib.dir"
value="${distrib.dir}/maven2/${build.version}" />
<ivy:makepom ivyfile="${artifacts.build.dir}/ivy.xml"
pomfile="${m2.distrib.dir}/ivy-${build.version}.pom"
-
headerfile="${basedir}/src/etc/license/license-header.xml">
+
templatefile="${basedir}/src/etc/makepom/pom.template">
<mapping conf="core" scope="compile"/>
<mapping conf="test" scope="test"/>
</ivy:makepom>
Added: ant/ivy/core/trunk/src/etc/makepom/pom.template
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/etc/makepom/pom.template?rev=999129&view=auto
==============================================================================
--- ant/ivy/core/trunk/src/etc/makepom/pom.template (added)
+++ ant/ivy/core/trunk/src/etc/makepom/pom.template Mon Sep 20 21:49:29 2010
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>7</version>
+ </parent>
+ <groupId>${ivy.pom.groupId}</groupId>
+ <artifactId>${ivy.pom.artifactId}</artifactId>
+ <version>${ivy.pom.version}</version>
+ <name>Apache Ivy</name>
+ <url>${ivy.pom.url}</url>
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/ant/ivy/core/trunk/</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/ant/ivy/core/trunk</developerConnection>
+ <url>http://svn.apache.org/repos/asf/ant/ivy/core/trunk</url>
+ </scm>
+ <mailingLists>
+ <mailingList>
+ <name>Ant/Ivy Developers List</name>
+ <subscribe>[email protected]</subscribe>
+ <unsubscribe>[email protected]</unsubscribe>
+ <post>[email protected]</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/ant-dev</archive>
+ </mailingList>
+ <mailingList>
+ <name>Ivy Users List</name>
+ <subscribe>[email protected]</subscribe>
+ <unsubscribe>[email protected]</unsubscribe>
+ <post>[email protected]</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/ant-ivy-user</archive>
+ </mailingList>
+ </mailingLists>
+ <issueManagement>
+ <system>jira</system>
+ <url>http://issues.apache.org/jira/browse/IVY</url>
+ </issueManagement>
+</project>