mirror of
https://github.com/correl/mage.git
synced 2024-11-26 19:19:54 +00:00
124 lines
4.1 KiB
XML
124 lines
4.1 KiB
XML
<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>
|
|
<version>1.4.34</version>
|
|
</parent>
|
|
|
|
<artifactId>mage</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Mage Framework</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.197</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.j256.ormlite</groupId>
|
|
<artifactId>ormlite-jdbc</artifactId>
|
|
<version>5.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>3.7.0-rc1</version>
|
|
</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>
|
|
|
|
|
|
<plugin>
|
|
<groupId>com.github.os72</groupId>
|
|
<artifactId>protoc-jar-maven-plugin</artifactId>
|
|
<version>3.6.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<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>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- add generated proto buffer classes into the package -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.12</version>
|
|
<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>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<finalName>mage</finalName>
|
|
|
|
|
|
</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>
|