<fileset dir="legal/" />
</jar>
- <!-- Build the pom -->
+ <!-- Build the main pom -->
<!-- Copy from the base file, and substitute in the version -->
<filter token="VERSION" value="${version.id}" />
<copy
file="poi.pom"
tofile="${mavendist.dir}/${jar.name}-${version.id}.pom"
/>
+ <!-- Build the poi => org.apache.poi redirect pom -->
+ <!-- Copy from the base file, and substitute in the version -->
+ <filter token="VERSION" value="${version.id}" />
+ <copy
+ filtering="true"
+ file="poi-redirect.pom"
+ tofile="${mavendist.dir}/${jar.name}-${version.id}-redirect.pom"
+ />
</target>
<target name="jar" depends="compile" description="Creates jar files for distribution">
--- /dev/null
+<?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>
+ <groupId>poi</groupId>
+ <artifactId>poi</artifactId>
+ <version>@VERSION@</version>
+
+ <distributionManagement>
+ <relocation>
+ <groupId>org.apache.poi</groupId>
+ </relocation>
+ </distributionManagement>
+</project>
-<project>
+<?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>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>@VERSION@</version>
<packaging>jar</packaging>
- <name>Jakarta POI</name>
- <url>http://jakarta.apache.org/poi/</url>
- <description>Jakarta POI - Java API To Access Microsoft Format Files</description>
+ <name>Apache POI</name>
+ <url>http://poi.apache.org/</url>
+ <description>Apache POI - Java API To Access Microsoft Format Files</description>
- <dependencies></dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1</version>
+ <!-- need exclusion until commons-logging pom is fixed after 1.1 -->
+ <exclusions>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.13</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
<licenses>
<license>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
- <logo>http://jakarta.apache.org/images/original-jakarta-logo.gif</logo>
</organization>
</project>
- build distributions as if it was the final release
- update any filename dates from today's date, to the date that the
vote will end (typically 7 days time)
+- copy the -redirect pom to a subdirectory of redirect/, and remove
+ -redirect from its name
- sign and checksum distributions as per
http://www.apache.org/dev/mirror-step-by-step.html
- upload to your area of people.apache.org under /<version>-RC-<x>/
- move distributions from your area of people.apache.org to the
distribution directories on www.apache.org/dist/poi/ and
people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi/
+- move the redirection pom from your area of people.apache.org to
+ people.apache.org/repo/m1-ibiblio-rsync-repository/poi/poms/
- copy the new distributions to archive.apache.org
- remove the old distributions from www.apache.org/dist/
- wait for the distributions to appear on your favourite mirror