You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ju...@apache.org on 2009/09/24 14:21:27 UTC
svn commit: r818459 - in /incubator/pdfbox/fontbox/trunk: pom.xml
src/assembly/ src/assembly/bin.xml src/assembly/src.xml
Author: jukka
Date: Thu Sep 24 12:21:27 2009
New Revision: 818459
URL: http://svn.apache.org/viewvc?rev=818459&view=rev
Log:
PDFBOX-499: Maven pom.xml & directory structure incorrect for the FontBox 0.8-incubating release
Applied patches by Niall Pemberton.
Added:
incubator/pdfbox/fontbox/trunk/src/assembly/
incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml (with props)
incubator/pdfbox/fontbox/trunk/src/assembly/src.xml (with props)
Modified:
incubator/pdfbox/fontbox/trunk/pom.xml
Modified: incubator/pdfbox/fontbox/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/pom.xml?rev=818459&r1=818458&r2=818459&view=diff
==============================================================================
--- incubator/pdfbox/fontbox/trunk/pom.xml (original)
+++ incubator/pdfbox/fontbox/trunk/pom.xml Thu Sep 24 12:21:27 2009
@@ -19,25 +19,211 @@
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>
+ <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>4</version>
+
</parent>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>fontbox</artifactId>
- <version>0.8.0-incubator</version>
-
- <name>FontBox - Java Font Library</name>
- <!-- Keep on a single line, see http://jira.codehaus.org/browse/MJAR-39 -->
- <description>FontBox is a Java font library used to obtain low level information from font files.</description>
-
- <scm>
- <url>http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/</url>
- </scm>
+ <groupId>org.apache.pdfbox</groupId>
+ <artifactId>fontbox</artifactId>
+ <version>0.8.0-incubating</version>
+
+ <name>FontBox - Java Font Library</name>
+ <!-- Keep on a single line, see http://jira.codehaus.org/browse/MJAR-39 -->
+
+ <description>FontBox is a Java font library used to obtain low level information from font files.</description>
+
+ <inceptionYear>2008</inceptionYear>
+ <url>http://incubator.apache.org/pdfbox/</url>
+
+ <issueManagement>
+ <system>jira</system>
+ <url>http://issues.apache.org/jira/browse/PDFBOX</url>
+
+ </issueManagement>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/pdfbox/fontbox/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/pdfbox/fontbox/trunk/</developerConnection>
+ <url>http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/</url>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.5</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+
+ <include>NOTICE.txt</include>
+ <include>LICENSE.txt</include>
+ <include>README.txt</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifestFile>target/osgi/MANIFEST.MF</manifestFile>
+
+ <manifestEntries>
+ <Specification-Title>${project.name}</Specification-Title>
+ <Specification-Version>${project.version}</Specification-Version>
+ <Specification-Vendor>${project.organization.name}</Specification-Vendor>
+ <Implementation-Title>${project.name}</Implementation-Title>
+ <Implementation-Version>${project.version}</Implementation-Version>
+
+ <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
+ <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.0.0</version>
+ <configuration>
+ <excludeDependencies>true</excludeDependencies>
+ <manifestLocation>target/osgi</manifestLocation>
+ <instructions>
+ <!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
+
+ <_nouses>true</_nouses>
+ <Bundle-SymbolicName>org.apache.fontbox</Bundle-SymbolicName>
+ <Export-Package>org.apache.fontbox.*;version=${pom.version}</Export-Package>
+ <Import-Package>*</Import-Package>
+ <Bundle-DocURL>${project.url}</Bundle-DocURL>
+ </instructions>
+
+ </configuration>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <!--
+ - Copy LICENSE.txt and NOTICE.txt so that they are included
+ - in the -javadoc jar file for the component.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>javadoc.resources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+
+ </goals>
+ <configuration>
+ <tasks>
+ <copy todir="${project.build.directory}/apidocs/META-INF">
+ <fileset dir="${basedir}">
+ <include name="LICENSE.txt" />
+ <include name="NOTICE.txt" />
+ <include name="README.txt" />
+ </fileset>
+
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>create-source-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.6</version>
+
+ <executions>
+ <execution>
+ <id>create-javadoc-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <phase>package</phase>
+
+ <configuration>
+ <source>${maven.compile.source}</source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+
+ <version>2.2-beta-4</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/bin.xml</descriptor>
+ <descriptor>src/assembly/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
-
Added: incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml?rev=818459&view=auto
==============================================================================
--- incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml (added)
+++ incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml Thu Sep 24 12:21:27 2009
@@ -0,0 +1,41 @@
+<!--
+ 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.
+-->
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ <include>RELEASE-NOTES.txt</include>
+ <include>README.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: incubator/pdfbox/fontbox/trunk/src/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/pdfbox/fontbox/trunk/src/assembly/src.xml
URL: http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/src/assembly/src.xml?rev=818459&view=auto
==============================================================================
--- incubator/pdfbox/fontbox/trunk/src/assembly/src.xml (added)
+++ incubator/pdfbox/fontbox/trunk/src/assembly/src.xml Thu Sep 24 12:21:27 2009
@@ -0,0 +1,45 @@
+<!--
+ 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.
+-->
+<assembly>
+ <id>src</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>${artifactId}-${version}-src</baseDirectory>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>build.properties.example</include>
+ <include>build.xml</include>
+ <include>eclipse-formatter.xml</include>
+ <include>jempbox-checkstyle.xml</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ <include>pom.xml</include>
+ <include>README.txt</include>
+ <include>RELEASE-NOTES.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src</directory>
+ </fileSet>
+ <fileSet>
+ <directory>website</directory>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: incubator/pdfbox/fontbox/trunk/src/assembly/src.xml
------------------------------------------------------------------------------
svn:eol-style = native