Author: lehmi Date: Sun Jul 24 14:33:48 2011 New Revision: 1150382 URL: http://svn.apache.org/viewvc?rev=1150382&view=rev Log: PDFBOX-1056: add missing config files, integrated xmpbox into pdfbox build
Added: pdfbox/trunk/xmpbox/edoc-checkstyle.xml (with props) pdfbox/trunk/xmpbox/findbugs-exclude.xml (with props) Modified: pdfbox/trunk/xmpbox/pom.xml Added: pdfbox/trunk/xmpbox/edoc-checkstyle.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/edoc-checkstyle.xml?rev=1150382&view=auto ============================================================================== --- pdfbox/trunk/xmpbox/edoc-checkstyle.xml (added) +++ pdfbox/trunk/xmpbox/edoc-checkstyle.xml Sun Jul 24 14:33:48 2011 @@ -0,0 +1,102 @@ +<?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. + !--> +<!-- + This configuration file was written by the eclipse-cs plugin configuration editor +--> +<!-- + Checkstyle-Configuration: edoc check style + Description: none +--> +<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> +<module name="Checker"> + <property name="severity" value="warning"/> + <module name="TreeWalker"> + <module name="TabCharacter"> + <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="ignore tab starting lines"/> + <property name="severity" value="ignore"/> + </module> + <module name="JavadocMethod"/> + <module name="JavadocType"/> + <module name="JavadocVariable"> + <property name="excludeScope" value="private"/> + <property name="scope" value="nothing"/> + </module> + <module name="RedundantModifier"/> + <module name="ConstantName"/> + <module name="LocalFinalVariableName"/> + <module name="LocalVariableName"/> + <module name="MemberName"/> + <module name="MethodName"/> + <module name="PackageName"/> + <module name="StaticVariableName"/> + <module name="TypeName"/> + <module name="AvoidStarImport"/> + <module name="IllegalImport"/> + <module name="RedundantImport"/> + <module name="UnusedImports"/> + <module name="ParameterNumber"/> + <module name="ParenPad"/> + <module name="ModifierOrder"/> + <module name="AvoidNestedBlocks"/> + <module name="EmptyBlock"> + <metadata name="com.atlassw.tools.eclipse.checkstyle.lastEnabledSeverity" value="error"/> + <property name="severity" value="ignore"/> + </module> + <module name="NeedBraces"/> + <module name="RightCurly"> + <property name="severity" value="ignore"/> + </module> + <module name="DoubleCheckedLocking"> + <property name="severity" value="error"/> + </module> + <module name="EmptyStatement"/> + <module name="EqualsHashCode"> + <property name="severity" value="error"/> + </module> + <module name="HiddenField"> + <property name="tokens" value="VARIABLE_DEF"/> + </module> + <module name="IllegalInstantiation"/> + <module name="InnerAssignment"/> + <module name="MagicNumber"/> + <module name="MissingSwitchDefault"/> + <module name="RedundantThrows"/> + <module name="SimplifyBooleanExpression"/> + <module name="SimplifyBooleanReturn"/> + <module name="DeclarationOrder"/> + <module name="ExplicitInitialization"/> + <module name="StringLiteralEquality"/> + <module name="SuperClone"/> + <module name="SuperFinalize"/> + <module name="FinalClass"> + <property name="severity" value="error"/> + </module> + <module name="HideUtilityClassConstructor"/> + <module name="InterfaceIsType"/> + <module name="VisibilityModifier"> + <property name="protectedAllowed" value="true"/> + </module> + <module name="ArrayTypeStyle"/> + <module name="TodoComment"/> + <module name="ParameterName"/> + </module> + <module name="PackageHtml"> + <property name="severity" value="ignore"/> + </module> + <module name="NewlineAtEndOfFile"/> +</module> Propchange: pdfbox/trunk/xmpbox/edoc-checkstyle.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: pdfbox/trunk/xmpbox/findbugs-exclude.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/findbugs-exclude.xml?rev=1150382&view=auto ============================================================================== --- pdfbox/trunk/xmpbox/findbugs-exclude.xml (added) +++ pdfbox/trunk/xmpbox/findbugs-exclude.xml Sun Jul 24 14:33:48 2011 @@ -0,0 +1,20 @@ +<?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. + !--> +<FindBugsFilter> + +</FindBugsFilter> Propchange: pdfbox/trunk/xmpbox/findbugs-exclude.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pdfbox/trunk/xmpbox/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/pom.xml?rev=1150382&r1=1150381&r2=1150382&view=diff ============================================================================== --- pdfbox/trunk/xmpbox/pom.xml (original) +++ pdfbox/trunk/xmpbox/pom.xml Sun Jul 24 14:33:48 2011 @@ -1,143 +1,145 @@ +<?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. - + 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> - <artifactId>xmpbox</artifactId> - <groupId>org.apache.pdfbox</groupId> - <name>xmpbox</name> - <description>xmpbox is an API used to parse,validate and create objects based on XMP Contents.</description> - - <parent> - <groupId>org.apache.pdfbox</groupId> - <artifactId>padaf-parent</artifactId> - <version>0.6.2-SNAPSHOT</version> - <relativePath>../padaf-parent</relativePath> - </parent> - - <properties> - <compileSource>1.6</compileSource> - <javacPath>${user.javac6}</javacPath> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.7</version> - <scope>test</scope> - </dependency> - - - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>1.4</version> - </dependency> - - <dependency> - <groupId>com.thoughtworks.xstream</groupId> - <artifactId>xstream</artifactId> - <version>1.3.1</version> - </dependency> - - </dependencies> - - - <reporting> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>taglist-maven-plugin</artifactId> - <version>2.4</version> - <configuration> - <encoding>UTF-8</encoding> - <sourceFileLocale>en</sourceFileLocale> - <emptyComments>false</emptyComments> - <tagListOptions> - <tagClasses> - <tagClass> - <displayName>TODO List</displayName> - <tags> - <tag> - <matchString>TODO</matchString> - <matchType>exact</matchType> - </tag> - <tag> - <matchString>FIXME</matchString> - <matchType>exact</matchType> - </tag> - </tags> - </tagClass> - </tagClasses> - </tagListOptions> - </configuration> - </plugin> - - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.2</version> - <configuration> - <configLocation>edoc-checkstyle.xml</configLocation> - </configuration> - </plugin> - - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.3</version> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.6</version> - <configuration> - <showSuccess>true</showSuccess> - <aggregate>true</aggregate> - <outputDirectory>${project.reporting.outputDirectory}/surefire-report</outputDirectory> - </configuration> - <reportSets> - <reportSet> - <id /> - </reportSet> - </reportSets> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.0.1</version> - <configuration> - <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> - </configuration> - </plugin> - </plugins> - - - </reporting> + <modelVersion>4.0.0</modelVersion> + <artifactId>xmpbox</artifactId> + <packaging>bundle</packaging> + <name>Apache xmpbox</name> + + <description>xmpbox is an API used to parse,validate and create objects based on XMP Contents.</description> + + <parent> + <groupId>org.apache.pdfbox</groupId> + <artifactId>pdfbox-parent</artifactId> + <version>1.7.0-SNAPSHOT</version> + <relativePath>../parent/pom.xml</relativePath> + </parent> + + <properties> + <compileSource>1.5</compileSource> + <javacPath>${user.javac6}</javacPath> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.1</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>1.4</version> + </dependency> + + <dependency> + <groupId>com.thoughtworks.xstream</groupId> + <artifactId>xstream</artifactId> + <version>1.3.1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.0.0</version> + <extensions>true</extensions> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + <version>2.4</version> + <configuration> + <encoding>UTF-8</encoding> + <sourceFileLocale>en</sourceFileLocale> + <emptyComments>false</emptyComments> + <tagListOptions> + <tagClasses> + <tagClass> + <displayName>TODO List</displayName> + <tags> + <tag> + <matchString>TODO</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>FIXME</matchString> + <matchType>exact</matchType> + </tag> + </tags> + </tagClass> + </tagClasses> + </tagListOptions> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.2</version> + <configuration> + <configLocation>edoc-checkstyle.xml</configLocation> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.3</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.6</version> + <configuration> + <showSuccess>true</showSuccess> + <aggregate>true</aggregate> + <outputDirectory>${project.reporting.outputDirectory}/surefire-report</outputDirectory> + </configuration> + <reportSets> + <reportSet> + <id /> + </reportSet> + </reportSets> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.0.1</version> + <configuration> + <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> + </configuration> + </plugin> + </plugins> + </reporting> </project>