blob: da0ee205f77b2754b1f33dfbda993466d7b9f5a9 [file] [log] [blame]
Tim Emiolad0eb1f92015-01-25 09:54:31 -08001<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 <parent>
6 <groupId>com.google.net.stubby</groupId>
7 <artifactId>stubby-parent</artifactId>
8 <version>0.1.0-SNAPSHOT</version>
9 </parent>
10
11 <artifactId>grpc-hello-world</artifactId>
12 <packaging>jar</packaging>
13
14 <name>Hello gRPC World</name>
15
16 <dependencies>
17 <dependency>
18 <groupId>${project.groupId}</groupId>
19 <artifactId>stubby-core</artifactId>
20 <version>${project.version}</version>
21 </dependency>
22 <dependency>
23 <groupId>${project.groupId}</groupId>
24 <artifactId>stubby-netty</artifactId>
25 <version>${project.version}</version>
26 </dependency>
27 <dependency>
28 <groupId>${project.groupId}</groupId>
29 <artifactId>stubby-okhttp</artifactId>
30 <version>${project.version}</version>
31 </dependency>
32 <dependency>
33 <groupId>${project.groupId}</groupId>
34 <artifactId>stubby-stub</artifactId>
35 <version>${project.version}</version>
36 </dependency>
37 <dependency>
38 <groupId>${project.groupId}</groupId>
39 <artifactId>stubby-testing</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42 <dependency>
43 <groupId>junit</groupId>
44 <artifactId>junit</artifactId>
45 <scope>compile</scope>
46 </dependency>
47 <dependency>
48 <groupId>org.mockito</groupId>
49 <artifactId>mockito-core</artifactId>
50 <scope>compile</scope>
51 </dependency>
52 </dependencies>
53
54 <build>
55 <plugins>
56
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-assembly-plugin</artifactId>
60 <executions>
61 <execution>
62 <id>assemble-all</id>
63 <phase>package</phase>
64 <goals>
65 <goal>single</goal>
66 </goals>
67 </execution>
68 </executions>
69 <configuration>
70 <descriptorRefs>
71 <descriptorRef>jar-with-dependencies</descriptorRef>
72 </descriptorRefs>
73 </configuration>
74 </plugin>
75
76 <plugin>
77 <groupId>com.internetitem</groupId>
78 <artifactId>write-properties-file-maven-plugin</artifactId>
79 <executions>
80 <execution>
81 <id>bootclasspath</id>
82 <phase>prepare-package</phase>
83 <goals>
84 <goal>write-properties-file</goal>
85 </goals>
86 <configuration>
87 <filename>bootclasspath.properties</filename>
88 <outputDirectory>${project.build.directory}</outputDirectory>
89 <properties>
90 <property>
91 <name>bootclasspath</name>
92 <value>${argLine.bootcp}</value>
93 </property>
94 <property>
95 <name>jar</name>
96 <value>${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar</value>
97 </property>
98 </properties>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
103 </plugins>
104 </build>
105</project>