2017-07-08 14:33:09 +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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.mage</groupId>
|
|
|
|
<artifactId>mage-root</artifactId>
|
2020-08-22 21:52:55 +00:00
|
|
|
<version>1.4.45</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>mage</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Mage Framework</name>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-04-29 12:14:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
|
|
<artifactId>json-simple</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
</dependency>
|
2017-07-08 14:33:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-08-17 20:44:44 +00:00
|
|
|
<!-- WARNING, do not update db engine (stable: 1.4.197) cause compatibility issues, see https://github.com/h2database/h2database/issues/2078 -->
|
2017-07-08 14:33:09 +00:00
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2020-08-17 20:44:44 +00:00
|
|
|
<version>1.4.197</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2019-03-18 14:48:35 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
2017-07-08 14:33:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.j256.ormlite</groupId>
|
|
|
|
<artifactId>ormlite-jdbc</artifactId>
|
2019-02-17 12:12:57 +00:00
|
|
|
<version>5.1</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2020-07-27 06:44:07 +00:00
|
|
|
<version>4.0.0-rc-2</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2018-10-25 10:48:33 +00:00
|
|
|
|
2017-07-08 14:33:09 +00:00
|
|
|
<plugin>
|
2018-10-25 10:48:33 +00:00
|
|
|
<groupId>com.github.os72</groupId>
|
|
|
|
<artifactId>protoc-jar-maven-plugin</artifactId>
|
2020-08-24 06:35:01 +00:00
|
|
|
<version>3.11.4</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-10-25 10:48:33 +00:00
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<protocArtifact>com.google.protobuf:protoc:3.0.0</protocArtifact>
|
|
|
|
<inputDirectories>
|
|
|
|
<include>${project.basedir}/src/main/proto</include>
|
|
|
|
</inputDirectories>
|
|
|
|
<outputTargets>
|
|
|
|
<outputTarget>
|
|
|
|
<type>java</type>
|
|
|
|
<addSources>none</addSources>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
|
|
|
|
</outputTarget>
|
|
|
|
</outputTargets>
|
|
|
|
</configuration>
|
2017-07-08 14:33:09 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- add generated proto buffer classes into the package -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2020-07-07 08:55:33 +00:00
|
|
|
<version>3.2.0</version>
|
2017-07-08 14:33:09 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-classes</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${protobuf.output.directory}</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2018-10-25 10:48:33 +00:00
|
|
|
</plugin>
|
2017-07-08 14:33:09 +00:00
|
|
|
</plugins>
|
|
|
|
|
|
|
|
<finalName>mage</finalName>
|
|
|
|
|
2018-10-25 10:48:33 +00:00
|
|
|
|
2017-07-08 14:33:09 +00:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<!-- The properties below are added added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
|
|
|
<properties>
|
|
|
|
<!-- protobuf paths -->
|
|
|
|
<protobuf.input.directory>${project.basedir}/src/main/proto</protobuf.input.directory>
|
|
|
|
<protobuf.output.directory>${project.build.directory}/generated-sources</protobuf.output.directory>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|