blob: 788f952e25f9f30310f03cf33164facfa145c309 [file] [log] [blame]
Yuta HIGUCHI5548a492013-10-24 00:39:23 -07001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>net.onrc.onos</groupId>
6 <artifactId>kryo2</artifactId>
7 <version>2.22</version>
8 <packaging>jar</packaging>
9
Pavlin Radoslavovca3fcd92013-11-26 18:25:16 -080010 <name>kryo2</name>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070011 <url>http://maven.apache.org</url>
12
13 <properties>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 </properties>
16
17 <dependencies>
18 <dependency>
19 <groupId>com.esotericsoftware.kryo</groupId>
20 <artifactId>kryo</artifactId>
21 <version>${project.version}</version>
22 </dependency>
23 </dependencies>
24 <build>
25 <plugins>
26 <plugin>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-shade-plugin</artifactId>
29 <version>2.1</version>
30 <configuration>
31 <relocations>
32 <relocation>
33 <pattern>com.esotericsoftware.kryo</pattern>
34 <shadedPattern>com.esotericsoftware.kryo2</shadedPattern>
35 <excludes>
36 </excludes>
37 </relocation>
38 </relocations>
39 </configuration>
40 <executions>
41 <execution>
42 <phase>package</phase>
43 <goals>
44 <goal>shade</goal>
45 </goals>
46 </execution>
47 </executions>
48 </plugin>
49 <plugin>
50 <groupId>org.codehaus.mojo</groupId>
51 <artifactId>exec-maven-plugin</artifactId>
52 <version>1.2.1</version>
53 <executions>
54 <execution>
55 <id>kryo2</id>
56 <goals>
57 <goal>exec</goal>
58 </goals>
59 </execution>
60 </executions>
61 <configuration>
62 <executable>mvn</executable>
63 <commandlineArgs>install:install-file -DlocalRepositoryPath=${basedir}/../repo -DcreateChecksum=true -Dpackaging=jar -Dfile=${basedir}/target/${project.build.finalName}.jar -DgroupId=${project.groupId} -DartifactId=${project.artifactId} -Dversion=${project.version}</commandlineArgs>
64 </configuration>
65 </plugin>
66 </plugins>
67 </build>
68</project>