/
pom.xml
80 lines (78 loc) · 3.34 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>com.simpligility.android.sdk-deployer</groupId>
<artifactId>gcm-client</artifactId>
<packaging>pom</packaging>
<name>Android Google Cloud Messaging Client Library Extra</name>
<parent>
<groupId>com.simpligility.android.sdk-deployer</groupId>
<artifactId>android-gcm</artifactId>
<version>2.7.0</version>
</parent>
<properties>
<jar.path>${sdk.extras.gcm.path}/gcm-client/dist/gcm.jar</jar.path>
<extras.gcm-client.artifactId>gcm-client</extras.gcm-client.artifactId>
<jar.version>${Pkg.Revision}</jar.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${sdk.extras.gcm.path}/source.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>${extras.gcm.groupid}</groupId>
<artifactId>${extras.gcm-client.artifactId}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${jar.path}</file>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>a</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<groupId>${extras.gcm.groupid}</groupId>
<artifactId>${extras.gcm-client.artifactId}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${jar.path}</file>
<url>${repo.url}</url>
<repositoryId>${repo.id}</repositoryId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>