blob: d81a16a20a1be49f37aad9775799520692611288 [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>
Yuta HIGUCHI3e8830d2014-01-09 14:42:52 -080031 <relocations>
32 <relocation>
33 <pattern>com.esotericsoftware.kryo</pattern>
34 <shadedPattern>com.esotericsoftware.kryo2</shadedPattern>
35 <excludes>
36 <exclude>com.esotericsoftware.kryo2*</exclude>
37 </excludes>
38 </relocation>
39 </relocations>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070040 </configuration>
41 <executions>
42 <execution>
43 <phase>package</phase>
44 <goals>
45 <goal>shade</goal>
46 </goals>
47 </execution>
48 </executions>
49 </plugin>
50 <plugin>
51 <groupId>org.codehaus.mojo</groupId>
52 <artifactId>exec-maven-plugin</artifactId>
53 <version>1.2.1</version>
54 <executions>
55 <execution>
56 <id>kryo2</id>
57 <goals>
58 <goal>exec</goal>
59 </goals>
60 </execution>
61 </executions>
62 <configuration>
63 <executable>mvn</executable>
64 <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>
65 </configuration>
66 </plugin>
67 </plugins>
68 </build>
69</project>