|
From: <be...@us...> - 2010-03-15 20:30:23
|
Revision: 417
http://flatpack.svn.sourceforge.net/flatpack/?rev=417&view=rev
Author: benoitx
Date: 2010-03-15 20:30:16 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
maven 2 build.
Added Paths:
-----------
trunk/flatpack/pom.xml
trunk/flatpack-samples/pom.xml
trunk/pom.xml
Added: trunk/flatpack/pom.xml
===================================================================
--- trunk/flatpack/pom.xml (rev 0)
+++ trunk/flatpack/pom.xml 2010-03-15 20:30:16 UTC (rev 417)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>net.sf.flatpack</groupId>
+ <artifactId>flatpack-parent</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ </parent>
+
+
+ <artifactId>flatpack</artifactId>
+ <name>FlatPack</name>
+ <packaging>bundle</packaging> <!-- (1) OSGi -->
+
+ <description>Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few.
+ Maps column positions in the file to user friendly names via XML. See FlatPack Feature List under News for complete feature list.</description>
+ <!--
+ <scm> <connection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/flatpack</connection>
+ <developerConnection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/flatpack</developerConnection> </scm>
+ -->
+ <build>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <testSourceDirectory>src/test/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.dtd</include>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>net.sf.flatpack.*;version="${pom.version}"</Export-Package>
+ <Private-Package/>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Version>${pom.version}</Bundle-Version>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
+ </instructions>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>true</showDeprecation>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <additionalparam>"-breakiterator"</additionalparam>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-ea</argLine>
+ <printSummary>false</printSummary>
+ <reportFormat>plain</reportFormat>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useFile>false</useFile>
+ <excludes>
+ <exclude>**/Abstract*.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test?.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>jexcelapi</groupId>
+ <artifactId>jxl</artifactId>
+ <version>2.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.1.0-RC1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.1.0-RC1</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate>
+ <xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
+ </configuration>
+ </plugin>
+ <!--
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>${basedir}/../common-build/objectlab_checks.xml</configLocation>
+ <headerLocation>${basedir}/../checkstyle-license.txt</headerLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <targetJdk>1.4</targetJdk>
+ </configuration>
+ </plugin>
+ -->
+ </plugins>
+ </reporting>
+</project>
Added: trunk/flatpack-samples/pom.xml
===================================================================
--- trunk/flatpack-samples/pom.xml (rev 0)
+++ trunk/flatpack-samples/pom.xml 2010-03-15 20:30:16 UTC (rev 417)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>net.sf.flatpack</groupId>
+ <artifactId>flatpack-parent</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ </parent>
+
+
+ <artifactId>flatpack-examples</artifactId>
+ <name>FlatPack Examples</name>
+ <packaging>bundle</packaging> <!-- (1) OSGi -->
+
+ <description>Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few.
+ Maps column positions in the file to user friendly names via XML. See FlatPack Feature List under News for complete feature list.</description>
+ <scm>
+ <connection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/flatpack-samples</connection>
+ <developerConnection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/flatpack-samples</developerConnection>
+ </scm>
+ <build>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <testSourceDirectory>src/test/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.txt</include>
+ <include>**/*.xml</include>
+ <include>**/*.csv</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>${basedir}/../common-build/lib</directory>
+ <includes>
+ <include>**/*.jar</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>${basedir}/common-build/lib</directory>
+ <includes>
+ <include>**/*.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>net.sf.flatpack.*;version="${pom.version}"</Export-Package>
+ <Private-Package/>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Version>${pom.version}</Bundle-Version>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
+ </instructions>
+ </configuration>
+ </plugin><!--
+
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>true</showDeprecation>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ --><plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <additionalparam>"-breakiterator"</additionalparam>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-ea</argLine>
+ <printSummary>false</printSummary>
+ <reportFormat>plain</reportFormat>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useFile>false</useFile>
+ <excludes>
+ <exclude>**/Abstract*.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*NOTest.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.flatpack</groupId>
+ <artifactId>flatpack</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>jexcelapi</groupId>
+ <artifactId>jxl</artifactId>
+ <version>2.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.1.0-RC1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.1.0-RC1</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate>
+ <xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>${basedir}/../common-build/objectlab_checks.xml</configLocation>
+ <headerLocation>${basedir}/../checkstyle-license.txt</headerLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <targetJdk>1.4</targetJdk>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Added: trunk/pom.xml
===================================================================
--- trunk/pom.xml (rev 0)
+++ trunk/pom.xml 2010-03-15 20:30:16 UTC (rev 417)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>net.sf.flatpack</groupId>
+ <artifactId>flatpack-parent</artifactId>
+ <name>FlatPack</name>
+ <version>3.3.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <description>Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters.
+ Bind delimited or fixed width text to column names via XML mappings. Support for header and trailer records. Optionally, column names can be retrieved from the first record of a delimited file.</description>
+
+
+ <modules>
+ <module>flatpack</module>
+ <module>flatpack-samples</module>
+ </modules>
+
+ <inceptionYear>2006</inceptionYear>
+ <url>http://flatpack.sourceforge.net/</url>
+
+ <organization>
+ <name>Appendium - Portfolio Financing Platform</name>
+ <url>http://www.appendium.com/</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <name>Paul Zepernick</name>
+ <id>zepernick</id>
+ <email>zepernick at users.sourceforge.net</email>
+ <organization>Paul Zepernick</organization>
+ <url>http://www.mysite.com</url>
+ <timezone>0</timezone>
+ <roles>
+ <role>Founder</role>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Benoit Xhenseval</name>
+ <id>benoitx</id>
+ <email>kit AT objectlab DOT co dOt uk</email>
+ <organization>ObjectLab Financial Ltd</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <url>http://www.xhenseval.com</url>
+ <timezone>+0</timezone>
+ </developer>
+ <developer>
+ <name>Marcin Jekot</name>
+ <id>marchy</id>
+ <email>marcin at jekot DOt net</email>
+ <organization>ObjectLab Financial Ltd</organization>
+ <roles>
+ <role>Subversion mig</role>
+ </roles>
+ <timezone>+0</timezone>
+ </developer>
+ </developers>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>code-sign</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <!--
+
+
+ <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive>
+ </configuration> </plugin> </plugins> </build>
+ -->
+
+ <scm>
+ <connection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/</connection>
+ <developerConnection>scm:svn:https://flatpack.svn.sourceforge.net/svnroot/flatpack/trunk/</developerConnection>
+ <url>http://flatpack.svn.sourceforge.net/viewvc/flatpack/</url>
+ </scm>
+ <!--
+
+ <reporting> <plugins> <plugin> <artifactId>maven-changelog-plugin</artifactId> </plugin> <plugin> <artifactId>maven-changes-plugin</artifactId> <configuration>
+ <xmlPath>${basedir}/xdocs/changes.xml</xmlPath> </configuration> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <configuration>
+ <configLocation>${basedir}/../checkstyle_checks.xml</configLocation> <headerLocation>${basedir}/../checkstyle-license.txt</headerLocation> </configuration>
+ </plugin> <plugin> <artifactId>maven-dashboard-plugin</artifactId> </plugin> </plugins> </reporting>
+ -->
+
+ <reporting>
+ <plugins>
+ <!--
+ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration>
+ <configLocation>/common_build/checkstyle_checks.xml</configLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jxr-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId>
+ </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <artifactId>maven-clover-plugin</artifactId> </plugin> <plugin>
+ <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId>
+ <configuration> <targetJdk>1.5</targetJdk> <rulesets> <ruleset>/rulesets/basic.xml</ruleset> <ruleset>/rulesets/controversial.xml</ruleset> </rulesets>
+ <linkXref>true</linkXref> <minimumTokens>100</minimumTokens> </configuration> </plugin>
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <code>javadoc:aggregate</code>
+ <source>1.5</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <issueLinkTemplatePerSystem>
+ <default>%URL%/?func=detail&group_id=175139&%ISSUE%</default>
+ </issueLinkTemplatePerSystem>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-changelog-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dashboard-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>net.sf</groupId>
+ <artifactId>stat-scm</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|