convert to maven
parent
5c01e85f44
commit
9e77208258
26
build.xml
26
build.xml
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<project name="csv-serde" default="dist">
|
||||
|
||||
<!-- you may override default properties for the build by using entries
|
||||
in a build.properties file, or by just adding 'property' elements
|
||||
here, before the following properties files are loaded -->
|
||||
<property file="build.properties"/>
|
||||
<property file="project.properties"/>
|
||||
<property file="${common.build.dir}/build.properties"/>
|
||||
<property file="${common.build.dir}/project.properties"/>
|
||||
<property file="${user.home}/build.properties"/>
|
||||
|
||||
<import file="${common.build.dir}/common-targets.xml"/>
|
||||
<import file="${common.build.dir}/repository-targets.xml"/>
|
||||
<import file="${common.build.dir}/cobertura-targets.xml"/>
|
||||
<import file="${common.build.dir}/findbugs-targets.xml"/>
|
||||
<import file="${common.build.dir}/checkstyle-targets.xml"/>
|
||||
<import file="${common.build.dir}/hadoop-targets.xml"/>
|
||||
|
||||
<target name="jar.pre" depends="hadoop.unjar.dependencies" />
|
||||
|
||||
<!-- Hudson target -->
|
||||
<target name="hudson" depends="reallyclean, dist, findbugs, checkstyle, cobertura-xml-report, commit.repo"/>
|
||||
|
||||
</project>
|
43
ivy.xml
43
ivy.xml
|
@ -1,43 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
|
||||
|
||||
<info organisation="bizo.com" module="csv-serde" />
|
||||
|
||||
<configurations>
|
||||
<conf name="default" description="core dependencies needed at compile-time and runtime"/>
|
||||
<conf name="buildtime" visibility="private" description="additional dependencies needed only at build time"/>
|
||||
<conf name="test" visibility="private" description="additional dependencies needed only for testing"/>
|
||||
<conf name="sources" description="source artifacts"/>
|
||||
<conf name="hadoop" visibility="private"/>
|
||||
</configurations>
|
||||
|
||||
<publications>
|
||||
<artifact conf="default"/>
|
||||
<artifact name="${ivy.module}-src" type="source" ext="zip" conf="sources"/>
|
||||
</publications>
|
||||
|
||||
<dependencies defaultconf="default->default;hadoop->default;sources->sources()">
|
||||
<!-- default (compile, test, runtime) dependencies -->
|
||||
<dependency org="opencsv" name="opencsv" rev="2.3" />
|
||||
|
||||
<dependency org="apache" name="hive" rev="0.8.1" conf="buildtime->default">
|
||||
<artifact name="hive-exec" type="jar" />
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency org="apache" name="hadoop" rev="0.20.2" conf="buildtime->default">
|
||||
<artifact name="hadoop-core" type="jar" />
|
||||
</dependency>
|
||||
|
||||
<!-- build time only dependencies -->
|
||||
<dependency org="findbugs" name="findbugs" rev="1.3.9" conf="buildtime->default"/>
|
||||
<dependency org="checkstyle" name="checkstyle" rev="all-5.1" conf="buildtime->default"/>
|
||||
<dependency org="svntask" name="svntask" rev="1.0.7" conf="buildtime->default"/>
|
||||
<dependency org="cobertura" name="cobertura" rev="1.9.4.1" conf="buildtime->default"/>
|
||||
|
||||
<!-- test time only dependencies -->
|
||||
<dependency org="apache" name="commons-logging" rev="1.1.1" conf="test->default" />
|
||||
<dependency org="junit" name="junit" rev="4.8.2" conf="test->default"/>
|
||||
</dependencies>
|
||||
</ivy-module>
|
|
@ -0,0 +1,91 @@
|
|||
<?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/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.bizo</groupId>
|
||||
<artifactId>csv-serde</artifactId>
|
||||
<version>1.1.2-0.8.1</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.hive</groupId>
|
||||
<artifactId>hive-exec</artifactId>
|
||||
<version>0.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.hadoop</groupId>
|
||||
<artifactId>hadoop-core</artifactId>
|
||||
<version>0.20.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sf.opencsv</groupId>
|
||||
<artifactId>opencsv</artifactId>
|
||||
<version>2.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.jdo</groupId>
|
||||
<artifactId>jdo2-api</artifactId>
|
||||
<version>2.3-20090302111651</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<!-- use UTF-8 for everything -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>assemble-all</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.0</version>
|
||||
<configuration>
|
||||
<reportPlugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>html</format>
|
||||
<format>xml</format>
|
||||
</formats>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</reportPlugins>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -1,7 +0,0 @@
|
|||
# to override these or other properties with local user settings,
|
||||
# create a unversioned build.properties file
|
||||
|
||||
# The location of the common build system
|
||||
common.build.dir=${basedir}/../common-build
|
||||
|
||||
project.version=1.1.2-0.8.1
|
|
@ -0,0 +1,21 @@
|
|||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
||||
<id>all</id>
|
||||
<formats>
|
||||
<format>jar</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<useProjectArtifact>true</useProjectArtifact>
|
||||
<unpack>true</unpack>
|
||||
<scope>runtime</scope>
|
||||
<includes>
|
||||
<include>net.sf.opencsv:opencsv</include>
|
||||
<include>com.bizo:csv-serde</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
Loading…
Reference in New Issue