2014-05-04 21:26:06 +00:00
|
|
|
<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.ethereum</groupId>
|
2014-05-13 09:36:57 +00:00
|
|
|
<artifactId>ethereumj</artifactId>
|
2014-05-04 21:26:06 +00:00
|
|
|
<packaging>jar</packaging>
|
2014-05-27 07:17:11 +00:00
|
|
|
<version>0.5.1</version>
|
2014-05-04 21:26:06 +00:00
|
|
|
<name>EthereumJ</name>
|
2014-05-04 23:07:44 +00:00
|
|
|
<url>http://www.ethereumj.org</url>
|
2014-05-20 16:16:07 +00:00
|
|
|
|
2014-05-22 13:56:30 +00:00
|
|
|
<!--
|
2014-06-26 19:57:37 +00:00
|
|
|
* To deploy the classes in one jar and dependencies to another dir
|
|
|
|
mvn clean package -Dmaven.test.skip=true
|
2014-05-27 07:17:11 +00:00
|
|
|
|
2014-06-26 19:57:37 +00:00
|
|
|
* To generate source for ANTLR parser/lexer
|
|
|
|
mvn antlr4:antlr4
|
2014-07-27 12:58:00 +00:00
|
|
|
|
|
|
|
* Install jar with sources to the maven repository
|
|
|
|
mvn source:jar install -Dmaven.test.skip=true
|
2014-05-20 16:16:07 +00:00
|
|
|
-->
|
|
|
|
|
2014-06-30 18:22:39 +00:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>Roman Mandeleil</name>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>Nick Savers</name>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/ethereum/ethereumj.git</connection>
|
|
|
|
<developerConnection>scm:git:git://github.com/ethereum/ethereumj.git</developerConnection>
|
|
|
|
<url>https://github.com/ethereum/ethereumj</url>
|
|
|
|
</scm>
|
|
|
|
|
2014-05-04 21:26:06 +00:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- Third-party dependencies -->
|
|
|
|
<junit.version>4.11</junit.version>
|
|
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
|
|
<leveldb.version>0.7</leveldb.version>
|
2014-07-30 20:39:05 +00:00
|
|
|
<spongycastle.version>1.51.0.0</spongycastle.version>
|
2014-05-04 21:26:06 +00:00
|
|
|
<generated.sourceDirectory>gen</generated.sourceDirectory>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2014-05-04 23:07:44 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>4.0.17.Final</version>
|
|
|
|
</dependency>
|
2014-05-04 21:26:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
2014-05-04 23:07:44 +00:00
|
|
|
</dependency>
|
2014-05-04 21:26:06 +00:00
|
|
|
<!-- Spongy Castle for SHA3 and SECP256K1 -->
|
|
|
|
<dependency>
|
2014-05-04 23:07:44 +00:00
|
|
|
<groupId>com.madgag.spongycastle</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
<version>${spongycastle.version}</version>
|
2014-05-04 21:26:06 +00:00
|
|
|
</dependency>
|
2014-05-05 02:10:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.iq80.leveldb</groupId>
|
|
|
|
<artifactId>leveldb</artifactId>
|
|
|
|
<version>${leveldb.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Added Cedarsoft for DeepEqual function -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.cedarsoftware</groupId>
|
|
|
|
<artifactId>java-util</artifactId>
|
|
|
|
<version>1.8.0</version>
|
|
|
|
</dependency>
|
2014-05-04 23:07:44 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fifesoft</groupId>
|
|
|
|
<artifactId>rsyntaxtextarea</artifactId>
|
|
|
|
<version>2.5.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.maxmind.geoip2</groupId>
|
|
|
|
<artifactId>geoip2</artifactId>
|
|
|
|
<version>0.6.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.maxmind.geoip</groupId>
|
|
|
|
<artifactId>geoip-api</artifactId>
|
|
|
|
<version>1.2.11</version>
|
|
|
|
</dependency>
|
2014-05-13 19:00:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
2014-06-26 19:32:04 +00:00
|
|
|
<version>4.3</version>
|
2014-05-13 19:00:08 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
2014-06-26 19:32:04 +00:00
|
|
|
<version>4.3</version>
|
2014-05-13 19:00:08 +00:00
|
|
|
</dependency>
|
2014-05-27 07:17:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>3.15.0-GA</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-05-22 17:26:01 +00:00
|
|
|
<!-- remove the real commons-logging from classpath -->
|
|
|
|
<!-- declare as provided or exclude from spring jars -->
|
|
|
|
<dependency>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- add slf4j interfaces to classpath -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2014-05-22 23:16:20 +00:00
|
|
|
<version>${slf4j.version}</version>
|
2014-05-22 17:26:01 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2014-05-13 19:00:08 +00:00
|
|
|
|
2014-05-22 17:26:01 +00:00
|
|
|
<!-- add commons logging to slf4j bridge to classpath -->
|
|
|
|
<!-- acts as jcl but routes commons-logging calls to slf4j -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
2014-05-22 23:16:20 +00:00
|
|
|
<version>${slf4j.version}</version>
|
2014-05-22 17:26:01 +00:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- add log4j binding to classpath -->
|
|
|
|
<!-- routes slf4j calls to log4j -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2014-05-22 23:16:20 +00:00
|
|
|
<version>${slf4j.version}</version>
|
2014-05-22 17:26:01 +00:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- add log4j to classpath -->
|
|
|
|
<!-- does the logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.17</version>
|
|
|
|
</dependency>
|
2014-06-17 15:31:01 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>apache-log4j-extras</artifactId>
|
|
|
|
<version>1.2.17</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-05-13 19:00:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.yuvalshavit</groupId>
|
|
|
|
<artifactId>antlr-denter</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-06-26 12:31:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
|
|
<artifactId>json-simple</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-05-13 19:00:08 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2014-05-02 13:28:53 +00:00
|
|
|
<build>
|
2014-06-26 20:01:21 +00:00
|
|
|
|
2014-06-26 20:21:07 +00:00
|
|
|
<!--<resources>-->
|
|
|
|
<!--<resource>-->
|
|
|
|
<!--<directory>src/main/antlr4</directory>-->
|
|
|
|
<!--</resource>-->
|
|
|
|
<!--</resources>-->
|
2014-06-26 20:01:21 +00:00
|
|
|
|
2014-05-04 23:07:44 +00:00
|
|
|
<plugins>
|
2014-07-27 12:58:00 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2014-05-04 23:07:44 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-05-20 16:16:07 +00:00
|
|
|
|
|
|
|
<plugin>
|
2014-05-27 07:17:11 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.8</version>
|
2014-05-22 13:56:30 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-05-27 07:17:11 +00:00
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>package</phase>
|
2014-05-22 13:56:30 +00:00
|
|
|
<goals>
|
2014-05-27 07:17:11 +00:00
|
|
|
<goal>copy-dependencies</goal>
|
2014-05-22 13:56:30 +00:00
|
|
|
</goals>
|
2014-05-27 07:17:11 +00:00
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/dependency</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
2014-05-22 13:56:30 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2014-05-28 12:39:22 +00:00
|
|
|
<version>2.4</version>
|
2014-05-22 13:56:30 +00:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
<mainClass>org.ethereum.gui.ToolBar</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2014-05-20 16:16:07 +00:00
|
|
|
</plugin>
|
2014-06-26 19:32:04 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>4.3</version>
|
|
|
|
<configuration>
|
|
|
|
<listener>true</listener>
|
|
|
|
<visitor>true</visitor>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>antlr</id>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-06-30 18:22:39 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
|
|
<version>2.2.0</version>
|
|
|
|
</plugin>
|
2014-06-30 21:39:11 +00:00
|
|
|
<plugin>
|
2014-07-02 11:13:20 +00:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.7.1.201405082137</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-06-30 21:39:11 +00:00
|
|
|
<configuration>
|
2014-07-02 11:13:20 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>org/ethereum/gui/**/*.class</exclude>
|
|
|
|
<exclude>org/ethereum/**/*Test.class</exclude>
|
|
|
|
</excludes>
|
2014-06-30 21:39:11 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-05-27 07:17:11 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<property name="maven.project.artifactId" value="${project.artifactId}"/>
|
|
|
|
<property name="maven.project.version" value="${project.version}"/>
|
|
|
|
<ant antfile="build-post-package.xml" target="run"/>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-05-04 23:07:44 +00:00
|
|
|
</plugins>
|
2014-06-22 15:15:50 +00:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
2014-06-26 19:32:04 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<versionRange>[2.0,)</versionRange>
|
2014-06-22 15:15:50 +00:00
|
|
|
<goals>
|
2014-06-23 07:56:05 +00:00
|
|
|
<goal>copy-dependencies</goal>
|
2014-06-22 15:15:50 +00:00
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-07-02 11:13:20 +00:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<versionRange>[0.7.1.201405082137,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-06-22 15:15:50 +00:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2014-05-02 13:28:53 +00:00
|
|
|
</build>
|
2014-06-22 15:15:50 +00:00
|
|
|
|
2014-05-22 13:56:30 +00:00
|
|
|
</project>
|